@fvilers/is-prod
v2.0.0
Published
An helper method that returns true if the process use the production environment
Maintainers
Readme
@fvilers/is-prod
An helper method that returns true if the process use the production environment
Installation
npm install @fvilers/is-prodor
yarn add @fvilers/is-prodECMAScript module
Starting with version 2.0.0, this library will be published as an ECMAScript module.
Usage
import isProd from "@fvilers/is-prod";
console.log(isProd());It will output (if the NODE environment variable is set to production):
true