Skip to content
/ nodescript Public

NodeScript - JavaScript without the Variable Declarations and Semicolons

License

Notifications You must be signed in to change notification settings

gdg/nodescript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NodeScript - JavaScript without the Variable Declarations and Semicolons

NodeScript

Installation

$ npm install -g nodescript

Usage

$ nodescript [options] [script.ns] [arguments]

Options

-e, --eval          evaluate string
-p, --print         print compiled file
-o, --output        compile input file/directory into output file/directory
-w, --watch         watch file/directory for changes

-h, --help          print help message
-V, --version       print version number

Examples

# Open REPL (WIP)
$ nodescript

# Execute script.ns (WIP)
$ nodescript script.ns

# Print compiled script.ns (WIP)
$ nodescript --print script.ns

# Compile script.ns to script.js and watch for changes
$ nodescript --watch script.ns --output script.js

# Compile src directory to lib directory and watch for changes
$ nodescript --watch src --output lib

Supported Operating Systems

  • Linux
  • macOS
  • Windows (WIP)

About

NodeScript - JavaScript without the Variable Declarations and Semicolons

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published