{"_id":"@akashrajpurohit/snowflake-id","_rev":"11-ea9c45710c1b99ee040a553c563231da","name":"@akashrajpurohit/snowflake-id","dist-tags":{"latest":"2.0.0"},"versions":{"1.0.0":{"name":"@akashrajpurohit/snowflake-id","version":"1.0.0","description":"A simple and lightweight Node.js library to generate unique snowflake IDs.","repository":{"type":"git","url":"git+https://github.com/AkashRajpurohit/snowflake-id.git"},"homepage":"https://github.com/AkashRajpurohit/snowflake-id","bugs":{"url":"https://github.com/AkashRajpurohit/snowflake-id/issues"},"author":{"name":"AkashRajpurohit","email":"me@akashrajpurohit.com","url":"https://akashrajpurohit.com"},"keywords":["snowflake-id","uuid-generator"],"license":"MIT","main":"./dist/index.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.js","types":"./dist/index.d.ts"},"./package.json":"./package.json"},"typesVersions":{"*":{}},"scripts":{"build":"tsup","dev":"tsup --watch","test":"vitest run","test:coverage":"vitest run --coverage","test:watch":"vitest watch","semantic-release":"semantic-release"},"devDependencies":{"@types/node":"^20.1.3","@vitest/coverage-c8":"^0.31.0","conventional-changelog-conventionalcommits":"^5.0.0","semantic-release":"^21.0.2","tsup":"^6.7.0","typescript":"^5.0.4","vitest":"^0.31.0"},"publishConfig":{"access":"public"},"release":{"branches":["main"],"plugins":[["@semantic-release/commit-analyzer",{"preset":"conventionalcommits","releaseRules":[{"type":"build","scope":"deps","release":"patch"}]}],["@semantic-release/release-notes-generator",{"preset":"conventionalcommits","presetConfig":{"types":[{"type":"feat","section":"Features"},{"type":"fix","section":"Bug Fixes"},{"type":"build","section":"Dependencies and Other Build Updates","hidden":false}]}}],"@semantic-release/npm","@semantic-release/github"]},"gitHead":"2f078e6cb6c101daec2a0c3326414a5ea4278965","_id":"@akashrajpurohit/snowflake-id@1.0.0","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-PZTZ5wF0i/5ccSOvieZFg7SLbt2sSgVdD9oxSlQ7t4S0c5oZGGsRKs2osZ9fbJanweQoCS2h2Vh3xgA9/JM7rg==","shasum":"29bf8c8a163ea4d69e13b3d4834742dabdab34a0","tarball":"https://registry.npmjs.org/@akashrajpurohit/snowflake-id/-/snowflake-id-1.0.0.tgz","fileCount":8,"unpackedSize":20472,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC57iwH9GZgYoQ2x1WHGisOPMI9HzKkoZUswHgDBtBlqgIgMPA2nR4Uo1gn5hY5o1HC7xJDeORbbVtI7PzqjYg7iXQ="}]},"_npmUser":{"name":"akashrajpurohit","email":"akashrajpurohit.009@gmail.com"},"directories":{},"maintainers":[{"name":"akashrajpurohit","email":"akashrajpurohit.009@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/snowflake-id_1.0.0_1683992408352_0.07275092379961401"},"_hasShrinkwrap":false},"1.1.0":{"name":"@akashrajpurohit/snowflake-id","version":"1.1.0","description":"A simple and lightweight Node.js library to generate unique snowflake IDs.","repository":{"type":"git","url":"git+https://github.com/AkashRajpurohit/snowflake-id.git"},"homepage":"https://github.com/AkashRajpurohit/snowflake-id","bugs":{"url":"https://github.com/AkashRajpurohit/snowflake-id/issues"},"author":{"name":"AkashRajpurohit","email":"me@akashrajpurohit.com","url":"https://akashrajpurohit.com"},"keywords":["snowflake-id","uuid-generator"],"license":"MIT","main":"./dist/index.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.js","types":"./dist/index.d.ts"},"./package.json":"./package.json"},"typesVersions":{"*":{}},"scripts":{"build":"tsup","dev":"tsup --watch","test":"vitest run","test:coverage":"vitest run --coverage","test:watch":"vitest watch","semantic-release":"semantic-release"},"devDependencies":{"@types/node":"^20.1.3","@vitest/coverage-c8":"^0.31.0","conventional-changelog-conventionalcommits":"^5.0.0","semantic-release":"^21.0.2","tsup":"^6.7.0","typescript":"^5.0.4","vitest":"^0.31.0"},"publishConfig":{"access":"public"},"release":{"branches":["main"],"plugins":[["@semantic-release/commit-analyzer",{"preset":"conventionalcommits","releaseRules":[{"type":"build","scope":"deps","release":"patch"}]}],["@semantic-release/release-notes-generator",{"preset":"conventionalcommits","presetConfig":{"types":[{"type":"feat","section":"Features"},{"type":"fix","section":"Bug Fixes"},{"type":"build","section":"Dependencies and Other Build Updates","hidden":false}]}}],"@semantic-release/npm","@semantic-release/github"]},"gitHead":"eafcfb44b90c793a19a318ed688e49edad97950e","_id":"@akashrajpurohit/snowflake-id@1.1.0","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-pSsSK4qxCIyaKb+/X/PwgG0LB+1nYJaCSQdCGUDpn3er5LE+RTlMmUF3tdw+wEO04i+v1sZqFAH/zpNLl9eCGQ==","shasum":"bab9de2375fc4186d52aa23eb0c13ace4e573fea","tarball":"https://registry.npmjs.org/@akashrajpurohit/snowflake-id/-/snowflake-id-1.1.0.tgz","fileCount":8,"unpackedSize":22456,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICykE11mz4Y6KLV3GlHjnoXyLgj+J/WOxkx6XqjmH4IPAiEAoOz0R/47xy+4yHf6j2XGzHWC7RmSgmtHA64eLK1ehGs="}]},"_npmUser":{"name":"akashrajpurohit","email":"akashrajpurohit.009@gmail.com"},"directories":{},"maintainers":[{"name":"akashrajpurohit","email":"akashrajpurohit.009@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/snowflake-id_1.1.0_1683998494626_0.3879098037538171"},"_hasShrinkwrap":false},"1.2.0":{"name":"@akashrajpurohit/snowflake-id","version":"1.2.0","description":"A simple and lightweight Node.js library to generate unique snowflake IDs.","repository":{"type":"git","url":"git+https://github.com/AkashRajpurohit/snowflake-id.git"},"homepage":"https://github.com/AkashRajpurohit/snowflake-id","bugs":{"url":"https://github.com/AkashRajpurohit/snowflake-id/issues"},"author":{"name":"AkashRajpurohit","email":"me@akashrajpurohit.com","url":"https://akashrajpurohit.com"},"keywords":["snowflake-id","uuid-generator"],"license":"MIT","main":"./dist/index.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.js","types":"./dist/index.d.ts"},"./package.json":"./package.json"},"typesVersions":{"*":{}},"scripts":{"build":"tsup","dev":"tsup --watch","test":"vitest run","test:coverage":"vitest run --coverage","test:watch":"vitest watch","semantic-release":"semantic-release"},"devDependencies":{"@types/node":"^20.1.3","@vitest/coverage-c8":"^0.31.0","conventional-changelog-conventionalcommits":"^5.0.0","semantic-release":"^21.0.2","tsup":"^6.7.0","typescript":"^5.0.4","vitest":"^0.31.0"},"publishConfig":{"access":"public"},"release":{"branches":["main"],"plugins":[["@semantic-release/commit-analyzer",{"preset":"conventionalcommits","releaseRules":[{"type":"build","scope":"deps","release":"patch"}]}],["@semantic-release/release-notes-generator",{"preset":"conventionalcommits","presetConfig":{"types":[{"type":"feat","section":"Features"},{"type":"fix","section":"Bug Fixes"},{"type":"build","section":"Dependencies and Other Build Updates","hidden":false}]}}],"@semantic-release/npm","@semantic-release/github"]},"gitHead":"8a85af7ce07773f2bc87367a4048576d839b882d","_id":"@akashrajpurohit/snowflake-id@1.2.0","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-+aUksXufSknnDpIdVgf+pMKzh6D6b5Cq8jTs/fpr2xXtjuDAtSctNfc+du032shGqQmb9cLbFAT0yyOVWmUX0Q==","shasum":"baaeb9c527b685e591dd2cfba1f5407d58c62ee2","tarball":"https://registry.npmjs.org/@akashrajpurohit/snowflake-id/-/snowflake-id-1.2.0.tgz","fileCount":8,"unpackedSize":23001,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHDdxjnGz+CvOX1blInV/09fBMHwbkC3xMtKHXwRV/ISAiAHX1oGbAyh4URaEn50WDyETxi71n/mwQuqHZsx5MFBVQ=="}]},"_npmUser":{"name":"akashrajpurohit","email":"akashrajpurohit.009@gmail.com"},"directories":{},"maintainers":[{"name":"akashrajpurohit","email":"akashrajpurohit.009@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/snowflake-id_1.2.0_1683999814344_0.7073925945290664"},"_hasShrinkwrap":false},"1.2.1":{"name":"@akashrajpurohit/snowflake-id","version":"1.2.1","description":"A simple and lightweight Node.js library to generate unique snowflake IDs.","repository":{"type":"git","url":"git+https://github.com/AkashRajpurohit/snowflake-id.git"},"homepage":"https://github.com/AkashRajpurohit/snowflake-id","bugs":{"url":"https://github.com/AkashRajpurohit/snowflake-id/issues"},"author":{"name":"AkashRajpurohit","email":"me@akashrajpurohit.com","url":"https://akashrajpurohit.com"},"keywords":["snowflake-id","uuid-generator"],"license":"MIT","main":"./dist/index.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.js","types":"./dist/index.d.ts"},"./package.json":"./package.json"},"typesVersions":{"*":{}},"scripts":{"build":"tsup","dev":"tsup --watch","test":"vitest run","test:coverage":"vitest run --coverage","test:watch":"vitest watch","semantic-release":"semantic-release"},"devDependencies":{"@types/node":"^20.1.3","@vitest/coverage-c8":"^0.31.0","conventional-changelog-conventionalcommits":"^5.0.0","semantic-release":"^21.0.2","tsup":"^6.7.0","typescript":"^5.0.4","vitest":"^0.31.0"},"publishConfig":{"access":"public"},"release":{"branches":["main"],"plugins":[["@semantic-release/commit-analyzer",{"preset":"conventionalcommits","releaseRules":[{"type":"build","scope":"deps","release":"patch"}]}],["@semantic-release/release-notes-generator",{"preset":"conventionalcommits","presetConfig":{"types":[{"type":"feat","section":"Features"},{"type":"fix","section":"Bug Fixes"},{"type":"build","section":"Dependencies and Other Build Updates","hidden":false}]}}],"@semantic-release/npm","@semantic-release/github"]},"gitHead":"cfc3c46fcbec8bc284053814b685cc58e8238d72","_id":"@akashrajpurohit/snowflake-id@1.2.1","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-iaXQvNAzs7CDKYR23G8qUB9hi7ITBgMBGLb/lxqbFwDn4LYNUE5xp8OkqLVuNO8TVh4NnDuZ2GDarCrN5dpsWg==","shasum":"0a4e734aefc675139b59e4c7cca30b5b89895588","tarball":"https://registry.npmjs.org/@akashrajpurohit/snowflake-id/-/snowflake-id-1.2.1.tgz","fileCount":8,"unpackedSize":23039,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCp6jCaNwQDPdHgmnCTt0PuY7od31Ts3LIxBF4ySlhZUAIgVMZmeohdNNJ7N0McCDOeM3VBSfdg8Xt7frv6VQlUuus="}]},"_npmUser":{"name":"akashrajpurohit","email":"akashrajpurohit.009@gmail.com"},"directories":{},"maintainers":[{"name":"akashrajpurohit","email":"akashrajpurohit.009@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/snowflake-id_1.2.1_1684000026818_0.2240020488996055"},"_hasShrinkwrap":false},"1.3.0":{"name":"@akashrajpurohit/snowflake-id","version":"1.3.0","description":"A simple and lightweight Node.js library to generate unique snowflake IDs.","repository":{"type":"git","url":"git+https://github.com/AkashRajpurohit/snowflake-id.git"},"homepage":"https://github.com/AkashRajpurohit/snowflake-id","bugs":{"url":"https://github.com/AkashRajpurohit/snowflake-id/issues"},"author":{"name":"AkashRajpurohit","email":"me@akashrajpurohit.com","url":"https://akashrajpurohit.com"},"keywords":["snowflake-id","uuid-generator"],"license":"MIT","main":"./dist/index.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.js","types":"./dist/index.d.ts"},"./package.json":"./package.json"},"typesVersions":{"*":{}},"scripts":{"build":"tsup","dev":"tsup --watch","test":"vitest run","test:coverage":"vitest run --coverage","test:watch":"vitest watch","semantic-release":"semantic-release"},"devDependencies":{"@types/node":"^20.1.3","@vitest/coverage-c8":"^0.31.0","conventional-changelog-conventionalcommits":"^5.0.0","semantic-release":"^21.0.2","tsup":"^6.7.0","typescript":"^5.0.4","vitest":"^0.31.0"},"publishConfig":{"access":"public"},"release":{"branches":["main"],"plugins":[["@semantic-release/commit-analyzer",{"preset":"conventionalcommits","releaseRules":[{"type":"build","scope":"deps","release":"patch"}]}],["@semantic-release/release-notes-generator",{"preset":"conventionalcommits","presetConfig":{"types":[{"type":"feat","section":"Features"},{"type":"fix","section":"Bug Fixes"},{"type":"build","section":"Dependencies and Other Build Updates","hidden":false}]}}],"@semantic-release/npm","@semantic-release/github"]},"gitHead":"35fd7857144caec1a648acf103e6d49a4ed79968","_id":"@akashrajpurohit/snowflake-id@1.3.0","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-fTPHFFksjDyiyPhYR05cJBZeTvKv++qXDI25f+dHGrJzPE+tIHbhSoyccTBrS7y4z724F/QwiqixJWrdiiUOKQ==","shasum":"be091bccee954cb224dbf3af3ca6324b446512f1","tarball":"https://registry.npmjs.org/@akashrajpurohit/snowflake-id/-/snowflake-id-1.3.0.tgz","fileCount":8,"unpackedSize":26541,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH+0eoI9tnTT6BNxQbq/HVGq0dGQS0QWbC3f2bpzM100AiEA/ZvgBOlIUz8UIF1VCg0jDkr8vSOF8+tGLaBs3gq1Dtc="}]},"_npmUser":{"name":"akashrajpurohit","email":"akashrajpurohit.009@gmail.com"},"directories":{},"maintainers":[{"name":"akashrajpurohit","email":"akashrajpurohit.009@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/snowflake-id_1.3.0_1684052145943_0.3416294163269271"},"_hasShrinkwrap":false},"1.4.0":{"name":"@akashrajpurohit/snowflake-id","version":"1.4.0","description":"A simple and lightweight Node.js library to generate unique snowflake IDs.","repository":{"type":"git","url":"git+https://github.com/AkashRajpurohit/snowflake-id.git"},"homepage":"https://github.com/AkashRajpurohit/snowflake-id","bugs":{"url":"https://github.com/AkashRajpurohit/snowflake-id/issues"},"author":{"name":"AkashRajpurohit","email":"me@akashrajpurohit.com","url":"https://akashrajpurohit.com"},"keywords":["snowflake-id","uuid-generator"],"license":"MIT","main":"./dist/index.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.js","types":"./dist/index.d.ts"},"./package.json":"./package.json"},"typesVersions":{"*":{}},"scripts":{"build":"tsup","dev":"tsup --watch","test":"vitest run","test:coverage":"vitest run --coverage","test:watch":"vitest watch","semantic-release":"semantic-release"},"devDependencies":{"@types/node":"^20.1.3","@vitest/coverage-c8":"^0.31.0","conventional-changelog-conventionalcommits":"^5.0.0","semantic-release":"^21.0.2","tsup":"^6.7.0","typescript":"^5.0.4","vitest":"^0.31.0"},"publishConfig":{"access":"public"},"release":{"branches":["main"],"plugins":[["@semantic-release/commit-analyzer",{"preset":"conventionalcommits","releaseRules":[{"type":"build","scope":"deps","release":"patch"}]}],["@semantic-release/release-notes-generator",{"preset":"conventionalcommits","presetConfig":{"types":[{"type":"feat","section":"Features"},{"type":"fix","section":"Bug Fixes"},{"type":"docs","section":"Documentation Changes"},{"type":"build","section":"Dependencies and Other Build Updates","hidden":false}]}}],"@semantic-release/npm","@semantic-release/github"]},"gitHead":"faa3530d900864f628e2c4c11d502844407a4a68","_id":"@akashrajpurohit/snowflake-id@1.4.0","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-GRnJWtUhXxhaIyj1YY6Dl/VbTFGvTWPqMew+tS13bcrbkc3b6JMoZhgPC9kkD8gaMIeBCuZPh96GXguYGLacLg==","shasum":"c793345d63e4cfd337ba420278e6faa35040b5d5","tarball":"https://registry.npmjs.org/@akashrajpurohit/snowflake-id/-/snowflake-id-1.4.0.tgz","fileCount":8,"unpackedSize":26686,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDb+xmX/M/FrY2lr2tNRtaG3AMM6gNpc15MTiDKNkluggIhAIkerQk0AzYSSn1byVNPH7GFWt4G3BZYyO7KUJ/wsFaE"}]},"_npmUser":{"name":"akashrajpurohit","email":"akashrajpurohit.009@gmail.com"},"directories":{},"maintainers":[{"name":"akashrajpurohit","email":"akashrajpurohit.009@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/snowflake-id_1.4.0_1684053926186_0.9625615949922846"},"_hasShrinkwrap":false},"1.4.1":{"name":"@akashrajpurohit/snowflake-id","version":"1.4.1","description":"A simple and lightweight Node.js library to generate unique snowflake IDs.","repository":{"type":"git","url":"git+https://github.com/AkashRajpurohit/snowflake-id.git"},"homepage":"https://github.com/AkashRajpurohit/snowflake-id","bugs":{"url":"https://github.com/AkashRajpurohit/snowflake-id/issues"},"author":{"name":"AkashRajpurohit","email":"me@akashrajpurohit.com","url":"https://akashrajpurohit.com"},"keywords":["snowflake-id","uuid-generator"],"license":"MIT","main":"./dist/index.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.js","types":"./dist/index.d.ts"},"./package.json":"./package.json"},"typesVersions":{"*":{}},"scripts":{"build":"tsup","dev":"tsup --watch","format":"prettier --write .","test":"vitest run","test:coverage":"vitest run --coverage","test:watch":"vitest watch","semantic-release":"semantic-release"},"devDependencies":{"@types/node":"^20.1.3","@vitest/coverage-c8":"^0.31.0","conventional-changelog-conventionalcommits":"^5.0.0","prettier":"^2.8.8","semantic-release":"^21.0.2","tsup":"^6.7.0","typescript":"^5.0.4","vitest":"^0.31.0"},"publishConfig":{"access":"public"},"release":{"branches":["main"],"plugins":[["@semantic-release/commit-analyzer",{"preset":"conventionalcommits","releaseRules":[{"type":"build","scope":"deps","release":"patch"}]}],["@semantic-release/release-notes-generator",{"preset":"conventionalcommits","presetConfig":{"types":[{"type":"feat","section":"Features"},{"type":"fix","section":"Bug Fixes"},{"type":"docs","section":"Documentation Changes"},{"type":"build","section":"Dependencies and Other Build Updates","hidden":false}]}}],"@semantic-release/npm","@semantic-release/github"]},"gitHead":"a1ff7c3288206e944d20c045a165eb1dc91f1b35","_id":"@akashrajpurohit/snowflake-id@1.4.1","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-TnTrFvUpmT3CpK6J3kDVT/tvog5NWLE/5No+VgS4PtJfGeZ6OxagRwKwxDYp4u1gNcoDx/0FnPuDkHzDNxMRdg==","shasum":"a3909d8cd989a8969d1eb680294b8e48edfa1f41","tarball":"https://registry.npmjs.org/@akashrajpurohit/snowflake-id/-/snowflake-id-1.4.1.tgz","fileCount":10,"unpackedSize":33023,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCy+gFUM4eWtFvwBhcK2OaOW4gBlGfCK5m1yxMxXSH+dwIgBDTNSry5V/LRueOiQ4zVciJSLa+9Busg6GOh1XzWze4="}]},"_npmUser":{"name":"akashrajpurohit","email":"akashrajpurohit.009@gmail.com"},"directories":{},"maintainers":[{"name":"akashrajpurohit","email":"akashrajpurohit.009@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/snowflake-id_1.4.1_1684572311122_0.16085810013967294"},"_hasShrinkwrap":false},"1.4.2":{"name":"@akashrajpurohit/snowflake-id","version":"1.4.2","description":"A simple and lightweight Node.js library to generate unique snowflake IDs.","repository":{"type":"git","url":"git+https://github.com/AkashRajpurohit/snowflake-id.git"},"homepage":"https://github.com/AkashRajpurohit/snowflake-id","bugs":{"url":"https://github.com/AkashRajpurohit/snowflake-id/issues"},"author":{"name":"AkashRajpurohit","email":"me@akashrajpurohit.com","url":"https://akashrajpurohit.com"},"keywords":["snowflake-id","uuid-generator"],"license":"MIT","main":"./dist/index.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.js","types":"./dist/index.d.ts"},"./package.json":"./package.json"},"typesVersions":{"*":{}},"scripts":{"build":"tsup","dev":"tsup --watch","format":"prettier --write .","test":"vitest run","test:coverage":"vitest run --coverage","test:watch":"vitest watch","semantic-release":"semantic-release"},"devDependencies":{"@types/node":"^20.1.3","@vitest/coverage-c8":"^0.32.0","conventional-changelog-conventionalcommits":"^6.0.0","prettier":"^2.8.8","semantic-release":"^21.0.2","tsup":"^7.0.0","typescript":"^5.0.4","vitest":"^0.32.0"},"publishConfig":{"access":"public"},"release":{"branches":["main"],"plugins":[["@semantic-release/commit-analyzer",{"preset":"conventionalcommits","releaseRules":[{"type":"build","scope":"deps","release":"patch"}]}],["@semantic-release/release-notes-generator",{"preset":"conventionalcommits","presetConfig":{"types":[{"type":"feat","section":"Features"},{"type":"fix","section":"Bug Fixes"},{"type":"docs","section":"Documentation Changes"},{"type":"build","section":"Dependencies and Other Build Updates","hidden":false}]}}],"@semantic-release/npm","@semantic-release/github"]},"gitHead":"c50769e77b91e0743b8837514754d5507fb46364","_id":"@akashrajpurohit/snowflake-id@1.4.2","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-11+qNfRd3DBZqjOQp+U/0H3M8sqHpqvro1mdkYc/w/e6YoAC0miEzuRCTVNzLRs95cFJkEYmG7eFD2a34Kzdxg==","shasum":"7ac45f773b2cb3f47fc7067b02590b06ff174613","tarball":"https://registry.npmjs.org/@akashrajpurohit/snowflake-id/-/snowflake-id-1.4.2.tgz","fileCount":10,"unpackedSize":33023,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID/rIld27qcU2ZNEUzIWKLIgwsCU8GhQmS8jkX+rEiTXAiA+CMRF1RZ4ZgIcr02Re54o/XM8OmRDOviWnCW1AjkIrQ=="}]},"_npmUser":{"name":"akashrajpurohit","email":"akashrajpurohit.009@gmail.com"},"directories":{},"maintainers":[{"name":"akashrajpurohit","email":"akashrajpurohit.009@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/snowflake-id_1.4.2_1686922670801_0.8139207146676974"},"_hasShrinkwrap":false},"1.4.3":{"name":"@akashrajpurohit/snowflake-id","version":"1.4.3","description":"A simple and lightweight Node.js library to generate unique snowflake IDs.","repository":{"type":"git","url":"git+https://github.com/AkashRajpurohit/snowflake-id.git"},"homepage":"https://github.com/AkashRajpurohit/snowflake-id","bugs":{"url":"https://github.com/AkashRajpurohit/snowflake-id/issues"},"author":{"name":"AkashRajpurohit","email":"me@akashrajpurohit.com","url":"https://akashrajpurohit.com"},"keywords":["snowflake-id","uuid-generator"],"license":"MIT","main":"./dist/index.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.js","types":"./dist/index.d.ts"},"./package.json":"./package.json"},"typesVersions":{"*":{}},"scripts":{"build":"tsup","dev":"tsup --watch","format":"prettier --write .","test":"vitest run","test:coverage":"vitest run --coverage","test:watch":"vitest watch","semantic-release":"semantic-release"},"devDependencies":{"@types/node":"^20.1.3","@vitest/coverage-c8":"^0.33.0","conventional-changelog-conventionalcommits":"^6.0.0","prettier":"^3.0.0","semantic-release":"^21.0.2","tsup":"^7.0.0","typescript":"^5.0.4","vitest":"^0.33.0"},"publishConfig":{"access":"public"},"release":{"branches":["main"],"plugins":[["@semantic-release/commit-analyzer",{"preset":"conventionalcommits","releaseRules":[{"type":"build","scope":"deps","release":"patch"}]}],["@semantic-release/release-notes-generator",{"preset":"conventionalcommits","presetConfig":{"types":[{"type":"feat","section":"Features"},{"type":"fix","section":"Bug Fixes"},{"type":"docs","section":"Documentation Changes"},{"type":"build","section":"Dependencies and Other Build Updates","hidden":false}]}}],"@semantic-release/npm","@semantic-release/github"]},"gitHead":"c79190a6f89f8497bdbca86fe501e0ed830bda62","_id":"@akashrajpurohit/snowflake-id@1.4.3","_nodeVersion":"18.16.1","_npmVersion":"9.5.1","dist":{"integrity":"sha512-l1YWSweobpB0MPa22sumA5QEjOZ9hJXLbhyoACVXLL/9GdoX9St8OwXuUUBlWbwTfC96LSjn4UcL+wjooNunSg==","shasum":"d4504d80e1a9949230cb52497bb0438056fc858d","tarball":"https://registry.npmjs.org/@akashrajpurohit/snowflake-id/-/snowflake-id-1.4.3.tgz","fileCount":10,"unpackedSize":33023,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFTRHqD77NmI9neSEeapoAdICaYtQV20bTmAelMKJv98AiAT0oq4wAarjeIMkHup1e08/ocrPgnqV0Gi7d9XMn/VYQ=="}]},"_npmUser":{"name":"akashrajpurohit","email":"akashrajpurohit.009@gmail.com"},"directories":{},"maintainers":[{"name":"akashrajpurohit","email":"akashrajpurohit.009@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/snowflake-id_1.4.3_1688895551535_0.9248104078661035"},"_hasShrinkwrap":false},"1.5.0":{"name":"@akashrajpurohit/snowflake-id","version":"1.5.0","description":"A simple and lightweight Node.js library to generate unique snowflake IDs.","repository":{"type":"git","url":"git+https://github.com/AkashRajpurohit/snowflake-id.git"},"homepage":"https://github.com/AkashRajpurohit/snowflake-id","bugs":{"url":"https://github.com/AkashRajpurohit/snowflake-id/issues"},"author":{"name":"AkashRajpurohit","email":"me@akashrajpurohit.com","url":"https://akashrajpurohit.com"},"keywords":["snowflake-id","uuid-generator"],"license":"MIT","main":"./dist/index.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.js","types":"./dist/index.d.ts"},"./package.json":"./package.json"},"typesVersions":{"*":{}},"scripts":{"build":"tsup","dev":"tsup --watch","format":"prettier --write .","test":"vitest run","test:coverage":"vitest run --coverage","test:watch":"vitest watch","semantic-release":"semantic-release"},"devDependencies":{"@types/node":"^20.1.3","@vitest/coverage-c8":"^0.33.0","conventional-changelog-conventionalcommits":"^6.0.0","prettier":"^3.0.0","semantic-release":"^21.0.2","tsup":"^7.0.0","typescript":"^5.0.4","vitest":"^0.33.0"},"publishConfig":{"access":"public"},"release":{"branches":["main"],"plugins":[["@semantic-release/commit-analyzer",{"preset":"conventionalcommits","releaseRules":[{"type":"build","scope":"deps","release":"patch"}]}],["@semantic-release/release-notes-generator",{"preset":"conventionalcommits","presetConfig":{"types":[{"type":"feat","section":"Features"},{"type":"fix","section":"Bug Fixes"},{"type":"docs","section":"Documentation Changes"},{"type":"build","section":"Dependencies and Other Build Updates","hidden":false}]}}],"@semantic-release/npm","@semantic-release/github"]},"gitHead":"b0de51e82a973d2b2b3db3d654af6cf518f64f7a","_id":"@akashrajpurohit/snowflake-id@1.5.0","_nodeVersion":"18.17.0","_npmVersion":"9.6.7","dist":{"integrity":"sha512-uzEukeNAleAjCukVJRhJZ4jp1DxhffGhjI1MSFzhj39qoY+6KCqPh4AmvHDckZ4g/oruVRdsPZVrIWKip6ELng==","shasum":"5d88fca7dccc1f342061f6cb7d95e731d8b5150a","tarball":"https://registry.npmjs.org/@akashrajpurohit/snowflake-id/-/snowflake-id-1.5.0.tgz","fileCount":10,"unpackedSize":33017,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCREFowkqL9hkYvhIRut1OINdIra0ZoOFzXzDO0FTs/BAIhALk8/6KGEOS24Ug9GE0ZzYdRBQBK/FTxyFKdj/oLqyIj"}]},"_npmUser":{"name":"akashrajpurohit","email":"akashrajpurohit.009@gmail.com"},"directories":{},"maintainers":[{"name":"akashrajpurohit","email":"akashrajpurohit.009@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/snowflake-id_1.5.0_1691848990978_0.7133464100626095"},"_hasShrinkwrap":false},"1.5.1":{"name":"@akashrajpurohit/snowflake-id","version":"1.5.1","description":"A simple and lightweight Node.js library to generate unique snowflake IDs.","repository":{"type":"git","url":"git+https://github.com/AkashRajpurohit/snowflake-id.git"},"homepage":"https://github.com/AkashRajpurohit/snowflake-id","bugs":{"url":"https://github.com/AkashRajpurohit/snowflake-id/issues"},"author":{"name":"AkashRajpurohit","email":"me@akashrajpurohit.com","url":"https://akashrajpurohit.com"},"keywords":["snowflake-id","uuid-generator"],"license":"MIT","main":"./dist/index.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.js","types":"./dist/index.d.ts"},"./package.json":"./package.json"},"typesVersions":{"*":{}},"scripts":{"build":"tsup","dev":"tsup --watch","format":"prettier --write .","test":"vitest run","test:coverage":"vitest run --coverage","test:watch":"vitest watch","semantic-release":"semantic-release"},"devDependencies":{"@types/node":"^20.1.3","@vitest/coverage-v8":"^0.34.1","conventional-changelog-conventionalcommits":"^6.0.0","prettier":"^3.0.0","semantic-release":"^21.0.2","tsup":"^7.0.0","typescript":"^5.0.4","vitest":"^0.33.0"},"publishConfig":{"access":"public"},"release":{"branches":["main"],"plugins":[["@semantic-release/commit-analyzer",{"preset":"conventionalcommits","releaseRules":[{"type":"build","scope":"deps","release":"patch"}]}],["@semantic-release/release-notes-generator",{"preset":"conventionalcommits","presetConfig":{"types":[{"type":"feat","section":"Features"},{"type":"fix","section":"Bug Fixes"},{"type":"docs","section":"Documentation Changes"},{"type":"build","section":"Dependencies and Other Build Updates","hidden":false}]}}],"@semantic-release/npm","@semantic-release/github"]},"gitHead":"fbe360b4a47cab353b97d2d986de2a8e64bed75a","_id":"@akashrajpurohit/snowflake-id@1.5.1","_nodeVersion":"18.17.0","_npmVersion":"9.6.7","dist":{"integrity":"sha512-5kR/yznehfpJ44nno8YrNC6VGpkqWyYBwhWWU29+whbwNFslusGZ2VFvfyvB/ywwTaoa1j0+8T3m76BfLr5X9w==","shasum":"d80c035a5d233d2f8ef82151ecaa33c6f7a8b863","tarball":"https://registry.npmjs.org/@akashrajpurohit/snowflake-id/-/snowflake-id-1.5.1.tgz","fileCount":10,"unpackedSize":33012,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDY/F6t1olIFP0E7J05Dp6FOm4Mw1v5F3wIUknj05V7ugIgD/xLQS8NgIlUblWIXc+CNZml92vOqEbxWOZvcpKzPVU="}]},"_npmUser":{"name":"akashrajpurohit","email":"akashrajpurohit.009@gmail.com"},"directories":{},"maintainers":[{"name":"akashrajpurohit","email":"akashrajpurohit.009@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/snowflake-id_1.5.1_1691850185583_0.9511809324559579"},"_hasShrinkwrap":false},"2.0.0":{"name":"@akashrajpurohit/snowflake-id","version":"2.0.0","description":"A simple and lightweight Node.js library to generate unique snowflake IDs.","repository":{"type":"git","url":"git+https://github.com/AkashRajpurohit/snowflake-id.git"},"homepage":"https://github.com/AkashRajpurohit/snowflake-id","bugs":{"url":"https://github.com/AkashRajpurohit/snowflake-id/issues"},"author":{"name":"AkashRajpurohit","email":"me@akashrajpurohit.com","url":"https://akashrajpurohit.com"},"keywords":["snowflake-id","uuid-generator"],"license":"MIT","main":"./dist/index.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.js","types":"./dist/index.d.ts"},"./package.json":"./package.json"},"typesVersions":{"*":{}},"scripts":{"build":"tsup","dev":"tsup --watch","format":"prettier --write .","test":"vitest run","test:coverage":"vitest run --coverage","test:watch":"vitest watch","semantic-release":"semantic-release"},"devDependencies":{"@types/node":"^20.8.10","@vitest/coverage-v8":"^0.34.6","conventional-changelog-conventionalcommits":"^7.0.2","prettier":"^3.0.3","semantic-release":"^22.0.6","tsup":"^7.2.0","typescript":"^5.2.2","vitest":"^0.34.6"},"publishConfig":{"access":"public"},"release":{"branches":["main"],"plugins":[["@semantic-release/commit-analyzer",{"preset":"conventionalcommits","releaseRules":[{"type":"build","scope":"deps","release":"patch"}]}],["@semantic-release/release-notes-generator",{"preset":"conventionalcommits","presetConfig":{"types":[{"type":"feat","section":"Features"},{"type":"fix","section":"Bug Fixes"},{"type":"docs","section":"Documentation Changes"},{"type":"build","section":"Dependencies and Other Build Updates","hidden":false}]}}],"@semantic-release/npm","@semantic-release/github"]},"_id":"@akashrajpurohit/snowflake-id@2.0.0","gitHead":"4e31c459727ebdc788181c5e57c7f57d017fe91d","_nodeVersion":"18.18.2","_npmVersion":"9.8.1","dist":{"integrity":"sha512-9En2OKHBOO39vztHUxHUh/Xh6wTI1lEQ9c0ivr7QX3ozaKgs770TRJrgtBbQBeLLbMoLGG3fBk3otAlSY440pw==","shasum":"8ef8a446382267721e13a1ae0ae6b9846f66a48c","tarball":"https://registry.npmjs.org/@akashrajpurohit/snowflake-id/-/snowflake-id-2.0.0.tgz","fileCount":11,"unpackedSize":25906,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDQkR4xsHGSjRA5jO2vi0Lgy0gUlFkUbqB+xhSFa2aTZgIgD/fmDoi2gim64eSX6NQ5X700D19LzYgdEoaC8mJL/4U="}]},"_npmUser":{"name":"akashrajpurohit","email":"akashrajpurohit.009@gmail.com"},"directories":{},"maintainers":[{"name":"akashrajpurohit","email":"akashrajpurohit.009@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/snowflake-id_2.0.0_1698763878783_0.9489287350500186"},"_hasShrinkwrap":false}},"time":{"created":"2023-05-13T15:40:08.282Z","1.0.0":"2023-05-13T15:40:08.527Z","modified":"2023-10-31T14:51:19.200Z","1.1.0":"2023-05-13T17:21:34.904Z","1.2.0":"2023-05-13T17:43:34.545Z","1.2.1":"2023-05-13T17:47:06.968Z","1.3.0":"2023-05-14T08:15:46.130Z","1.4.0":"2023-05-14T08:45:26.354Z","1.4.1":"2023-05-20T08:45:11.390Z","1.4.2":"2023-06-16T13:37:51.005Z","1.4.3":"2023-07-09T09:39:11.728Z","1.5.0":"2023-08-12T14:03:11.214Z","1.5.1":"2023-08-12T14:23:05.751Z","2.0.0":"2023-10-31T14:51:19.017Z"},"maintainers":[{"name":"akashrajpurohit","email":"akashrajpurohit.009@gmail.com"}],"description":"A simple and lightweight Node.js library to generate unique snowflake IDs.","homepage":"https://github.com/AkashRajpurohit/snowflake-id","keywords":["snowflake-id","uuid-generator"],"repository":{"type":"git","url":"git+https://github.com/AkashRajpurohit/snowflake-id.git"},"author":{"name":"AkashRajpurohit","email":"me@akashrajpurohit.com","url":"https://akashrajpurohit.com"},"bugs":{"url":"https://github.com/AkashRajpurohit/snowflake-id/issues"},"license":"MIT","readme":"<h1 align=\"center\" style=\"border-bottom: none;\">❄️ @akashrajpurohit/snowflake-id</h1>\n<h3 align=\"center\">A simple and lightweight Node.js library to generate unique snowflake IDs.</h3>\n<br />\n<p align=\"center\">\n  <a href=\"https://github.com/AkashRajpurohit/snowflake-id/actions/workflows/test-and-release.yml\">\n    <img alt=\"Build states\" src=\"https://github.com/AkashRajpurohit/snowflake-id/actions/workflows/test-and-release.yml/badge.svg?branch=main\">\n  </a>\n  <a href=\"https://www.npmjs.com/package/@akashrajpurohit/snowflake-id\">\n    <img alt=\"npm latest version\" src=\"https://img.shields.io/npm/v/@akashrajpurohit/snowflake-id/latest.svg\">\n  </a>\n  <a href=\"https://www.npmjs.com/package/@akashrajpurohit/snowflake-id\">\n    <img alt=\"npm bundle size\" src=\"https://img.shields.io/bundlephobia/min/@akashrajpurohit/snowflake-id\">\n  </a>\n  <img alt=\"Visitors count\" src=\"https://visitor-badge.laobi.icu/badge?page_id=@akashrajpurohit~snowflake-id.visitor-badge&style=flat-square&color=0088cc\">\n  <a href=\"https://github.com/AkashRajpurohit/snowflake-id/actions\">\n    <img alt=\"Coverage\" src=\"https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/AkashRajpurohit/7336f237b82d9581c5f52405f87db531/raw/snowflake-id-coverage.json\">\n  </a>\n  <a href=\"https://www.npmjs.com/package/@akashrajpurohit/snowflake-id\">\n    <img alt=\"NPM license\" src=\"https://img.shields.io/npm/l/@akashrajpurohit/snowflake-id\">\n  </a>\n  <a href=\"https://twitter.com/akashwhocodes\">\n    <img alt=\"follow on twitter\" src=\"https://img.shields.io/twitter/follow/akashwhocodes.svg?style=social&label=@akashwhocodes\">\n  </a>\n\n  <p align=\"center\">\n    <a href=\"https://github.com/AkashRajpurohit/snowflake-id/issues/new?template=bug_report.md\">Bug report</a>\n    ·\n    <a href=\"https://github.com/AkashRajpurohit/snowflake-id/issues/new?template=feature_request.md\">Feature request</a>\n  </p>\n</p>\n<br />\n<hr />\n\n`@akashrajpurohit/snowflake-id` is a Node.js library for generating unique and distributed IDs that are suitable for use as primary keys in distributed systems.\n\nIt generates 64-bit IDs (in string format) that are composed of a timestamp, a worker ID, and a sequence number. These IDs are based on [Twitter's Snowflake ID](https://github.com/twitter-archive/snowflake/tree/snowflake-2010) generation algorithm.\n\n> Read in detail about [what are Snowflake IDs](https://akashrajpurohit.com/blog/snowflake-id-generating-unique-ids-for-distributed-systems/?ref=github-desc)\n\n## Installation 🚀\n\nYou can install `@akashrajpurohit/snowflake-id` using pnpm/npm/yarn:\n\n```bash\npnpm add @akashrajpurohit/snowflake-id\n\n# OR\n\nnpm install @akashrajpurohit/snowflake-id\n\n# OR\n\nyarn add @akashrajpurohit/snowflake-id\n```\n\n## Usage 💻\n\nHere's an example of how to use `@akashrajpurohit/snowflake-id`:\n\n```javascript\nimport { SnowflakeId } from '@akashrajpurohit/snowflake-id';\n\nconst snowflake = SnowflakeId({\n  workerId: 1,\n  epoch: 1597017600000,\n});\n\nconsole.log(snowflake.generate()); // 14755887168818983731200\n```\n\nThis will generate a unique ID in string format.\n\n## Configuration options ⚙️\n\nThe SnowflakeId constructor takes an options object with the following properties:\n\n- `workerId` (optional): A ID of the worker generating the Snowflake IDs.\n\n  Defaults to 0 if not specified.\n\n- `epoch` (optional): A timestamp in milliseconds representing the start of the ID generation.\n\n  Defaults to August 10, 2020 at 00:00:00 UTC if not specified.\n\n## Methods 🧮\n\nThe SnowflakeId instance has the following methods:\n\n- `generate()`: Generates a unique ID in string format.\n\n## Error Handling 😱\n\nThere are two errors that can be thrown by the SnowflakeId instance:\n\n- `Invalid Epoch Error`: The SnowflakeId instance throws an error if the epoch timestamp is invalid, i.e., if the epoch timestamp is greater than the current timestamp.\n\n- `Clock Backwards Error`: The SnowflakeId instance throws an error if the clock moves backwards, i.e., if the current timestamp is less than the last timestamp.\n\n## Examples 🔠\n\nHere's an example of how to generate 10 IDs:\n\n```javascript\nimport { SnowflakeId } from '@akashrajpurohit/snowflake-id';\n\nconst snowflake = SnowflakeId();\n\nfor (let i = 0; i < 10; i++) {\n  console.log(snowflake.generate());\n}\n```\n\nAnd here's an example of how to generate IDs using different worker IDs:\n\n```javascript\nimport { SnowflakeId } from '@akashrajpurohit/snowflake-id';\n\nconst worker1 = SnowflakeId({ workerId: 1 });\nconst worker2 = SnowflakeId({ workerId: 2 });\n\nconsole.log(worker1.generate()); // Generates an ID with worker ID 1\nconsole.log(worker2.generate()); // Generates an ID with worker ID 2\n```\n\nWhile using it in distributed systems, it is highly recommended that you set a unique `workerId` to reduce collisions of IDS.\n\nWhile the implementation detail depends on you, one simple way to set a possible unique `workerId` is to use `process.pid`.\n\n```javascript\nimport { SnowflakeId } from '@akashrajpurohit/snowflake-id';\n\nconst workerId = process.pid % 1024; // Using PID as workerId\nconst snowflake = SnowflakeId({ workerId });\n\nconst id = snowflake.generate(); // Generate a new Snowflake ID\nconsole.log(id);\n```\n\n## Notes 📝\n\n- The `workerId` parameter can be omitted, in which case the `workerId` would be set to 0. However, if you expect to generate IDs on multiple machines, it is recommended to set a specific workerId value to reduce the chance of ID collisions.\n\n- The epoch timestamp should be set as close to the current time as possible to maximize the lifespan of the generator. If the epoch is set too far in the past or future, the generator may not be able to generate IDs for the full lifespan of the generator.\n  <details>\n    <summary>Learn more</summary>\n    <p>The epoch timestamp is used as the starting point for generating unique IDs. If the epoch timestamp is set too far in the past or future, it can limit the lifespan of the generator. This is because the timestamp portion of a generated ID is typically a smaller number of bits compared to the total number of bits in the ID, and as a result, the maximum value for the timestamp portion can be reached more quickly than the other portions.</p>\n    <p>For example, if the epoch timestamp is set to January 1, 1970, which is the Unix epoch, and the generator is configured to use 41 bits for the timestamp portion, the maximum value for the timestamp portion would be reached in the year 2088. This means that after 2088, the generator would no longer be able to generate unique IDs.</p>\n    <p>Therefore, it's important to set the epoch timestamp as close to the current time as possible to maximize the lifespan of the generator. This will ensure that the timestamp portion of the generated IDs will not reach their maximum value too quickly, allowing the generator to continue generating unique IDs for a longer period of time.</p>\n  </details>\n\n## Bugs or Requests 🐛\n\nIf you encounter any problems feel free to open an [issue](https://github.com/AkashRajpurohit/snowflake-id/issues/new?template=bug_report.md). If you feel the project is missing a feature, please raise a [ticket](https://github.com/AkashRajpurohit/snowflake-id/issues/new?template=feature_request.md) on GitHub and I'll look into it. Pull requests are also welcome.\n\n## Where to find me? 👀\n\n[![Website Badge](https://img.shields.io/badge/-akashrajpurohit.com-3b5998?logo=google-chrome&logoColor=white)](https://akashrajpurohit.com/)\n[![Twitter Badge](https://img.shields.io/badge/-@akashwhocodes-00acee?logo=Twitter&logoColor=white)](https://twitter.com/AkashWhoCodes)\n[![Linkedin Badge](https://img.shields.io/badge/-@AkashRajpurohit-0e76a8?logo=Linkedin&logoColor=white)](https://linkedin.com/in/AkashRajpurohit)\n[![Instagram Badge](https://img.shields.io/badge/-@akashwho.codes-e4405f?logo=Instagram&logoColor=white)](https://instagram.com/akashwho.codes/)\n[![Telegram Badge](https://img.shields.io/badge/-@AkashRajpurohit-0088cc?logo=Telegram&logoColor=white)](https://t.me/AkashRajpurohit)\n","readmeFilename":"README.md"}