@therealowenj/jjsw
v1.1.0
Published
A JavaScript wrapper providing enhanced utilities for easier scripting and CLI usage.
Maintainers
Readme
J JavaScript Wrapper (JJSW)
JJSW is a JavaScript Wrapper designed to add quality-of-life enhancements to JavaScript. It uses the .jjs file extension.
NOTE: These enhancements are made for me, not you. Don't go and whine about this.
Features
Simplified syntax mapped to JavaScript keywords: | JJSW Keyword | JavaScript Equivalent | |-------------|----------------------| | func | function | | nch | const | | cha | let | | cout | console.log | | cin | prompt | | give | return | | check | switch | | elif | else if | | is | case | | standart | default | | end | break | | resume | continue | | keys | Object.keys | | values | Object.values | | forever | while (true) |
Utility functions included when running scripts:
randomRange(min, max)→ random integer in[min, max]wait(seconds)→ blocks for the specified number of seconds
Installation
npm install -g jjswUsage
Running:
jjsw run script.jjsCompiling:
jjsw process script.jjs