{"_id":"@amth/druuid","_rev":"9-c6b13590581f8a134437d2bd4aef0b80","name":"@amth/druuid","dist-tags":{"latest":"1.0.9"},"versions":{"1.0.0":{"name":"@amth/druuid","version":"1.0.0","author":{"name":"AMTH.cloud — https://amth.cloud"},"license":"ISC","_id":"@amth/druuid@1.0.0","maintainers":[{"name":"amth","email":"mathieuandrew0@gmail.com"}],"dist":{"shasum":"c41024216d0495382fd4b3563e47650845ea00ae","tarball":"https://registry.npmjs.org/@amth/druuid/-/druuid-1.0.0.tgz","fileCount":4,"integrity":"sha512-QFnJj8kP+7KRX4g2rPKb7IcB8FEyjPArt7ZO1mGdLxv5brKn/mw6Qx8T9k5yrPU41rEb4YanlQP36baW5XaF/Q==","signatures":[{"sig":"MEYCIQCKBBf2370vV2YF03rKFQ5SRCCcbGEp4/4qETspon7szAIhAO/Tj2KubM1i7411p5MZI9qxvhnNYzqLWQnlo4kd/CGy","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1971},"main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"amth","email":"mathieuandrew0@gmail.com"},"_npmVersion":"10.9.2","description":"Tool to easily rename your files to simplified UUID","directories":{},"_nodeVersion":"20.15.0","dependencies":{"crypto":"^1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^22.12.0"},"_npmOperationalInternal":{"tmp":"tmp/druuid_1.0.0_1738341116887_0.7870961438930499","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@amth/druuid","version":"1.0.1","author":{"name":"AMTH.cloud — https://amth.cloud"},"license":"ISC","_id":"@amth/druuid@1.0.1","maintainers":[{"name":"amth","email":"mathieuandrew0@gmail.com"}],"dist":{"shasum":"0a02bafd7708bcf5fb9919623bc2188d03a4f42d","tarball":"https://registry.npmjs.org/@amth/druuid/-/druuid-1.0.1.tgz","fileCount":4,"integrity":"sha512-BcgeK/4UP0LriZnQki3mkN0KDgCA2fsDeKnVczFy6uAQucHmpNTohAYItkwhI1Z6B3cafAgCOrE9o7LneYC7vg==","signatures":[{"sig":"MEUCIFa0V8L6Hpz+xBUEKNN0QXSUQ9DfhUuwmbe5Y3Nt9o/WAiEAzVXXcp/IPDQUaVsYtNKvoKfNSZ6OYl8EKnNInWhVjNo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1923},"main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"amth","email":"mathieuandrew0@gmail.com"},"_npmVersion":"10.9.2","description":"Tool to easily rename your files to simplified UUID","directories":{},"_nodeVersion":"20.15.0","_hasShrinkwrap":false,"devDependencies":{"@types/node":"^22.12.0"},"_npmOperationalInternal":{"tmp":"tmp/druuid_1.0.1_1738341229260_0.1028826585825795","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@amth/druuid","version":"1.0.2","author":{"name":"AMTH.cloud — https://amth.cloud"},"license":"ISC","_id":"@amth/druuid@1.0.2","maintainers":[{"name":"amth","email":"mathieuandrew0@gmail.com"}],"dist":{"shasum":"9c43f3bebdaecdaa9139570b9f8eaed7135d5524","tarball":"https://registry.npmjs.org/@amth/druuid/-/druuid-1.0.2.tgz","fileCount":3,"integrity":"sha512-VmK98fIgq02mhLbro/C2vcKQ72qCUh80o8QFv9KcSO2TGVX+ouL52GPc+LTkJlewQM6m6sCp6mufywhXLFbZMQ==","signatures":[{"sig":"MEUCIQDxSTEGqYN9DGR+gD6BGZJPNeZ2z/MmdChGa5IpHVzNYAIgXmtZxpuSFDUqG2TvBGYOgg4WVMtl8i/AUL7YAhInz44=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1481},"main":"src/index.js","_npmUser":{"name":"amth","email":"mathieuandrew0@gmail.com"},"_npmVersion":"10.9.2","description":"Tool to easily rename your files to simplified UUID","directories":{},"_nodeVersion":"20.15.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/druuid_1.0.2_1738341791517_0.318971788903454","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@amth/druuid","version":"1.0.3","author":{"name":"AMTH.cloud — https://amth.cloud"},"license":"ISC","_id":"@amth/druuid@1.0.3","maintainers":[{"name":"amth","email":"mathieuandrew0@gmail.com"}],"dist":{"shasum":"ea40267f24af8b82784203187c3ed8dd1a6509c7","tarball":"https://registry.npmjs.org/@amth/druuid/-/druuid-1.0.3.tgz","fileCount":4,"integrity":"sha512-YKk1IzdAJHtPmDsYQnT58lq546z7NQVs5sTW3Aqoc9iulVnwfiNb244N8POh9xT6dQmdij0bT0e7Q1ilHivx7g==","signatures":[{"sig":"MEYCIQD8vKx7Zo0dq16lMQVONsSjCoXOEn1mEEodBIkzR4rEVAIhAMCXoUkoxiXUSivx0+3mvUvJOlOEWR1cb2CjxlMDi8jr","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1583},"main":"src/index.js","_npmUser":{"name":"amth","email":"mathieuandrew0@gmail.com"},"_npmVersion":"10.9.2","description":"Tool to easily rename your files to simplified UUID","directories":{},"_nodeVersion":"20.15.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/druuid_1.0.3_1738342058488_0.33970181924822396","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@amth/druuid","version":"1.0.4","keywords":["uuid","file","rename"],"author":{"name":"AMTH.cloud — https://amth.cloud"},"license":"ISC","_id":"@amth/druuid@1.0.4","maintainers":[{"name":"amth","email":"mathieuandrew0@gmail.com"}],"dist":{"shasum":"0dfc063f39d145e8bbbfcd1429aaab3a693bcfa8","tarball":"https://registry.npmjs.org/@amth/druuid/-/druuid-1.0.4.tgz","fileCount":4,"integrity":"sha512-lD+D9gL6AueMqKkkPmBYB+JICobebIKxkg7zYELQhcyE0Vfl/0GNcwSBZj7RHL9ZQvaAzevRyYsbyuvbzqqcSA==","signatures":[{"sig":"MEQCIAHxDrBggzdLhZUZGFeLC79Rwh+GihHyMstZyoKp/2+FAiA58Q50MBGw5SZVYfzvI03R4tWZgtUHAz6Z2sZ9aVMqgg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1678},"main":"src/index.js","types":"src/index.ts","_npmUser":{"name":"amth","email":"mathieuandrew0@gmail.com"},"_npmVersion":"10.9.2","description":"Tool to easily rename your files to simplified UUID","directories":{},"_nodeVersion":"20.15.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/druuid_1.0.4_1738342337509_0.5811784543779388","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@amth/druuid","version":"1.0.5","keywords":["uuid","file","rename","typescript"],"author":{"name":"AMTH.cloud — https://amth.cloud"},"license":"ISC","_id":"@amth/druuid@1.0.5","maintainers":[{"name":"amth","email":"mathieuandrew0@gmail.com"}],"dist":{"shasum":"f5a8efebc0386320c57264437ec6c9b4bff833cb","tarball":"https://registry.npmjs.org/@amth/druuid/-/druuid-1.0.5.tgz","fileCount":6,"integrity":"sha512-dvOiLfPkIuw29g9B/2lSXlqDhioebM7qRN44a/d8fWRiQ7+cSGMnBKr3mZQthpDFj649r7yoOiQP5WEokRyPVg==","signatures":[{"sig":"MEUCIGPllkNMZfTLN6lmt7YDTiv2E1XIWSlC9291Kudjq1mJAiEAxJYjyIL9fsnX22fs+nBij68uL8RRM5tV4LEJX6WzYTY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3087},"main":"dist/index.js","types":"dist/index.d.ts","scripts":{"test":"jest","build":"tsc","prepare":"npm run build"},"_npmUser":{"name":"amth","email":"mathieuandrew0@gmail.com"},"_npmVersion":"10.9.2","description":"Simple and secure file renaming utility using UUID","directories":{},"_nodeVersion":"20.15.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.0","ts-jest":"^29.0.0","typescript":"^4.9.0","@types/jest":"^29.5.14","@types/node":"^18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/druuid_1.0.5_1738342904963_0.6570676956520958","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"@amth/druuid","version":"1.0.6","keywords":["uuid","file","rename","typescript"],"author":{"name":"AMTH.cloud — https://amth.cloud"},"license":"ISC","_id":"@amth/druuid@1.0.6","maintainers":[{"name":"amth","email":"mathieuandrew0@gmail.com"}],"dist":{"shasum":"21b9f3a6a64fb9c5eb972e7b3d01780bd2aaa650","tarball":"https://registry.npmjs.org/@amth/druuid/-/druuid-1.0.6.tgz","fileCount":6,"integrity":"sha512-ZkcT6xKiPc08kCSEW/D6dX5/t/2opFohW77rxmkZK0E3PjITISb88+Yz2bVLr1wIJFEHBb0fDNdB7VnQQ3woXA==","signatures":[{"sig":"MEUCIHT/MeWycWzZoT8FOWfehip4d+iVRmjvyIKQhowOyvzUAiEA0lGjlp5HNLfINs8TrMblxpuxwx6aBLbuv/GczZoWJpo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3217},"main":"dist/index.js","types":"dist/index.d.ts","scripts":{"test":"jest","build":"tsc","prepare":"npm run build"},"_npmUser":{"name":"amth","email":"mathieuandrew0@gmail.com"},"_npmVersion":"10.9.2","description":"Simple and secure file renaming utility using UUID","directories":{},"_nodeVersion":"20.15.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.0","ts-jest":"^29.0.0","typescript":"^4.9.0","@types/jest":"^29.5.14","@types/node":"^18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/druuid_1.0.6_1738343076023_0.8344220962632498","host":"s3://npm-registry-packages-npm-production"}},"1.0.7":{"name":"@amth/druuid","version":"1.0.7","keywords":["uuid","file","rename","typescript"],"author":{"name":"AMTH.cloud — https://amth.cloud"},"license":"ISC","_id":"@amth/druuid@1.0.7","maintainers":[{"name":"amth","email":"mathieuandrew0@gmail.com"}],"dist":{"shasum":"4c8e755624aebe4966ad2ce4637a14a0be595448","tarball":"https://registry.npmjs.org/@amth/druuid/-/druuid-1.0.7.tgz","fileCount":6,"integrity":"sha512-2qwEJveXHYdQs/St1H688WbLSgAZGDpj8IzrbbbcSP+JnPQcUPQz1ix2ZLti6g2yHvkV5OhJiq+94Ea0ospVOg==","signatures":[{"sig":"MEYCIQDbjFazdodLLHckiOvlJUL/oMvwndzN2XtbRjgSCwUvGwIhAL2ltR5jlqKXff34KruoTay9pb3QW5p/UkvgZxUSJ/An","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3168},"main":"dist/index.js","types":"dist/index.d.ts","scripts":{"test":"jest","build":"tsc","prepare":"npm run build"},"_npmUser":{"name":"amth","email":"mathieuandrew0@gmail.com"},"_npmVersion":"10.9.2","description":"Simple and secure file renaming utility using UUID","directories":{},"_nodeVersion":"20.15.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.0","ts-jest":"^29.0.0","typescript":"^4.9.0","@types/jest":"^29.5.14","@types/node":"^18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/druuid_1.0.7_1738343307424_0.037690813728866734","host":"s3://npm-registry-packages-npm-production"}},"1.0.8":{"name":"@amth/druuid","version":"1.0.8","keywords":["uuid","file","rename","typescript"],"author":{"name":"AMTH.cloud — https://amth.cloud"},"license":"ISC","_id":"@amth/druuid@1.0.8","maintainers":[{"name":"amth","email":"mathieuandrew0@gmail.com"}],"dist":{"shasum":"92ee7209624f05c69416c552ace5fd02416a067b","tarball":"https://registry.npmjs.org/@amth/druuid/-/druuid-1.0.8.tgz","fileCount":6,"integrity":"sha512-KPTPU8WMFm69czs7NuebkPrVcm5B99krtcH54BDR1gGz+eCsKq9FPJTB5QpcrbR+qUPOqZCumUMqOm5dmTtO1Q==","signatures":[{"sig":"MEUCIQCDopFyR6zs0vGhQ2VH9olnxgS5oUrk+TPS34xlJQ7S8gIgCJMxQWv/c9bZ1Y3q/gV9OdXO4dIvBj55Ke4hp9LTgAQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3752},"main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","prepare":"npm run build"},"_npmUser":{"name":"amth","email":"mathieuandrew0@gmail.com"},"_npmVersion":"10.9.2","description":"Simple and secure file renaming utility using UUID","directories":{},"_nodeVersion":"20.15.0","_hasShrinkwrap":false,"devDependencies":{"typescript":"^4.9.0","@types/node":"^18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/druuid_1.0.8_1738343798002_0.7428074303219003","host":"s3://npm-registry-packages-npm-production"}},"1.0.9":{"name":"@amth/druuid","version":"1.0.9","main":"dist/index.js","author":{"name":"AMTH.cloud — https://amth.cloud"},"license":"ISC","description":"Simple and secure file renaming utility using UUID","types":"dist/index.d.ts","keywords":["uuid","file","rename","typescript"],"scripts":{"build":"tsc","prepare":"npm run build"},"devDependencies":{"@types/node":"^18.0.0","typescript":"^4.9.0"},"_id":"@amth/druuid@1.0.9","_nodeVersion":"20.15.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-ng3qaeOSGEkLgIvg9d0IvznkYTdoivraZwkcyOFyvwzM8QDBg2UAr16nXXTIQ/zOQ20tqimLblAPcP3tsH4Kbw==","shasum":"ff08e12a4a42e825e190e2ee4eb97f544614b9e4","tarball":"https://registry.npmjs.org/@amth/druuid/-/druuid-1.0.9.tgz","fileCount":6,"unpackedSize":4054,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIHPySXa40IM5+GWAFzkuEllEUF4UODD1jwWPAGeRKPC8AiEAqvh+ei2vZdIjFmfF+N5YSdz3yX1eyo7ZnOZgCqpE1hk="}]},"_npmUser":{"name":"amth","email":"mathieuandrew0@gmail.com"},"directories":{},"maintainers":[{"name":"amth","email":"mathieuandrew0@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/druuid_1.0.9_1738344268560_0.7531989781628678"},"_hasShrinkwrap":false}},"time":{"created":"2025-01-31T16:31:56.801Z","modified":"2025-01-31T17:24:29.052Z","1.0.0":"2025-01-31T16:31:57.119Z","1.0.1":"2025-01-31T16:33:49.541Z","1.0.2":"2025-01-31T16:43:11.710Z","1.0.3":"2025-01-31T16:47:38.656Z","1.0.4":"2025-01-31T16:52:17.762Z","1.0.5":"2025-01-31T17:01:45.252Z","1.0.6":"2025-01-31T17:04:36.252Z","1.0.7":"2025-01-31T17:08:27.649Z","1.0.8":"2025-01-31T17:16:38.167Z","1.0.9":"2025-01-31T17:24:28.872Z"},"author":{"name":"AMTH.cloud — https://amth.cloud"},"license":"ISC","keywords":["uuid","file","rename","typescript"],"description":"Simple and secure file renaming utility using UUID","maintainers":[{"name":"amth","email":"mathieuandrew0@gmail.com"}],"readme":"# DRUUID\n\nSimple and secure file renaming utility using UUID\n\n## Installation\n\n```bash\nnpm install @amth/druuid\n```\n\n## Usage\n\n```typescript\nimport druuid from '@amth/druuid';\n// or\nimport { druuid } from '@amth/druuid };\n\n// Basic usage (default extension 'webp')\nconst newFileName = druuid('myFile'); // returns something like \"1234abcd...webp\"\n\n// Custom length\nconst shortName = druuid('myFile', 8); // returns something like \"1234abcd.webp\"\n\n// Specify different extension\nconst jpgFile = druuid('myFile', 36, 'jpg'); // returns something like \"1234abcd...jpg\"\n```\n\n## API\n\n### druuid(file: string, length?: number, ext?: \"jpg\" | \"png\" | \"webp\"): string\n\n- `file`: File name (required)\n- `length`: Desired UUID length (1-36, default: 36)\n- `ext`: File extension (\"jpg\" | \"png\" | \"webp\", default: \"webp\")\n\n## Supported Types\n- jpg\n- png\n- webp\n\n## License\n\nISC\n\n## Author\n\nAMTH.cloud — https://amth.cloud\n","readmeFilename":"README.md"}