remove node_modules and .gitignore them
This commit is contained in:
-26
@@ -1,26 +0,0 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.is_node = void 0;
|
||||
//================================================================
|
||||
/**
|
||||
* @packageDocumentation
|
||||
* @module std
|
||||
*/
|
||||
//================================================================
|
||||
var is_node_ = null;
|
||||
/**
|
||||
* Test whether the code is running on NodeJS.
|
||||
*
|
||||
* @return Whether NodeJS or not.
|
||||
*/
|
||||
function is_node() {
|
||||
if (is_node_ === null)
|
||||
is_node_ =
|
||||
typeof global === "object" &&
|
||||
typeof global.process === "object" &&
|
||||
typeof global.process.versions === "object" &&
|
||||
typeof global.process.versions.node !== "undefined";
|
||||
return is_node_;
|
||||
}
|
||||
exports.is_node = is_node;
|
||||
//# sourceMappingURL=node.js.map
|
||||
Reference in New Issue
Block a user