{"name":"current-module-paths","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"1.0.0","description":"Access to __filename and __dirname within ECMAScript modules","repository":{"type":"git","url":"git+https://github.com/75lb/current-module-paths.git"},"exports":"./index.mjs","keywords":["__dirname","__filename","module","paths","modules","ESM","ECMAScript","import","commonjs","cjs","mjs"],"license":"MIT","engines":{"node":">=14"},"scripts":{"test":"test-runner test.mjs"},"devDependencies":{"test-runner":"^0.9.5"},"gitHead":"7667729e98ee0e3f7645e8131604aa09c2e6058c","bugs":{"url":"https://github.com/75lb/current-module-paths/issues"},"homepage":"https://github.com/75lb/current-module-paths#readme","_id":"current-module-paths@1.0.0","_nodeVersion":"16.4.1","_npmVersion":"7.19.1","dist":{"integrity":"sha512-pSaP6R1extujDm/VdVty4aPaZiAVXGfHi4YpRQwjzZTLlt4A2501Dj+i5ZK/nTNozHyD7pvlVyL7J5zJqVO9qQ==","shasum":"0ca6e2a11ed1f4e28d25d0f13de63c0aa0fad6da","tarball":"http://registry-npm.ywwl.com/current-module-paths/download/current-module-paths-1.0.0.tgz","fileCount":3,"unpackedSize":2163,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg4KAFCRA9TVsSAnZWagAAlLYQAIi0JROjjytU3pxymKQn\noGVvkWnYxXO0AhmJ3+GrQw2Mo/jCuUsahERcYzLGayE3vSnSlyL7PU4awH+U\nMPlXp0KDY6lxYQM8X8jRA0lmy9vSrfIV7+vJIgrgDQ8kmHtEgZ8+tY1Osr48\nwbFEtz/eCxKbFS9c92Tqz2OFg1udzvJxVz1HpUpfZ1KJ/gIA4XvppFkoJvc1\n96vGDARKnL/nIzrOrrT3fZZzP462c90dCuHNEtt6Gv3Z3faYM0ypq/zsjIBl\nI5dKWmD8QiReB7mfDWsqngNOnh8tloJzvGL+ytaucbuZk4q4L31zUvnERvRE\n64VAh2ZNyeHEtULm8NgJtloj4I/4WJM4LSBQATPL378y0rTBriGfcrjBX0Pn\nwwScgqmvfqOz5JaO/GpoF+T0oWDo6C3z3SwBbffm8Rm9Ag7S6w3mmWdxbSe2\n5VgTcsvdTDoD7G41FnJKLjAHe/HJfojcxxoK1MoPFAhsdN29fQwjRQtnqd6J\nwUJmcCfvU3IfFIwaJwI5l9jaOA3ay/bUSFAoYpJ8cCDzvSgwHSkwoATQ5WV+\nNSMSjXt0kswp4jFtsmzFlNwUdzcX3Ah621Ec/VGI3EfigLqNbueKgTNzjbav\nbfjKY8JZWbbT5n/dd8hDA3xwhC0G4ZUM5oWUXp6Vyl69oFDRGy4syXU3+k/X\nCrvP\r\n=j8dn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCWvXMVeiamNAymj00bgWtv4x0HavwBEdwNF8vFdVJ10QIgT5rJrlS7fBLjtCMFhf+AYtdSChDAVZmNVXYKtJFAlO0="}],"size":968,"noattachment":false,"key":"/current-module-paths/-/current-module-paths-1.0.0.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.0.0_1625333765334_0.9391514720178156"},"_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":1625333765471,"_cnpm_publish_time":1625333765471,"dist-tags":{"latest":"1.1.3"}}