Installation
Last updated
Last updated
jstr
is available through its , which can be downloaded either globally (then available to call from anywhere, like any other command from your terminal) or as a dependency in your Node project:
This will make the command available from anywhere in your CLI:
To install jstr
for a single project/package as a dependency, just use:
Skip the -D
flag if you plan to use jstr
's Node.js API in production.
This will make the tool available only to that specific Node project, particularly useful if you want to specify jstr
's version and/or just not have it installed for your entire machine.
jstr
is also exposed using as a runtime, you can check it out with: