{"_id":"@acryps/micro-uuid","_rev":"2-7eafaeaeae200b49c81b35893ce9c295","name":"@acryps/micro-uuid","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@acryps/micro-uuid","description":"Converts UUIDs into a shortened URL-encodeable form","version":"1.0.0","type":"module","_id":"@acryps/micro-uuid@1.0.0","gitHead":"461b1fe428b7db0f4d3c4891b9da6ddf0c115e43","_nodeVersion":"20.6.1","_npmVersion":"9.8.1","dist":{"integrity":"sha512-OKShYDyhzTs61rFhFRRCJsJsDT6EGq4rrxnL5uorbFySHmU15a7UJOqsmZkSTB9bdGgMt1NP3y+v+EDWeupg0g==","shasum":"71b66041f4caefa60c5fd294dc53c4858b6be0b6","tarball":"https://registry.npmjs.org/@acryps/micro-uuid/-/micro-uuid-1.0.0.tgz","fileCount":3,"unpackedSize":2156,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICz+BEPn8jHvK5AfkaUtq0JgTNxyWN7f9RhI7D3eZajZAiBcI0eJWmzLmWt5Vw+KvkvBOoH10fvdh7Fd41sOIJ6mQA=="}]},"_npmUser":{"name":"levvij","email":"levi.hechenberger@gmail.com"},"directories":{},"maintainers":[{"name":"levvij","email":"levi.hechenberger@gmail.com"},{"name":"eggsecuter","email":"adrian.habeler@gmail.com"},{"name":"acryps-admin","email":"git@acryps.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/micro-uuid_1.0.0_1709541655521_0.6706719353517003"},"_hasShrinkwrap":false},"1.0.1":{"name":"@acryps/micro-uuid","description":"Converts UUIDs into a shortened URL-encodeable form","version":"1.0.1","type":"module","_id":"@acryps/micro-uuid@1.0.1","gitHead":"fb5b434ac4aa7fadf55461e9a85b9eaa1ce89bb3","_nodeVersion":"20.6.1","_npmVersion":"9.8.1","dist":{"integrity":"sha512-9lyXm1JBimJeRgOoz4OLhj3zVvqZCdJPmgtcoO36rKh4sDwAN5EfeshXhZzB82uMT075ZWEPJy0Y1qNw1+0T+g==","shasum":"60a38404d8c3925b68d357c96230bc0e8f247e5c","tarball":"https://registry.npmjs.org/@acryps/micro-uuid/-/micro-uuid-1.0.1.tgz","fileCount":3,"unpackedSize":2156,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDAvIsOV6Hiq1ZWtUNKFJo329MQ9HSf3GoNqxWuVQhYiQIhAMUDBqzj8j1a4IvhY+2cukcwo+jVfnaqmy/Xrk41MamU"}]},"_npmUser":{"name":"levvij","email":"levi.hechenberger@gmail.com"},"directories":{},"maintainers":[{"name":"levvij","email":"levi.hechenberger@gmail.com"},{"name":"eggsecuter","email":"adrian.habeler@gmail.com"},{"name":"acryps-admin","email":"git@acryps.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/micro-uuid_1.0.1_1709541762488_0.18501990406373947"},"_hasShrinkwrap":false},"1.0.2":{"name":"@acryps/micro-uuid","description":"Converts UUIDs into a shortened URL-encodeable form","version":"1.0.2","type":"module","scripts":{"test":"node test.js"},"_id":"@acryps/micro-uuid@1.0.2","gitHead":"e113b865021804ddcfc3b34d217b978d0cc11a95","_nodeVersion":"20.6.1","_npmVersion":"9.8.1","dist":{"integrity":"sha512-eN7wUI7cCWyUxLokNusydIt8V4/CDXMJLlT/264gz0ZHAFsx5XQ3mrke3AE3VbcyTZ1WsRphNgGgVB8vVIEjKA==","shasum":"e56483036eada356e5b0d763621e960f0d24d230","tarball":"https://registry.npmjs.org/@acryps/micro-uuid/-/micro-uuid-1.0.2.tgz","fileCount":4,"unpackedSize":2859,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDnb4BcyOtFYgoMdBxjaFJygC+CdpcOkKJVasflShBS9AiEA5JU8YC4ANmC5VA/RvbZqEWxoG5Qo4ENE0G+MLf7A/Ow="}]},"_npmUser":{"name":"levvij","email":"levi.hechenberger@gmail.com"},"directories":{},"maintainers":[{"name":"levvij","email":"levi.hechenberger@gmail.com"},{"name":"eggsecuter","email":"adrian.habeler@gmail.com"},{"name":"acryps-admin","email":"git@acryps.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/micro-uuid_1.0.2_1709558608838_0.051541810874933924"},"_hasShrinkwrap":false}},"time":{"created":"2024-03-04T08:40:55.397Z","1.0.0":"2024-03-04T08:40:55.684Z","modified":"2024-03-04T13:23:29.628Z","1.0.1":"2024-03-04T08:42:42.622Z","1.0.2":"2024-03-04T13:23:28.964Z"},"maintainers":[{"name":"levvij","email":"levi.hechenberger@gmail.com"},{"name":"eggsecuter","email":"adrian.habeler@gmail.com"},{"name":"acryps-admin","email":"git@acryps.com"}],"description":"Converts UUIDs into a shortened URL-encodeable form","readme":"# MicroUUID\nConverts UUIDs into a shortened URL-encodeable form. \n\nNow you can use shorter URLs!\n```\nhttps://example.com/offer/7f6e5313-2103-431c-b299-769f7db25008 → https://example.com/offer/IhfFAYArMGYYLVcIIWEMat\n```\n\n```\nimport { shorten, expand } from '@acryps/micro-uuid';\n\n// create a cool short link to an offer\nconst linkButton = <ui-button ui-href={`/offer/${shorten(offer.id)}`}>\n\t{offer.name}\n</ui-button>;\n\n// get the offer by UUID from the link\nconst offer = await offerService.find(expand(parameters.id));\n```\n\nThe encoding uses a base64-esque form (using 63 = - and 64 = _). The mapping has been picked randomly.\n","readmeFilename":"readme.md"}