{"name":"create-require","version":"0.0.1","description":"Polyfill for Node.js (<= v12.2.0) module.createRequire","repository":{"type":"git","url":"git+https://github.com/nuxt-contrib/create-require.git"},"license":"MIT","contributors":[{"name":"Maël Nison","email":"nison.mael@gmail.com"},{"name":"Paul Soporan","email":"paul.soporan@gmail.com"},{"name":"Pooya Parsa","email":"pyapar@gmail.com"}],"main":"./create-require.js","scripts":{"lint":"eslint .","release":"yarn test && standard-version && git push --follow-tags && npm publish","test":"yarn lint && yarn jest"},"devDependencies":{"@nuxtjs/eslint-config":"latest","eslint":"latest","jest":"latest","standard-version":"latest"},"gitHead":"215c8f5fe314bf292fd79c1a9a1663229da828bd","bugs":{"url":"https://github.com/nuxt-contrib/create-require/issues"},"homepage":"https://github.com/nuxt-contrib/create-require#readme","_id":"create-require@0.0.1","_nodeVersion":"10.20.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-X4lf2eTCdL+jRHYjOE4AvORPD5su+0/u7iw9W/q0olsJ/EmFVLF1oSSlGhc4sv1BIr5tRxvqED5CZroIzABc/w==","shasum":"dff94255aa485f9b78f56d9b7c5a5401a2ea8c8e","tarball":"http://registry-npm.ywwl.com/create-require/download/create-require-0.0.1.tgz","fileCount":6,"unpackedSize":4498,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJesG+WCRA9TVsSAnZWagAAEx8P/36h2egr/SYznNlZitL+\nhbD+Z6nk6+nOYooerigBxZLNZqn7IzxETff2t8Xn8S6Mc3xtrzeKZ8XTvAG7\noVGxgC+5b5Naq0N/rOD26n9DK6PYHUvBdb4cmXttM6Dq6OSFTh+1QxlLJZmQ\nRbDN8pJRhL0io+1DUYy+lsBoXb5zQ8YVKTo6CN7Qz4h2EMg2vseA4wzKLID+\n/mB8dCoNOGFC7zsXPa0//d+zxKQVf6Idrh5+t6472MrLl0HB0ybJZxcWmmWW\n0N+8aQB5zYrb/qEs2ls9imhYJMRzUoKBAl32Sz79nI1hEwzsLIBflplh7tnW\nBYFSLLHqW8YC/WXMpEcOLHnJ9L7w86jK1voBYKr6vPrVMI9uFXDhr1KTmtPy\nFwo86ofKC2H1+QeOdVJgLjs+d6QjsnJgkSsDfovbeC9vyHzCCsWe3Sx2Sfyp\nz6+g2+3DRL5hRqlw9kGBGRy3qb655agclEBmPxkEF12vt8BiuncwRnd7Txbi\n9betYgfODJFHj+7EeKOyV+HsjV+Osz4vlctctmthhqlQNyEsuEl0Y6uA8lgi\nQJWOpL9Ew9PSu0eswK9BrGqy3jexMFi0dpfcdNfMT9ELRvyZx3FcGwvOXUwp\nJoXGTZ7FtVlRtXq/6zZyulSZYmmsvGbFK7Um8K1DzDhDx+qhcbvqupd1FSON\njE/8\r\n=s6VE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFvfLOdknDLiqUuKuABA4pZqKd3fC7UWs3ZnhMvG1If8AiBrSg4LtSSCciwvq5hVhL7ahLTftHEz+ujSW/88x8ApBw=="}],"size":2086,"noattachment":false,"key":"/create-require/-/create-require-0.0.1.tgz"},"maintainers":[{"name":"pi0","email":"pyapar@gmail.com"}],"_npmUser":{"name":"pi0","email":"pyapar@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/create-require_0.0.1_1588621206209_0.5376127168584839"},"_hasShrinkwrap":false,"readme":"# `create-require`\n\n[![npm version][npm-version-src]][npm-version-href]\n[![npm downloads][npm-downloads-src]][npm-downloads-href]\n[![Github Actions][github-actions-src]][github-actions-href]\n[![Codecov][codecov-src]][codecov-href]\n\nPolyfill for Node.js [`module.createRequire`](https://nodejs.org/api/modules.html#modules_module_createrequire_filename) (<= v12.2.0)\n\n## Install\n\n```sh\nyarn add create-require\n\nnpm install create-require\n```\n\n## Usage\n\n```ts\nfunction createRequire (filename: string | URL): NodeRequire;\n```\n\n```js\nconst createRequire = require('create-require')\n\nconst myRequire = createRequire('path/to/test.js')\nconst myModule = myRequire('./test-sibling-module')\n```\n\n## License\n\n[MIT](./LICENSE)\n\n<!-- Badges -->\n[npm-version-src]: https://img.shields.io/npm/v/create-require?style=flat-square\n[npm-version-href]: https://npmjs.com/package/create-require\n\n[npm-downloads-src]: https://img.shields.io/npm/dm/create-require?style=flat-square\n[npm-downloads-href]: https://npmjs.com/package/create-require\n\n[github-actions-src]: https://img.shields.io/github/workflow/status/nuxt-contrib/create-require/test/master?style=flat-square\n[github-actions-href]: https://github.com/nuxt-contrib/create-require/actions?query=workflow%3Atest\n\n[codecov-src]: https://img.shields.io/codecov/c/gh/nuxt-contrib/create-require/master?style=flat-square\n[codecov-href]: https://codecov.io/gh/nuxt-contrib/create-require\n","publish_time":1588621206370,"_cnpm_publish_time":1588621206370,"dist-tags":{"latest":"1.1.1"}}