christian 4571a14169 android fix | 4 gadus atpakaļ | |
---|---|---|
.. | ||
.github | 4 gadus atpakaļ | |
test | 4 gadus atpakaļ | |
.eslintignore | 4 gadus atpakaļ | |
.eslintrc | 4 gadus atpakaļ | |
.nycrc | 4 gadus atpakaļ | |
CHANGELOG.md | 4 gadus atpakaļ | |
LICENSE | 4 gadus atpakaļ | |
README.md | 4 gadus atpakaļ | |
core.json | 4 gadus atpakaļ | |
index.js | 4 gadus atpakaļ | |
package.json | 4 gadus atpakaļ |
Is this specifier a node.js core module? Optionally provide a node version to check; defaults to the current node version.
var isCore = require('is-core-module');
var assert = require('assert');
assert(isCore('fs'));
assert(!isCore('butts'));
Clone the repo, npm install
, and run npm test