Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

shjs binary, formerly distributed as part of shelljs

License

NotificationsYou must be signed in to change notification settings

shelljs/shjs

Repository files navigation

GitHub ActionsCodecovnpm version

shjs binary, formerly distributed as part ofShellJS.

npm install -g shelljs-shjs

Note: this package is published asshelljs-shjs, not asshjs.

Maintenance mode

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.

Usage

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

Stars

Watchers

Forks

Packages

No packages published

Contributors8


[8]ページ先頭

©2009-2025 Movatter.jp