Roughing out the demo app
This commit is contained in:
9
node_modules/is-npm/index.js
generated
vendored
Normal file
9
node_modules/is-npm/index.js
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
'use strict';
|
||||
|
||||
const isNpm =
|
||||
'npm_config_username' in process.env ||
|
||||
'npm_package_name' in process.env ||
|
||||
'npm_config_heading' in process.env;
|
||||
|
||||
// TODO: This named export should be replaced by a default export as soon as we move to ES modules
|
||||
exports.isNpm = isNpm;
|
||||
Reference in New Issue
Block a user