is-core-module
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -1,2 +0,2 @@ | ||
var modules = require('./lib/modules.json'); | ||
var modules = Object.keys(process.binding('natives')); | ||
@@ -3,0 +3,0 @@ module.exports = function(packageName) { |
{ | ||
"name": "is-core-module", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "check if packageName is a core module", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -7,4 +7,5 @@ # is-core-module | ||
module list pulled from [nodejs repo](https://github.com/joyent/node/tree/master/lib) | ||
Look at the source, you probably just want to use that function. | ||
# Usage | ||
@@ -11,0 +12,0 @@ |
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
19
2231
4
4
1