add modules

This commit is contained in:
OpportunityLiu
2020-03-20 20:40:54 +08:00
Unverified
parent 81726402f6
commit 755d0b485b
79 changed files with 6101 additions and 4 deletions
+9
View File
@@ -0,0 +1,9 @@
const debug = (
typeof process === 'object' &&
process.env &&
process.env.NODE_DEBUG &&
/\bsemver\b/i.test(process.env.NODE_DEBUG)
) ? (...args) => console.error('SEMVER', ...args)
: () => {}
module.exports = debug