Plugin enabling ASPAX to handle LiveScript files.
npm install aspax-ls-handlerA plugin that enables ASPAX to handle LiveScript files.
npm install aspax-ls-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-ls-handler --save-dev
.ls source files in aspax.yml: app.js:
- lib.js
- script-1.ls|bare
- script-2.ls
- 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);

[npm-image]: https://img.shields.io/npm/v/aspax-ls-handler.svg?style=flat-square
[npm-url]: https://npmjs.org/package/aspax-ls-handler
[david-image]: http://img.shields.io/david/icflorescu/aspax-ls-handler.svg?style=flat-square
[david-url]: https://david-dm.org/icflorescu/aspax-ls-handler
[license-image]: http://img.shields.io/npm/l/aspax-ls-handler.svg?style=flat-square
[license-url]: LICENSE
[downloads-image]: http://img.shields.io/npm/dm/aspax-ls-handler.svg?style=flat-square
[downloads-url]: https://npmjs.org/package/aspax-ls-handler