only-changed-jest-watch-plugin
Version:
Jest watch plugin for running either only the modified test (for TDD), or tests of dependant modules
34 lines (18 loc) • 625 B
Markdown
> Check if a string matches the name of a Node.js builtin module
```
$ npm install --save is-builtin-module
```
```js
var isBuiltinModule = require('is-builtin-module');
isBuiltinModule('fs');
//=> true
isBuiltinModule('unicorn');
//=> false :(
```
- [builtin-modules](https://github.com/sindresorhus/builtin-modules) - List of the Node.js builtin modules
MIT © [Sindre Sorhus](http://sindresorhus.com)