node_modules ignore

This commit is contained in:
oier committed 2025-05-08 23:43:47 +02:00
1 parent e19d52f172
commit 4574544c9f
65041 files changed
+10593536

No files matched your search

+2
View File
@@ -0,0 +1,2 @@
module.exports.isNode = false;
+4
View File
@@ -0,0 +1,4 @@
/**
* returns true if the current environment is NodeJS
*/
export declare const isNode: boolean;
+2
View File
@@ -0,0 +1,2 @@
// Only Node.JS has a process variable that is of [[Class]] process
module.exports.isNode = Object.prototype.toString.call(typeof process !== 'undefined' ? process : 0) === '[object process]';