Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@skazka/env

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@skazka/env - npm Package Compare versions

Comparing version 0.0.0 to 0.0.1

24

lib/index.js

@@ -1,20 +0,20 @@

'use strict';
"use strict";
Object.defineProperty(exports, '__esModule', { value: true });
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.isTest = exports.isDevelopment = exports.isProduction = exports.TEST = exports.DEVELOPMENT = exports.PRODUCTION = exports.env = exports.default = void 0;
var PRODUCTION = 'production';
exports.PRODUCTION = PRODUCTION;
var DEVELOPMENT = 'development';
exports.DEVELOPMENT = DEVELOPMENT;
var TEST = 'test';
exports.TEST = TEST;
var env = process.env.NODE_ENV;
exports.env = exports.default = env;
var isProduction = env === PRODUCTION;
exports.isProduction = isProduction;
var isDevelopment = ![PRODUCTION, TEST].includes(env);
exports.isDevelopment = isDevelopment;
var isTest = env === TEST;
exports.default = env;
exports.env = env;
exports.PRODUCTION = PRODUCTION;
exports.DEVELOPMENT = DEVELOPMENT;
exports.TEST = TEST;
exports.isProduction = isProduction;
exports.isDevelopment = isDevelopment;
exports.isTest = isTest;
exports.isTest = isTest;
{
"name": "@skazka/env",
"version": "0.0.0",
"version": "0.0.1",
"description": "Node.js Environment",
"scripts": {
"build": "cross-env NODE_ENV=production rollup -c",
"clean": "rimraf lib dist es",
"prebuild": "yarn clean"
"build": "cross-env NODE_ENV=production gulp"
},
"main": "lib/index.js",
"unpkg": "dist/index.js",
"module": "es/index.js",
"files": [
"dist",
"lib",
"es"
"lib"
],

@@ -18,0 +12,0 @@ "engines": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc