{"name":"create-require","version":"1.1.1","description":"Polyfill for Node.js module.createRequire (<= v12.2.0)","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","types":"./create-require.d.ts","scripts":{"lint":"eslint .","release":"yarn test && standard-version && git push --follow-tags && npm publish","test:matrix":"tap --no-esm --no-timeout ./test/matrix.js","test":"yarn lint && yarn test:matrix"},"devDependencies":{"@nuxtjs/eslint-config":"latest","eslint":"latest","tap":"latest","standard-version":"latest"},"gitHead":"420682d526a8cbe08df4d2796f4be627d02b1ffd","bugs":{"url":"https://github.com/nuxt-contrib/create-require/issues"},"homepage":"https://github.com/nuxt-contrib/create-require#readme","_id":"create-require@1.1.1","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==","shasum":"c1d7e8f1e5f6cfc9ff65f9cd352d37348756c333","tarball":"http://registry-npm.ywwl.com/create-require/download/create-require-1.1.1.tgz","fileCount":6,"unpackedSize":6254,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfv7CMCRA9TVsSAnZWagAAuZcP/0R+F/6krMF+kIek5gWT\nmeDJf3Jpe13n65tmU1mqTpnOWIWSnHv34vfIH9dhy5jXW+B3VKuyU0m1MqCX\nbD5qxMfnErZQ7fjnS6fOtjbk0bNEM/OUmFn8rwjhB8Ax3EpfPA2DKNVQBt7s\n4gTt5Zh6lmpevS51x81z/s3c/mh8ObkXM/WzbW53EoixaCSJ8gyBYeBUUOIa\nKL3NPFmWNujXI10On1p7RUyoh0tQ2jnIowr/Z2uHxSm5A7wIgPvPSABDf1IO\nwxrKiAVDIByrhy65vRPM3NAOW0yPN0DA09kKTyK4l1jyH1HIkABCNpA+jHfk\ncnFeVfvD36UNUIwfdaD9f23cPqyKqQQ39R2GNAaYq7I9C0FkC499+YTmnBfk\nBxMo2KNR6T55DhnfzS29ueFjlk1FVLRiOwQsXehQs+DLcq9X6yQmPuMu9jLJ\nXKKo2T/TC1UfOzxHC8S/yMppqhHrsI+U+InqfK2/HqVbq3zZf8NH2kYR5Wab\na+Y8kR6tW4pZanna2JCrbRmXs/X8ovj/PNKQdLZBgKFFsJ3ArA2xroWf+zQa\n3zuNc7fZ7BHYDzdvfxHdiVJfakdLp5w927qKnIM+EV0azO5ciHSYfAAVkSat\nHTUwL7mFxWel8u//No8KiS9bmZsJOJqxIpPBNEvZnXuuOOFrd9jUQhDkh0Yo\nhqOB\r\n=rT9g\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBxzn0ByZ9wvNrvp1wp84ye/c4Xlbruuklu8hYZR9o6CAiA6rvIf6ajUy9g4ZjEU/ADYHniQMnygmy72WAblppszMQ=="}],"size":2710,"noattachment":false,"key":"/create-require/-/create-require-1.1.1.tgz"},"_npmUser":{"name":"pi0","email":"pyapar@gmail.com"},"directories":{},"maintainers":[{"name":"pi0","email":"pyapar@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/create-require_1.1.1_1606398092342_0.9292499039271358"},"_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":1606398092498,"_cnpm_publish_time":1606398092498,"dist-tags":{"latest":"1.1.1"}}