npm.io
3.0.13 • Published 9 years agoCLI

@sweet-js/cli

Licence
BSD-2-Clause
Version
3.0.13
Deps
3
Vulns
0
Weekly
0
Stars
20

sweet-cli

This is the command line package for sweet.js.

For more information about Sweet in general and to read the documentation, see the website.

Getting started

Install @sweet-js/cli via npm:

$ npm install -g @sweet-js/cli

Write your sweet code:

syntax hi = function (ctx) {
  return #`console.log('hello, world!')`;
}
hi

And compile:

$ sjs my_sweet_code.js
console.log('hello, world!')

Keywords