https://github.com/prebuild/npm-script-context
Print environment, runtime, platform & more in npm scripts.
https://github.com/prebuild/npm-script-context
build debugging environment install nodejs npm npm-script prebuild
Last synced: 3 months ago
JSON representation
Print environment, runtime, platform & more in npm scripts.
- Host: GitHub
- URL: https://github.com/prebuild/npm-script-context
- Owner: prebuild
- License: mit
- Created: 2020-10-18T08:53:10.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2020-10-18T12:41:39.000Z (over 4 years ago)
- Last Synced: 2024-04-26T09:02:55.569Z (about 1 year ago)
- Topics: build, debugging, environment, install, nodejs, npm, npm-script, prebuild
- Language: JavaScript
- Homepage:
- Size: 11.7 KB
- Stars: 1
- Watchers: 15
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# npm-script-context
**Print environment, runtime, platform & more in npm scripts.**
[](https://www.npmjs.org/package/npm-script-context)
[](https://www.npmjs.org/package/npm-script-context)
[](https://travis-ci.com/prebuild/npm-script-context)
[](https://standardjs.com)## Usage
```
npm install npm-script-context
npm-script-context
```Installing will also print info. For an example of the output, see [our CI](https://travis-ci.com/prebuild/npm-script-context). Note that the output depends on how and where it's run, for example whether it's installed as an npm dependency, git dependency or standalone.
## License
[MIT](LICENSE)