Socket
Book a DemoInstallSign in
Socket

env-name

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

env-name

Get environment description (node + browser)

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

env-name

Build Status Coverage Status

Get environment description (node + browser).

Installation

$ npm install env-name --save

Usage

const envName = require('env-name');

// in Node.js
envName(); // => 'Node.js v4.2.1 (OS X Mavericks)'

// in browser
envName(); // => 'Google Chrome 42 (OS X)'

Tests

$ npm test
$ npm run test-browser

License

MIT © Vadim Demedes

FAQs

Package last updated on 25 Jan 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts