web 3d图形渲染器
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1.2 KiB

  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>