Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 days 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 (about 4 years ago)
- Default Branch: main
- Last Pushed: 2020-10-18T12:41:39.000Z (about 4 years ago)
- Last Synced: 2024-04-26T09:02:55.569Z (7 months 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.**
[![npm status](http://img.shields.io/npm/v/npm-script-context.svg)](https://www.npmjs.org/package/npm-script-context)
[![node](https://img.shields.io/node/v/npm-script-context.svg)](https://www.npmjs.org/package/npm-script-context)
[![Travis](https://img.shields.io/travis/com/prebuild/npm-script-context.svg)](https://travis-ci.com/prebuild/npm-script-context)
[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](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)