1.1.0-stable02 • Published 5 months ago

shortscript-cli v1.1.0-stable02

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

ShortScript - A shorter version of JS

ShortScript is a shorter version of JavaScript, it is wriiten a file that has a ".sst" extension which can be imported in a Node.js file/program.

Features

  • Importable in a node.js file/program
  • Covertable to js
  • Compilable to a ShortScript program file, which can be run using the CLI

Requirements

  • Node v10.12.0 or later

Install

  • Module
$ npm i shortscript-main
# output is shown here
  • CLI
$ npm i shortscript-cli
# global: npm i shortscript-cli -g

Usage (CLI Global)

Usage: sst | shortscript [options] [command]

CLI Tool for shortscript

Options:
  -V, --version                            output the version number
  -h, --help                               display help for command

Commands:
  run|r <file> <file>                      Runs .sst file
  init [options] [options]                 Initialise a shortscript project
  run-program|rpm [options] [file] [file]  Runs a compiled sst project (.sstz, .stz)
  compile|cp [options]                     Complies shortscript project
  help [command]                           display help for command

Note: You can add npx before the cli if it is installed in the project.

Language Keywords

The JavaScript keywords that were shortened can be fiund in this Link. Any JS keywords that does not appear in the link means that they have no short form and they should be written fully.

1.1.0-stable02

5 months ago

1.1.0-stable01

5 months ago

1.1.1

5 months ago

1.1.0

5 months ago

1.0.0-stable04

5 months ago

1.0.0-stable03

5 months ago

1.0.0-stable02

5 months ago

1.0.0-stable01

5 months ago

1.0.0-stable1

5 months ago