source: trip-planner-front/node_modules/is-core-module/README.md@ 76712b2

Last change on this file since 76712b2 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 1.6 KB
Line 
1# is-core-module <sup>[![Version Badge][2]][1]</sup>
2
3[![github actions][actions-image]][actions-url]
4[![coverage][codecov-image]][codecov-url]
5[![dependency status][5]][6]
6[![dev dependency status][7]][8]
7[![License][license-image]][license-url]
8[![Downloads][downloads-image]][downloads-url]
9
10[![npm badge][11]][1]
11
12Is this specifier a node.js core module? Optionally provide a node version to check; defaults to the current node version.
13
14## Example
15
16```js
17var isCore = require('is-core-module');
18var assert = require('assert');
19assert(isCore('fs'));
20assert(!isCore('butts'));
21```
22
23## Tests
24Clone the repo, `npm install`, and run `npm test`
25
26[1]: https://npmjs.org/package/is-core-module
27[2]: https://versionbadg.es/inspect-js/is-core-module.svg
28[5]: https://david-dm.org/inspect-js/is-core-module.svg
29[6]: https://david-dm.org/inspect-js/is-core-module
30[7]: https://david-dm.org/inspect-js/is-core-module/dev-status.svg
31[8]: https://david-dm.org/inspect-js/is-core-module#info=devDependencies
32[11]: https://nodei.co/npm/is-core-module.png?downloads=true&stars=true
33[license-image]: https://img.shields.io/npm/l/is-core-module.svg
34[license-url]: LICENSE
35[downloads-image]: https://img.shields.io/npm/dm/is-core-module.svg
36[downloads-url]: https://npm-stat.com/charts.html?package=is-core-module
37[codecov-image]: https://codecov.io/gh/inspect-js/is-core-module/branch/main/graphs/badge.svg
38[codecov-url]: https://app.codecov.io/gh/inspect-js/is-core-module/
39[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/inspect-js/is-core-module
40[actions-url]: https://github.com/inspect-js/is-core-module/actions
Note: See TracBrowser for help on using the repository browser.