About:

Miniscript is a minimal dialect of Javascript. It is influenced by the simplicity of Python and Ruby, and inherits some good parts of other popular languages. Redundant semicolons, parentheses and brackets are removed, repeating patterns have been reduced and statements have been "mini"mized.


Install:

You can install the miniscript compiler using the following command:

$ npm install -g miniscript

Then you got mini as the main command from your console

$ mini    //Launches interactive console
$ mini -r //Runs specified script
$ mini -c //Compiles given script
$ mini -d //Compiles a folder recursively

If file extensions are omitted, they are assumed to be ".mini" and ".js" where applicable.
On the last two commands you can specify the output using "-o" switch.


Documentation: