aspax-coffee-handler
Plugin enabling ASPAX to handle CoffeeScript files.
Last updated 5 years ago by icflorescu .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install aspax-coffee-handler 
SYNC missed versions from official npm registry.

What's this?

NPM version Dependency Status License Downloads

A plugin that enables ASPAX to handle CoffeeScript files.

Installation

Type this in the folder where you're running ASPAX:

npm install aspax-coffee-handler

If you're running ASPAX in a Node.js application root folder, consider using the --save-dev option to avoid deploying this plugin to your production environment:

npm install aspax-coffee-handler --save-dev

Usage

Simply add .coffee source files in aspax.yml:

app.js:
  - lib.js
  - script-1.coffee|bare
  - script-2.coffee

Available flags

  • bare: compile without the top-level function safety wrapper - see more here.

    Basically, this:

      $ -> console.log 'hi!'
    

    ...compiles to this with the bare flag:

      $(function() {
        return console.log("hi!");
      });
    

    ...and to this without the flag:

      (function() {
        $(function() {
          return console.log("hi!");
        });
      }).call(this);
    

Endorsing the author

If you find this piece of software useful, please tweet about ASPAX and endorse me on LinkedIn:

Ionut-Cristian Florescu on LinkedIn

Current Tags

  • 1.0.3                                ...           latest (5 years ago)

25 Versions

  • 1.0.3                                ...           5 years ago
  • 1.0.2                                ...           5 years ago
  • 1.0.1                                ...           5 years ago
  • 0.8.1                                ...           5 years ago
  • 0.8.0                                ...           5 years ago
  • 0.7.9                                ...           5 years ago
  • 0.7.8                                ...           5 years ago
  • 0.7.7                                ...           6 years ago
  • 0.7.6                                ...           6 years ago
  • 0.7.5                                ...           6 years ago
  • 0.7.4                                ...           6 years ago
  • 0.7.3                                ...           6 years ago
  • 0.7.2                                ...           6 years ago
  • 0.7.1                                ...           6 years ago
  • 0.7.0                                ...           6 years ago
  • 0.6.9                                ...           6 years ago
  • 0.6.8                                ...           6 years ago
  • 0.6.7                                ...           6 years ago
  • 0.6.6                                ...           6 years ago
  • 0.6.5                                ...           6 years ago
  • 0.6.4                                ...           6 years ago
  • 0.6.3                                ...           6 years ago
  • 0.6.2                                ...           6 years ago
  • 0.6.1                                ...           6 years ago
  • 0.6.0                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (0)
None

Copyright 2014 - 2016 © taobao.org |