Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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)