版博士V2.0程序
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

1 год назад
1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # builtin-modules
  2. > List of the Node.js builtin modules
  3. The list is just a [JSON file](builtin-modules.json) and can be used anywhere.
  4. ## Install
  5. ```
  6. $ npm install builtin-modules
  7. ```
  8. ## Usage
  9. ```js
  10. const builtinModules = require('builtin-modules');
  11. console.log(builtinModules);
  12. //=> ['assert', 'buffer', ...]
  13. ```
  14. ## API
  15. Returns an array of builtin modules fetched from the running Node.js version.
  16. ### Static list
  17. This module also comes bundled with a static array of builtin modules generated from the latest Node.js version. You can get it with `require('builtin-modules/static');`
  18. ## Related
  19. - [is-builtin-module](https://github.com/sindresorhus/is-builtin-module) - Check if a string matches the name of a Node.js builtin module
  20. ---
  21. <div align="center">
  22. <b>
  23. <a href="https://tidelift.com/subscription/pkg/npm-builtin-modules?utm_source=npm-builtin-modules&utm_medium=referral&utm_campaign=readme">Get professional support for this package with a Tidelift subscription</a>
  24. </b>
  25. <br>
  26. <sub>
  27. Tidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.
  28. </sub>
  29. </div>