Neurophysiologically Pseudoscientific Manatee

npm

Share private packages across your team with npm Orgs, now with simplified billing via the aws marketplace!Learn more »

ienv

2.0.0 • Public • Published

Installation

$ yarn add ienv

Usage

import env, { isNode, isDev } from 'ienv'

Exports CONSTANTS

env: string

Get process.NODE_ENV default is development

isDev: boolean

process.NODE_ENV === 'development'

isProd: boolean

process.NODE_ENV === 'production'

isBrowser: boolean

Check if in browser

isNode: boolean

Check if in Node

Global

Returns window in browser, global in Node.

install

npm i ienv

Downloadsweekly downloads

78

version

2.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability