{"name":"current-module-paths","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"1.1.2","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":"npm run dist && npm run test:ci","dist":"75lb-nature cjs-build index.js","test:ci":"75lb-nature test test/test.mjs test/test.cjs"},"devDependencies":{},"_id":"current-module-paths@1.1.2","gitHead":"b3c8e0af92189130e13f3a665ae21dbfd1c702c3","bugs":{"url":"https://github.com/75lb/current-module-paths/issues"},"homepage":"https://github.com/75lb/current-module-paths#readme","_nodeVersion":"22.7.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-H4s4arcLx/ugbu1XkkgSvcUZax0L6tXUqnppGniQb8l5VjUKGHoayXE5RiriiPhYDd+kjZnaok1Uig13PKtKYQ==","shasum":"13a2d821b2f864c3adead261b7954b068510c32f","tarball":"http://registry-npm.ywwl.com/current-module-paths/download/current-module-paths-1.1.2.tgz","fileCount":5,"unpackedSize":3773,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDWXJ6L7xWxCLtFcvUsjfWPEA4q8Re7NME+Sjvo2pndyAiB6liq+PK7iTj6oQSItfUTkf77pIlcIpghLWJ05JmG1TQ=="}],"size":1776,"noattachment":false,"key":"/current-module-paths/-/current-module-paths-1.1.2.tgz"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/current-module-paths_1.1.2_1724531950089_0.6644219087890642"},"_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 the CommonJS `__filename` and `__dirname` variables 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-24 Lloyd Brookes \\<75pound@gmail.com\\>.\n\nTested by [test-runner](https://github.com/test-runner-js/test-runner).\n","publish_time":1724531950261,"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"_cnpm_publish_time":1724531950261,"dist-tags":{"latest":"1.1.3"}}