- Notifications
You must be signed in to change notification settings - Fork1
shjs binary, formerly distributed as part of shelljs
License
shelljs/shjs
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
shjs binary, formerly distributed as part ofShellJS.
npm install -g shelljs-shjs
Note: this package is published asshelljs-shjs, not asshjs.
While this package is not explicitly deprecated, this is in maintenance mode. Ifyou want to execute ShellJS scripts, just use thenode command (or whatever isappropriate for the language of the script, ex.coffee).
This package was removed from ShellJS to reduce that module's dependencies andto shrink overall download size.
You can install withnpm install shelljs-shjs:
$ npm install -g shelljs-shjs
This script is a convenience wrapper for guessing the right interpreter to usefor your script. It also brings your local shelljs install to the front of theNODE_PATH to ensure this is used.
#!/usr/bin/env shjs// Save this demo as 'example_script.js'varshell=require('shelljs');shell.echo('hello world');
Then run the demo script with:
$ shjs example_script.jshello world
About
shjs binary, formerly distributed as part of shelljs
Resources
License
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors8
Uh oh!
There was an error while loading.Please reload this page.