aspax-iced-handler

1.0.5 • Public • Published

What's this?

NPM version Dependency Status License Downloads

A plugin that enables ASPAX to handle IcedCoffeeScript files.

Installation

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

npm install aspax-iced-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-iced-handler --save-dev

Usage

Simply add .iced source files in aspax.yml:

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

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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.53latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.53
1.0.40
1.0.30
1.0.20
1.0.10
0.8.40
0.8.30
0.8.20
0.8.10
0.8.00
0.7.90
0.7.80
0.7.70
0.7.60
0.7.50
0.7.40
0.7.30
0.7.20
0.7.10
0.7.00
0.6.90
0.6.80
0.6.70
0.6.60
0.6.50
0.6.40
0.6.30
0.6.20
0.6.10
0.6.00

Package Sidebar

Install

npm i aspax-iced-handler

Weekly Downloads

3

Version

1.0.5

License

MIT

Last publish

Collaborators

  • icflorescu