{"name":"current-module-paths","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"1.1.1","type":"module","description":"Access to __filename and __dirname within ECMAScript modules","repository":{"type":"git","url":"git+https://github.com/75lb/current-module-paths.git"},"exports":{"import":"./index.js","require":"./dist/index.cjs"},"keywords":["__dirname","__filename","module","paths","modules","ESM","ECMAScript","import","commonjs","cjs","mjs"],"license":"MIT","engines":{"node":">=12.17"},"scripts":{"test":"test-runner test/test.?js"},"devDependencies":{"test-runner":"^0.10.1"},"gitHead":"54224debde64ce780bbe71f1ecd74fdd0498ae0b","bugs":{"url":"https://github.com/75lb/current-module-paths/issues"},"homepage":"https://github.com/75lb/current-module-paths#readme","_id":"current-module-paths@1.1.1","_nodeVersion":"20.0.0","_npmVersion":"9.6.5","dist":{"integrity":"sha512-8Ga5T8oMXBaSsHq9Gj+bddX7kHSaJKsl2vaAd3ep51eQLkr4W18eFEmEZM5bLo1zrz8tt3jE1U8QK9QGhaLR4g==","shasum":"f0ee3298cd1a6839503b46796aac9e19add3f9e6","tarball":"http://registry-npm.ywwl.com/current-module-paths/download/current-module-paths-1.1.1.tgz","fileCount":5,"unpackedSize":3661,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDtRw1ErvXQfEmoBLgD4fSCo9IxPICQtrQxVDMT9xDBYgIhAN/ukoE6+w4R0AYfVxqoU2WTP+E5Nxn7omoab2ZbPGtd"}],"size":1701,"noattachment":false,"key":"/current-module-paths/-/current-module-paths-1.1.1.tgz"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"directories":{},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/current-module-paths_1.1.1_1683029879630_0.8017714935868088"},"_hasShrinkwrap":false,"readme":"[![view on npm](https://badgen.net/npm/v/current-module-paths)](https://www.npmjs.org/package/current-module-paths)\n[![npm module downloads](https://badgen.net/npm/dt/current-module-paths)](https://www.npmjs.org/package/current-module-paths)\n[![Gihub repo dependents](https://badgen.net/github/dependents-repo/75lb/current-module-paths)](https://github.com/75lb/current-module-paths/network/dependents?dependent_type=REPOSITORY)\n[![Gihub package dependents](https://badgen.net/github/dependents-pkg/75lb/current-module-paths)](https://github.com/75lb/current-module-paths/network/dependents?dependent_type=PACKAGE)\n[![Node.js CI](https://github.com/75lb/current-module-paths/actions/workflows/node.js.yml/badge.svg)](https://github.com/75lb/current-module-paths/actions/workflows/node.js.yml)\n[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](https://github.com/feross/standard)\n\n# current-module-paths\n\nAccess to `__filename` and `__dirname` within ECMAScript modules.\n\n\n```js\nimport currentModulePaths from 'current-module-paths'\n\nconst { __filename, __dirname } = currentModulePaths(import.meta.url)\n```\n\n* * *\n\n&copy; 2021-23 Lloyd Brookes \\<75pound@gmail.com\\>.\n\nTested by [test-runner](https://github.com/test-runner-js/test-runner).\n","publish_time":1683029879787,"_cnpm_publish_time":1683029879787,"dist-tags":{"latest":"1.1.3"}}