{"versions":{"1.1.0":{"name":"current-module-paths","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"1.1.0","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.mjs","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.?js"},"devDependencies":{"test-runner":"^0.9.7"},"gitHead":"7069ddc8f5b1e623b319abf6f2f51a066310a8e0","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.0","_nodeVersion":"16.6.2","_npmVersion":"7.20.3","dist":{"shasum":"5d5bf214281d80aea264e642f028e672098238f6","size":1041,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/current-module-paths/-/current-module-paths-1.1.0.tgz","integrity":"sha512-HGhLUszcgprjKmzvQoCQda8iEWsQn3sWVzPdttyJVR5cjfVDYcoyozQA5D1YXgab9v84SPMpSuD+YrPX6i1IMQ=="},"_npmUser":{"name":"anonymous","email":"75pound@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"75pound@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/current-module-paths_1.1.0_1628853974676_0.3139277266088629"},"_hasShrinkwrap":false,"publish_time":1628853974801,"_cnpm_publish_time":1628853974801,"_cnpmcore_publish_time":"2021-12-14T06:59:49.803Z","contributors":[]},"1.0.0":{"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":{"shasum":"0ca6e2a11ed1f4e28d25d0f13de63c0aa0fad6da","size":968,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/current-module-paths/-/current-module-paths-1.0.0.tgz","integrity":"sha512-pSaP6R1extujDm/VdVty4aPaZiAVXGfHi4YpRQwjzZTLlt4A2501Dj+i5ZK/nTNozHyD7pvlVyL7J5zJqVO9qQ=="},"_npmUser":{"name":"anonymous","email":"75pound@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"75pound@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/current-module-paths_1.0.0_1625333765334_0.9391514720178156"},"_hasShrinkwrap":false,"publish_time":1625333765471,"_cnpm_publish_time":1625333765471,"_cnpmcore_publish_time":"2021-12-14T06:59:50.072Z","contributors":[]},"0.1.0":{"name":"current-module-paths","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"0.1.0","description":"current-module-paths","repository":{"type":"git","url":"git+https://github.com/75lb/current-module-paths.git"},"main":"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"},"gitHead":"65fe9aca186e14419f565a9ce9aa0e7616cda490","bugs":{"url":"https://github.com/75lb/current-module-paths/issues"},"homepage":"https://github.com/75lb/current-module-paths#readme","_id":"current-module-paths@0.1.0","_nodeVersion":"16.0.0","_npmVersion":"7.10.0","dist":{"shasum":"1c82ca05b0579496b1320c091bbed62f2e55481e","size":524,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/current-module-paths/-/current-module-paths-0.1.0.tgz","integrity":"sha512-J35DSzvtHW2U5JObz70gohgXWxTBz3tD0RtgJC0yEJPFQIhsMPjd/V6IeMp2b1UyIiiq/H4QB57JtDr1NEZFow=="},"_npmUser":{"name":"anonymous","email":"75pound@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"75pound@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/current-module-paths_0.1.0_1619344894384_0.8360366110436419"},"_hasShrinkwrap":false,"publish_time":1619344894487,"_cnpm_publish_time":1619344894487,"_cnpmcore_publish_time":"2021-12-14T06:59:50.257Z","contributors":[]},"1.1.1":{"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://123.232.10.234:8212/nexus/content/groups/npm-public/current-module-paths/-/current-module-paths-1.1.1.tgz","fileCount":5,"unpackedSize":3661,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDtRw1ErvXQfEmoBLgD4fSCo9IxPICQtrQxVDMT9xDBYgIhAN/ukoE6+w4R0AYfVxqoU2WTP+E5Nxn7omoab2ZbPGtd"}],"size":1701},"_npmUser":{"name":"anonymous","email":"75pound@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"75pound@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/current-module-paths_1.1.1_1683029879630_0.8017714935868088"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-05-02T12:17:59.787Z","publish_time":1683029879787,"_source_registry_name":"default","contributors":[]},"1.1.2":{"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://123.232.10.234:8212/nexus/content/groups/npm-public/current-module-paths/-/current-module-paths-1.1.2.tgz","fileCount":5,"unpackedSize":3773,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDWXJ6L7xWxCLtFcvUsjfWPEA4q8Re7NME+Sjvo2pndyAiB6liq+PK7iTj6oQSItfUTkf77pIlcIpghLWJ05JmG1TQ=="}],"size":1776},"_npmUser":{"name":"anonymous","email":"75pound@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"75pound@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/current-module-paths_1.1.2_1724531950089_0.6644219087890642"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-08-24T20:39:10.261Z","publish_time":1724531950261,"_source_registry_name":"default","contributors":[]},"1.1.3":{"name":"current-module-paths","author":{"name":"Lloyd Brookes","email":"opensource@75lb.com"},"version":"1.1.3","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-runner test/test.mjs test/test.cjs"},"devDependencies":{},"gitHead":"c3aaf76a746ead5cf733f188ea676cfc6bf83e14","_id":"current-module-paths@1.1.3","bugs":{"url":"https://github.com/75lb/current-module-paths/issues"},"homepage":"https://github.com/75lb/current-module-paths#readme","_nodeVersion":"25.0.0","_npmVersion":"11.6.2","dist":{"integrity":"sha512-7AH+ZTRKikdK4s1RmY0l6067UD/NZc7p3zZVZxvmnH80G31kr0y0W0E6ibYM4IS01MEm8DiC5FnTcgcgkbFHoA==","shasum":"b106039be7d7e0c59b79e2a2d45c9773850de0ac","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/current-module-paths/-/current-module-paths-1.1.3.tgz","fileCount":5,"unpackedSize":3844,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIBec08a+aAt1GsXVAcOPDHrN5lVDHM/yM+QXJOCPaaHAAiB2xmIqaaSfEsBpWVEZSNnw84zYY5StHqcyEUzIdc3DZw=="}],"size":1846},"_npmUser":{"name":"anonymous","email":"opensource@75lb.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"opensource@75lb.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/current-module-paths_1.1.3_1762707040924_0.5297485260389339"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-11-09T16:50:41.131Z","publish_time":1762707041131,"_source_registry_name":"default","contributors":[]}},"dist-tags":{"latest":"1.1.3"},"name":"current-module-paths","time":{"created":"2022-01-27T14:55:57.507Z","modified":"2025-11-09T16:50:50.661Z","1.1.0":"2021-08-13T11:26:14.801Z","1.0.0":"2021-07-03T17:36:05.471Z","0.1.0":"2021-04-25T10:01:34.487Z","1.1.1":"2023-05-02T12:17:59.787Z","1.1.2":"2024-08-24T20:39:10.261Z","1.1.3":"2025-11-09T16:50:41.131Z"},"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\n# current-module-paths\n\nAccess to the CommonJS `__filename` and `__dirname` variables within ECMAScript modules.\n\nOnly use this module if your code depends on the above global variables being defined, otherwise use [import.meta](https://nodejs.org/docs/latest/api/esm.html#no-__filename-or-__dirname).\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-25 [Lloyd Brookes](https://github.com/75lb) \\<opensource@75lb.com\\>.","users":{}}