{"name":"is-builtin-module","version":"3.2.0","description":"Check if a string matches the name of a Node.js builtin module","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/is-builtin-module.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"engines":{"node":">=6"},"scripts":{"test":"xo && ava && tsd"},"keywords":["builtin","built-in","builtins","node","modules","core","bundled","list","array","names","is","detect","check","match"],"dependencies":{"builtin-modules":"^3.3.0"},"devDependencies":{"ava":"^0.25.0","tsd":"^0.7.2","xo":"^0.23.0"},"types":"./index.d.ts","gitHead":"805fb76368abd1c5bb9f9e2c8972f99660bdafb4","bugs":{"url":"https://github.com/sindresorhus/is-builtin-module/issues"},"homepage":"https://github.com/sindresorhus/is-builtin-module#readme","_id":"is-builtin-module@3.2.0","_nodeVersion":"14.19.3","_npmVersion":"8.3.2","dist":{"integrity":"sha512-phDA4oSGt7vl1n5tJvTWooWWAsXLY+2xCnxNqvKhGEzujg+A43wPlPOyDg3C8XQHN+6k/JTQWJ/j0dQh/qr+Hw==","shasum":"bb0310dfe881f144ca83f30100ceb10cf58835e0","tarball":"http://registry-npm.ywwl.com/is-builtin-module/download/is-builtin-module-3.2.0.tgz","fileCount":5,"unpackedSize":3835,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEdHCrvyNLiMXAqclNKo+MWuYjgbd11xT7zF4Avh/x7UAiEAoSkhy0Jbnhk8taj7hQTHw73jWsJdMxaF3iMYIarLoBo="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi5mJKACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp3AQ/+PFW4urDBKPSFQhIi79m7qFqsSOuH6yA0s0y4vSkvHGubKt2r\r\nwBnuQpG9N5tjF6OxexEOT/EjwBZVjmd3hQQAxktgrRAbFDD6TaDMNhuglHoE\r\n38nQKC08GAbEZss0hsns6mSOTrmXaULpeiHfJadnKD53NIipDeakktnc+WyP\r\nrhrwbF73RhfWHTaQ7InwENEEq0qeOf8G/nKnWMgG2+3heK+ZfzZPfXPkAHwI\r\nPpLBIZsbkhc3Xqqyp/LihYDyhPhO1DgESoeiQia10zUS19uK6I/G4BzzsYKF\r\nlDXpCbOSCkV7CzZv8Ds2FFAiobIZCXkBkU2Z6Y1m3cHmSnZHOjxTNkmchS2q\r\nkYglN55UyZ6HBoRO4WTh+NcqHIrPWpPDfRBWoegWFNgImfWSxPdvkWKW5Sj3\r\nRA1DXzby6W+/zoG7inPbi1i2hGQSwCdl62KJGm5bnwTcDVep6Ot8L2Asse/D\r\nbrUY0ROCQ2gVdajNhN1SozVJVvl8e0RWAK5j3yKumMYOggxaIbp2suOOn96c\r\nG6cmohJGMGvKq/rFzcrMaSiIMklEhCGwpnfa8ZeFcRRi6CTKNL5b/7Wo6pf8\r\nZ5mo5y6m418TE2lwgS/d3ArW4QaOArVPyGMqmQJXIu+VTDoXo5L5TUTGZF5E\r\n8jMAhGXrcUTuh8LvPntOB6tqBeylR/zkZVA=\r\n=1feH\r\n-----END PGP SIGNATURE-----\r\n","size":1952,"noattachment":false,"key":"/is-builtin-module/-/is-builtin-module-3.2.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-builtin-module_3.2.0_1659265610501_0.33830401136304267"},"_hasShrinkwrap":false,"readme":"# is-builtin-module\n\n> Check if a string matches the name of a Node.js builtin module\n\nNote that this matches based a [static list of modules](https://github.com/sindresorhus/builtin-modules) from the latest Node.js version. If you want to check for a module in the current Node.js, use the core [`isBuiltin`](https://nodejs.org/api/module.html#moduleisbuiltinmodulename) method.\n\n## Install\n\n```sh\nnpm install is-builtin-module\n```\n\n## Usage\n\n```js\nimport isBuiltinModule from 'is-builtin-module';\n\nisBuiltinModule('fs');\n//=> true\n\nisBuiltinModule('fs/promises');\n//=> true\n\nisBuiltinModule('node:fs/promises');\n//=> true\n\nisBuiltinModule('unicorn');\n//=> false\n```\n\n## Related\n\n- [builtin-modules](https://github.com/sindresorhus/builtin-modules) - A static list of the Node.js builtin modules from the latest Node.js version\n","publish_time":1659265610657,"_cnpm_publish_time":1659265610657,"dist-tags":{"latest":"5.0.0"}}