{"_id":"@b4moss/shardian","_rev":"4-ce5ae72368c53ca5675d8f8a047ce9eb","name":"@b4moss/shardian","dist-tags":{"latest":"0.4.0"},"versions":{"0.1.0":{"name":"@b4moss/shardian","version":"0.1.0","keywords":["shard","path","directory","filename"],"license":"MIT","_id":"@b4moss/shardian@0.1.0","maintainers":[{"name":"b4m-oss","email":"kohki.shikata@gmail.com"}],"homepage":"https://github.com/b4moss/shardian#readme","bugs":{"url":"https://github.com/b4moss/shardian/issues"},"dist":{"shasum":"eb99bb15eb52e11c63175ef3d8d99401e54c5a44","tarball":"https://registry.npmjs.org/@b4moss/shardian/-/shardian-0.1.0.tgz","fileCount":7,"integrity":"sha512-PTC7lbePWOBdNJK45TJaK6w/WgNLdPofmU0eo9nqjaLVNBBW4fq0TIUcRRuyhA5aR/ImzdmMTJA0IQxWujuDWA==","signatures":[{"sig":"MEQCIHgTbVWXjMrhSze6Ho3AN1Y06ETLgodMQ2s49190a/omAiAnyA31PlxfAdPrHcTpUBdUoAtaTa2u7JFxcbuEYtb56g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3830},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"c96b8d0a7ac9914a80db6c842aeb543fa12db447","scripts":{"test":"rm -rf dist && tsc && node --test dist/shardian.test.js","build":"rm -rf dist && tsc -p tsconfig.build.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"b4m-oss","email":"kohki.shikata@gmail.com"},"repository":{"url":"git+https://github.com/b4moss/shardian.git","type":"git","directory":"packages/node"},"_npmVersion":"10.9.7","description":"Create sharded path strings from filenames","directories":{},"_nodeVersion":"22.14.0","_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.8.2","@types/node":"^22.13.10"},"_npmOperationalInternal":{"tmp":"tmp/shardian_0.1.0_1787640593849_0.06796536340286097","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@b4moss/shardian","version":"0.2.0","keywords":["shard","path","directory","filename"],"license":"MIT","_id":"@b4moss/shardian@0.2.0","maintainers":[{"name":"b4m-oss","email":"kohki.shikata@gmail.com"}],"homepage":"https://github.com/b4moss/shardian#readme","bugs":{"url":"https://github.com/b4moss/shardian/issues"},"dist":{"shasum":"ffea55101c760751395e62b13b72848006ba25f4","tarball":"https://registry.npmjs.org/@b4moss/shardian/-/shardian-0.2.0.tgz","fileCount":7,"integrity":"sha512-LHD0WbhG8w7IjGSrmM81nru8e7JdjVz5lqlWoCwzMS2DLrDRlloK2GiShAo8+ZZ+4mki+BVSS+LmPH3sdAd+Aw==","signatures":[{"sig":"MEUCIAD9UacZYLgWV5t3smTYh5aADAxcfdevL2f2QomEihceAiEAwaEYvp2VA8ET9wCLTndO5LluIuH+B3OmcLdXegZxLOY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@b4moss%2fshardian@0.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":4569},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"6de1ac341ffe5260913333424d206fa1a0a06a67","scripts":{"test":"rm -rf dist && tsc && node --test dist/shardian.test.js","build":"rm -rf dist && tsc -p tsconfig.build.json","test:coverage":"c8 --reporter=lcov --reporter=text npm test","prepublishOnly":"npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:856bd570-fab3-4fb4-98d1-e77aa7c14184"}},"repository":{"url":"git+https://github.com/b4moss/shardian.git","type":"git","directory":"packages/node"},"_npmVersion":"12.0.2","description":"Create sharded path strings from filenames","directories":{},"_nodeVersion":"22.23.2","_hasShrinkwrap":false,"devDependencies":{"c8":"^10.1.3","typescript":"^5.8.2","@types/node":"^22.13.10"},"_npmOperationalInternal":{"tmp":"tmp/shardian_0.2.0_1787661889364_0.4401559847252685","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@b4moss/shardian","version":"0.3.0","keywords":["shard","path","directory","filename"],"license":"MIT","_id":"@b4moss/shardian@0.3.0","maintainers":[{"name":"b4m-oss","email":"kohki.shikata@gmail.com"}],"homepage":"https://github.com/b4moss/shardian#readme","bugs":{"url":"https://github.com/b4moss/shardian/issues"},"dist":{"shasum":"8bc3eb16683ce58bbc9a1dec779997345b1c782d","tarball":"https://registry.npmjs.org/@b4moss/shardian/-/shardian-0.3.0.tgz","fileCount":7,"integrity":"sha512-Exv+/BWqwMX2l49P6fYp04LK/99WF0ORrY0s7zlxK6CqpQp1lb89DIf3YAGbQAwJbdREH9t9HWe2ZqI92Wp63g==","signatures":[{"sig":"MEQCIDN6Zu0mMJyKT9Tw7V5cC5Mw7GM/3l8eauz6zqTqGhrJAiAwN6ksHIqcQ7ZYS2FLk619KqxNT14++YsSVhTiRjMIxw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@b4moss%2fshardian@0.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":8472},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"d77d357ce753805c972fb73dafb1189123a97ae0","scripts":{"test":"rm -rf dist && tsc && node --test dist/shardian.test.js","build":"rm -rf dist && tsc -p tsconfig.build.json","test:coverage":"c8 --reporter=lcov --reporter=text npm test","prepublishOnly":"npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:856bd570-fab3-4fb4-98d1-e77aa7c14184"}},"repository":{"url":"git+https://github.com/b4moss/shardian.git","type":"git","directory":"packages/node"},"_npmVersion":"12.0.2","description":"Create sharded path strings from filenames","directories":{},"_nodeVersion":"22.23.2","_hasShrinkwrap":false,"devDependencies":{"c8":"^10.1.3","typescript":"^5.8.2","@types/node":"^22.13.10"},"_npmOperationalInternal":{"tmp":"tmp/shardian_0.3.0_1788149478797_0.6345618218294722","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@b4moss/shardian","version":"0.4.0","description":"Create sharded path strings from filenames","type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"build":"rm -rf dist && tsc -p tsconfig.build.json","test":"rm -rf dist && tsc && node --test dist/shardian.test.js","prepublishOnly":"npm run build","test:coverage":"c8 npm test"},"engines":{"node":">=18"},"keywords":["shard","path","directory","filename"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/b4moss/shardian.git","directory":"packages/node"},"bugs":{"url":"https://github.com/b4moss/shardian/issues"},"homepage":"https://github.com/b4moss/shardian#readme","devDependencies":{"@types/node":"^22.13.10","typescript":"^5.8.2","c8":"^10.1.3"},"gitHead":"0d3c20c8ac469f92f4a94fc599c6d0070a40b32f","_id":"@b4moss/shardian@0.4.0","_nodeVersion":"22.23.2","_npmVersion":"12.0.2","dist":{"integrity":"sha512-a6GAynxyJ6ZCZ3RXcxq0JNHQbyAwcGvDzS3yNnb49enQkftLhqtzSzEsp5mqQD67QA98qAHIbmJIlTdXx1Ye/Q==","shasum":"66ad5d4e8527f9d3594267b131b3eb752fad2d63","tarball":"https://registry.npmjs.org/@b4moss/shardian/-/shardian-0.4.0.tgz","fileCount":7,"unpackedSize":7453,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@b4moss%2fshardian@0.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCJ2+9k6QYR5aELE8f5pL4pJb0KMsBsUIc3aNct72vEFwIgPKALmT/l2VujqCX5h/SpSTqejCZ5SPcBOV8gz6wQWyw="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:856bd570-fab3-4fb4-98d1-e77aa7c14184"}},"directories":{},"maintainers":[{"name":"b4m-oss","email":"kohki.shikata@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/shardian_0.4.0_1788610386056_0.12157391656112115"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-25T06:49:53.661Z","modified":"2026-09-05T12:13:06.608Z","0.1.0":"2026-08-25T06:49:53.977Z","0.2.0":"2026-08-25T12:44:49.528Z","0.3.0":"2026-08-31T04:11:18.955Z","0.4.0":"2026-09-05T12:13:06.234Z"},"bugs":{"url":"https://github.com/b4moss/shardian/issues"},"license":"MIT","homepage":"https://github.com/b4moss/shardian#readme","keywords":["shard","path","directory","filename"],"repository":{"type":"git","url":"git+https://github.com/b4moss/shardian.git","directory":"packages/node"},"description":"Create sharded path strings from filenames","maintainers":[{"name":"b4m-oss","email":"kohki.shikata@gmail.com"}],"readme":"# @b4moss/shardian\n\nCreate sharded path strings from filenames.\n\n```js\nimport { shardian } from '@b4moss/shardian'\n\nshardian('abc1234.jpg')\n// => '/a/b/c/1/abc1234.jpg'\n\nshardian('abc1234.jpg', {\n  dirLetterCount: 1,\n  dirNestDepth: 4,\n  stripHeadSlash: true,\n})\n// => 'a/b/c/1/abc1234.jpg'\n```\n\nSee the repository root README and `docs/` for the full contract.\n\n## License\n\nMIT\n","readmeFilename":"README.md"}