{"_id":"agileid","_rev":"27-31558d37e78f84fde80ab777106383d2","name":"agileid","description":"generate agilemd identifiers","dist-tags":{"latest":"1.5.2"},"versions":{"0.1.0":{"name":"agileid","author":{"name":"AgileMD","email":"engineering@agilemd.com"},"contributors":[{"name":"jden","email":"jason@denizac.org"}],"version":"0.1.0","description":"generate agilemd identifiers","keywords":["identifier","id"],"main":"index.js","scripts":{"test":"mochi"},"repository":{"type":"git","url":"git@github.com:agilemd/agileid.git"},"license":"ISC","devDependencies":{"mochi":"0.3.0"},"gitHead":"58548d0eb573af5e9377f66c0540b9d8fa01fc42","bugs":{"url":"https://github.com/agilemd/agileid/issues"},"homepage":"https://github.com/agilemd/agileid","_id":"agileid@0.1.0","_shasum":"8ca28afc594e3bc9043ac9ceb48e7a5439c9461c","_from":".","_npmVersion":"2.5.0","_nodeVersion":"0.10.36","_npmUser":{"name":"jden","email":"jason@denizac.org"},"maintainers":[{"name":"jden","email":"jason@denizac.org"}],"dist":{"shasum":"8ca28afc594e3bc9043ac9ceb48e7a5439c9461c","tarball":"https://registry.npmjs.org/agileid/-/agileid-0.1.0.tgz","integrity":"sha512-D5x5Z3a9LSKq2rqICqbjhEslfEwml98oozoKKf6CuwZBpcjrcAwy/AKMx2EjzMD/aBD9wGqj3E451nSLmoDhxA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEWXG+8HfZMbui0DGzeA0YEJSibAgU0guOhqcPAtN55oAiAdt/o1op329LsmeiQLReGDUrtVokenOZGkMfK1bZlapA=="}]},"directories":{}},"1.0.0":{"name":"agileid","author":{"name":"AgileMD","email":"engineering@agilemd.com"},"contributors":[{"name":"jden","email":"jason@denizac.org"}],"version":"1.0.0","description":"generate agilemd identifiers","keywords":["identifier","id"],"main":"index.js","scripts":{"test":"mochi"},"repository":{"type":"git","url":"git@github.com:agilemd/agileid.git"},"license":"ISC","devDependencies":{"mochi":"0.3.0"},"dependencies":{"base64url":"^1.0.4","objectid":"^1.1.0"},"gitHead":"a77ae80ca71a5e8a964655c0e6098527e57298b6","bugs":{"url":"https://github.com/agilemd/agileid/issues"},"homepage":"https://github.com/agilemd/agileid","_id":"agileid@1.0.0","_shasum":"1e744fc957ca35125cf34b0983c1345d8c80007d","_from":".","_npmVersion":"2.5.0","_nodeVersion":"0.10.36","_npmUser":{"name":"jden","email":"jason@denizac.org"},"maintainers":[{"name":"jden","email":"jason@denizac.org"}],"dist":{"shasum":"1e744fc957ca35125cf34b0983c1345d8c80007d","tarball":"https://registry.npmjs.org/agileid/-/agileid-1.0.0.tgz","integrity":"sha512-c4VxxnFGUJerDSHptv0qVNELMJvxhp0k2977D982eSKtqrVElCsLufkH74/BbcelkHDXNgjLGAaa3ZIdRmLNIQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFooYvFkEvb1u95p1tWddnoFH5iNxWO8d49m0pc72HVEAiAJ1lZBxmH8T36U0qw83/PEoBEX++7U7Eif3Ub4nNw+Bg=="}]},"directories":{}},"1.0.1":{"name":"agileid","author":{"name":"AgileMD","email":"engineering@agilemd.com"},"contributors":[{"name":"jden","email":"jason@denizac.org"}],"version":"1.0.1","description":"generate agilemd identifiers","keywords":["identifier","id"],"main":"index.js","scripts":{"test":"mochi"},"bin":{"agileid":"./bin.js"},"repository":{"type":"git","url":"git@github.com:agilemd/agileid.git"},"license":"ISC","devDependencies":{"mochi":"0.3.0"},"dependencies":{"base64url":"^1.0.4","objectid":"^1.1.0"},"gitHead":"2332507e958b94583e90994daa01b8f26d0864b0","bugs":{"url":"https://github.com/agilemd/agileid/issues"},"homepage":"https://github.com/agilemd/agileid","_id":"agileid@1.0.1","_shasum":"1b2b1e890c0eb4bd10b8bfdd57c02fe0aecd03ac","_from":".","_npmVersion":"2.5.0","_nodeVersion":"0.10.36","_npmUser":{"name":"jden","email":"jason@denizac.org"},"maintainers":[{"name":"jden","email":"jason@denizac.org"}],"dist":{"shasum":"1b2b1e890c0eb4bd10b8bfdd57c02fe0aecd03ac","tarball":"https://registry.npmjs.org/agileid/-/agileid-1.0.1.tgz","integrity":"sha512-VtISXbaS6LcuVlLZCCTUH73MilXxx0D+1jQv3Qc6tukQImDGahrSTMchXEX19wQdzteyeSG9d3saUUJa6hFo6w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCjhcRxeG/e9Lj90z4tYZCTgaAPBBdrLJS1erfkaL50KwIhAOLK4CqoOWIqn+Amj0P555q7fuBtnDjflXXzHlOdxy+D"}]},"directories":{}},"1.1.0":{"name":"agileid","author":{"name":"AgileMD","email":"engineering@agilemd.com"},"contributors":[{"name":"jden","email":"jason@denizac.org"}],"version":"1.1.0","description":"generate agilemd identifiers","keywords":["identifier","id"],"main":"index.js","scripts":{"test":"mochi"},"bin":{"agileid":"./bin.js"},"repository":{"type":"git","url":"git@github.com:agilemd/agileid.git"},"license":"ISC","devDependencies":{"mochi":"0.3.0"},"dependencies":{"base64url":"^1.0.4","objectid":"^1.1.0"},"gitHead":"b217bdbf3511c0f78004a1a40eed27c271373eef","bugs":{"url":"https://github.com/agilemd/agileid/issues"},"homepage":"https://github.com/agilemd/agileid","_id":"agileid@1.1.0","_shasum":"7bea31cff59001b3fcba30dd72373055f54358c2","_from":".","_npmVersion":"2.5.0","_nodeVersion":"0.10.36","_npmUser":{"name":"jden","email":"jason@denizac.org"},"maintainers":[{"name":"jden","email":"jason@denizac.org"}],"dist":{"shasum":"7bea31cff59001b3fcba30dd72373055f54358c2","tarball":"https://registry.npmjs.org/agileid/-/agileid-1.1.0.tgz","integrity":"sha512-mrjG6CAiQmZkhfglWwH+NApbthmT3t9z9oY9QjLSoOxvC8vnU3SlL6djkKsCGjVPPvuFFAk+g/dFlmoTtReVLw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD4eC3o+/L7JI0O48MnV/DkLBJXIN+NeZkoiGKORYwliAIhAI5gGNFt8+BJ/VxYcLts9F5Ffkhu8lm4E+BLgXYC/dte"}]},"directories":{}},"1.2.0":{"name":"agileid","author":{"name":"AgileMD","email":"engineering@agilemd.com"},"contributors":[{"name":"jden","email":"jason@denizac.org"}],"version":"1.2.0","description":"generate agilemd identifiers","keywords":["identifier","id"],"main":"index.js","scripts":{"test":"mochi"},"bin":{"agileid":"./bin.js"},"repository":{"type":"git","url":"git@github.com:agilemd/agileid.git"},"license":"ISC","devDependencies":{"mochi":"0.3.0"},"dependencies":{"base64url":"^1.0.4","objectid":"^1.1.0"},"gitHead":"4cbbfbae48853848c2d1b63df9409b63e428cb86","bugs":{"url":"https://github.com/agilemd/agileid/issues"},"homepage":"https://github.com/agilemd/agileid","_id":"agileid@1.2.0","_shasum":"eeace6336e49b56c556bfbcea13009219f356731","_from":".","_npmVersion":"2.5.0","_nodeVersion":"0.10.36","_npmUser":{"name":"jden","email":"jason@denizac.org"},"maintainers":[{"name":"jden","email":"jason@denizac.org"}],"dist":{"shasum":"eeace6336e49b56c556bfbcea13009219f356731","tarball":"https://registry.npmjs.org/agileid/-/agileid-1.2.0.tgz","integrity":"sha512-oYDtuRFDKziIpBnjZSr8dadj1v/QA1dTBQNTDriOMUX+OHQjgsR4YKz9yFkMT+U/eZeMbB+KIwZnxlwmnxRcNA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBzw5h4B1zuRzXs0/imjnFndKUOtlUwO/GGMPZ9BS7XmAiEAl372GZ/pFQSaabZgNaj40J/8tE1pt0a1l0zdfWl7XrQ="}]},"directories":{}},"1.3.0":{"name":"agileid","author":{"name":"AgileMD","email":"engineering@agilemd.com"},"contributors":[{"name":"jden","email":"jason@denizac.org"}],"version":"1.3.0","description":"generate agilemd identifiers","keywords":["identifier","id"],"main":"index.js","scripts":{"test":"mochi"},"bin":{"agileid":"./bin.js"},"repository":{"type":"git","url":"git@github.com:agilemd/agileid.git"},"license":"ISC","devDependencies":{"mochi":"0.3.0"},"dependencies":{"base64url":"^1.0.4","objectid":"^1.1.0"},"gitHead":"6d77904b14f9ed50a2d4342fef62ed4e5282609f","bugs":{"url":"https://github.com/agilemd/agileid/issues"},"homepage":"https://github.com/agilemd/agileid","_id":"agileid@1.3.0","_shasum":"c142cbd5b933b6c3a61ae07fe41bae22601f1446","_from":".","_npmVersion":"2.5.0","_nodeVersion":"0.10.36","_npmUser":{"name":"jden","email":"jason@denizac.org"},"maintainers":[{"name":"jden","email":"jason@denizac.org"}],"dist":{"shasum":"c142cbd5b933b6c3a61ae07fe41bae22601f1446","tarball":"https://registry.npmjs.org/agileid/-/agileid-1.3.0.tgz","integrity":"sha512-5/UK+ksyfu5lqkQJXlbgTRf4cNEOaTx5/bffVhl+5+4UtR0sNAoJNCVpDPHOhWGMTtuAFeadcG++wd3wuGzSJg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDNfX1cqK5bjbYVBTkZ81VAtVZgU27+P3EQHawRLuje5AIgRiciaXmrX4uqf4QMeTawxfk0wTzLVkMwkRr7uw50qNY="}]},"directories":{}},"1.4.0":{"name":"agileid","author":{"name":"AgileMD","email":"engineering@agilemd.com"},"contributors":[{"name":"jden","email":"jason@denizac.org"}],"version":"1.4.0","description":"generate agilemd identifiers","keywords":["identifier","id"],"main":"index.js","scripts":{"test":"mochi"},"bin":{"agileid":"./bin.js"},"repository":{"type":"git","url":"git@github.com:agilemd/agileid.git"},"license":"ISC","devDependencies":{"mochi":"0.3.0"},"dependencies":{"base64url":"^1.0.4","objectid":"^1.1.0"},"gitHead":"4766ea26a3fa257ff900c78dd58d9e32f50b641f","bugs":{"url":"https://github.com/agilemd/agileid/issues"},"homepage":"https://github.com/agilemd/agileid","_id":"agileid@1.4.0","_shasum":"cb354db58d99f8eb92d8071807a0c531f9f3e0e0","_from":".","_npmVersion":"2.5.0","_nodeVersion":"0.10.36","_npmUser":{"name":"jden","email":"jason@denizac.org"},"maintainers":[{"name":"jden","email":"jason@denizac.org"}],"dist":{"shasum":"cb354db58d99f8eb92d8071807a0c531f9f3e0e0","tarball":"https://registry.npmjs.org/agileid/-/agileid-1.4.0.tgz","integrity":"sha512-cvlI2sFYTL/1YwITwIq8s5Jmj9A/FGSRHdAWHVzWYn/xK/5XQZTDZJxhAOxT6iDCCPq/AGpTRhD/S3Bjv8Flkw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDDfvdll5EUjrTJRMP2LKPHUDLxgtav5bRmXySTVWDSLQIhALAlTQAUuHGUZ05M1b7qTmzpI6CsKsG6L//WIvgob0nv"}]},"directories":{}},"1.5.0":{"name":"agileid","author":{"name":"AgileMD","email":"engineering@agilemd.com"},"contributors":[{"name":"jden","email":"jason@denizac.org"}],"version":"1.5.0","description":"generate agilemd identifiers","keywords":["identifier","id"],"main":"index.js","scripts":{"test":"mochi"},"bin":{"agileid":"./bin.js"},"repository":{"type":"git","url":"git@github.com:agilemd/agileid.git"},"license":"ISC","devDependencies":{"mochi":"0.3.0"},"dependencies":{"base64url":"1.0.4","objectid":"1.1.0"},"gitHead":"73d9e46ef65e0a3403c68c62aae2f2995dddd0eb","bugs":{"url":"https://github.com/agilemd/agileid/issues"},"homepage":"https://github.com/agilemd/agileid","_id":"agileid@1.5.0","_shasum":"35cfb8f0c49d697d89a54edcff09fc4b142dba88","_from":".","_npmVersion":"2.5.0","_nodeVersion":"0.10.36","_npmUser":{"name":"jden","email":"jason@denizac.org"},"maintainers":[{"name":"jden","email":"jason@denizac.org"}],"dist":{"shasum":"35cfb8f0c49d697d89a54edcff09fc4b142dba88","tarball":"https://registry.npmjs.org/agileid/-/agileid-1.5.0.tgz","integrity":"sha512-1qtrRVvATKqV3bfgougrgNCaPsSAA3jsDTM/QuXDtObHrMCV6ukrgjhhIsScatk/SGpKL3d9Lxkdo2GgDVWqRw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC6fFRLMXlNv3aAFbk60FSvJuPXQcPp3KqNUSkrIAG0EAIgII+1r3d8G6xoagaugWZ9qnCot4eawCI+QrRgFo51P+A="}]},"directories":{}},"1.5.1":{"name":"agileid","author":{"name":"AgileMD","email":"engineering@agilemd.com"},"contributors":[{"name":"jden","email":"jason@denizac.org"}],"version":"1.5.1","description":"generate agilemd identifiers","keywords":["identifier","id"],"main":"index.js","scripts":{"test":"mochi"},"bin":{"agileid":"./bin.js"},"repository":{"type":"git","url":"git@github.com:agilemd/agileid.git"},"license":"ISC","devDependencies":{"mochi":"0.3.0"},"dependencies":{"base64url":"1.0.4","objectid":"1.1.0"},"gitHead":"31df52f42c5807c7f622aff707b5b08c7e725914","bugs":{"url":"https://github.com/agilemd/agileid/issues"},"homepage":"https://github.com/agilemd/agileid","_id":"agileid@1.5.1","_shasum":"3d1ead6cc61d067792e2fa852e8e27a3688ee8a3","_from":".","_npmVersion":"2.7.0","_nodeVersion":"0.10.36","_npmUser":{"name":"jden","email":"jason@denizac.org"},"dist":{"shasum":"3d1ead6cc61d067792e2fa852e8e27a3688ee8a3","tarball":"https://registry.npmjs.org/agileid/-/agileid-1.5.1.tgz","integrity":"sha512-I+SA+J36nHdRq70eCZ7U8oFEnp/GDaBt8GU4ESHGn7Lbw0rR1SONHhDLlRlFFe3mhfJiG3v9kgGbRbwr9ku7yw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD4bsfAT1TMTwkpQnWencEEyV1xsGon+RARjKZkFvQ3wAIgLBmNaDZWQ16a19HcDVLqvdcr3GXi9Z+wJzoYb51HFxY="}]},"maintainers":[{"name":"jden","email":"jason@denizac.org"}],"directories":{}},"1.5.2":{"name":"agileid","author":{"name":"AgileMD","email":"engineering@agilemd.com"},"contributors":[{"name":"jden","email":"jason@denizac.org"}],"version":"1.5.2","description":"generate agilemd identifiers","keywords":["identifier","id"],"main":"index.js","scripts":{"test":"jsw && mochi","lint":"jsw"},"bin":{"agileid":"./bin.js"},"repository":{"type":"git","url":"git@github.com:agilemd/agileid.git"},"license":"ISC","devDependencies":{"mochi":"0.3.0"},"dependencies":{"base64url":"1.0.4","objectid":"1.1.0"},"gitHead":"0bebe3bcad77f95a56286b8994315da920412e3d","bugs":{"url":"https://github.com/agilemd/agileid/issues"},"homepage":"https://github.com/agilemd/agileid","_id":"agileid@1.5.2","_shasum":"d1b5ddd201d7ea2be7335aeeb3bcccd2ca67aa4d","_from":".","_npmVersion":"2.7.0","_nodeVersion":"0.10.36","_npmUser":{"name":"jden","email":"jason@denizac.org"},"dist":{"shasum":"d1b5ddd201d7ea2be7335aeeb3bcccd2ca67aa4d","tarball":"https://registry.npmjs.org/agileid/-/agileid-1.5.2.tgz","integrity":"sha512-5py5gy3vGtiUjiuPDwDlJDx4RWnoQmLiTxY7JBs3lASz0DzRTaMFa+O3xKiCFTFROhAxFSjHD14pz7FuoAzKnQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD8uYD6ejPDTwbh5RGDZFNx8dIa2tu8+dWlnZP8UZywhQIhAK3hscP3RTK5MV+WBAaNzmeWsogBE6fT1V9Vz2Fi1BRT"}]},"maintainers":[{"name":"jden","email":"jason@denizac.org"}],"directories":{}}},"readme":"# agileid\ngenerate agilemd identifiers\n\n\n## usage\n\n```js\nvar AgileId = require('agileid')\n\nAgileId.create()\n// => VOKLm0YfEhYAAAA9\n\nAgileId.create('foo')\n// => foo!VOKLm0YfEhYAAAA-\n\nAgileId.cast('user', 'VOKLm0YfEhYAAAA9')\n// => user!VOKLm0YfEhYAAAA9\n```\n\n\n## api\n\n`type AgileId <: String`\n\n#### `AgileId.create : (type? : String, fromId? : AgileId | ObjectId) => AgileId`\n\nnote, passing in the `fromId` is deprecated. Use `AgileId.cast` instead.\nOnly use `AgileId.create` when you are expecting to generate a completely new\nidentifier.\n\n#### `AgileId.cast : (type? : String, AgileId | String | ObjectId) => AgileId`\n\n#### `AgileId.parse : (String | AgileId) => {id: String, type: String?}`\n\n#### `AgileId.format : ({id: String, type?: String}) => AgileId`\n\n#### `AgileId.isValid : (input : Any) => Boolean`\nReturns `true` if `input` is a valid AgileId string.\n\n#### `AgileId.toHexString : (id : AgileId) => hex : String`\nUseful for converting AgileIds to ObjectIds. Note that AgileId type information is lost.\n\n\n## installation\n\n    $ npm install agileid\n\n## cli usage\n\n```console\n> agileid\n< VOKaxIFSYp7_AAHs\n\n# typed ids\n> agileid foo\n< foo!VOKa3KhUgSP_AAB9\n\n# cast from objectid\n> agileid -- 54e29b00153dbf6e00000001\n< VOKbABU9v24AAAAB\n\n# cast from objectid with type\n> agileid foo 54e29b00153dbf6e00000001\n< foo!VOKbABU9v24AAAAB\n```\n\n## running the tests\n\nFrom package root:\n\n    $ npm install\n    $ npm test\n\n\n## contributors\n\n- jden <jason@denizac.org>\n\n\n## license\n\nISC. (c) MMXV AgileMD\n","maintainers":[{"email":"borna.safabakhsh@gmail.com","name":"bornas"}],"time":{"modified":"2022-06-13T02:31:01.477Z","created":"2015-02-17T00:04:45.668Z","0.1.0":"2015-02-17T00:04:45.668Z","1.0.0":"2015-02-17T01:09:48.572Z","1.0.1":"2015-02-17T01:44:25.591Z","1.1.0":"2015-02-17T02:24:00.029Z","1.2.0":"2015-02-17T19:41:44.933Z","1.3.0":"2015-02-23T23:03:53.982Z","1.4.0":"2015-02-24T01:42:09.005Z","1.5.0":"2015-02-25T18:08:14.247Z","1.5.1":"2015-06-03T23:55:56.669Z","1.5.2":"2015-06-04T00:15:12.436Z"},"homepage":"https://github.com/agilemd/agileid","keywords":["identifier","id"],"repository":{"type":"git","url":"git@github.com:agilemd/agileid.git"},"contributors":[{"name":"jden","email":"jason@denizac.org"}],"author":{"name":"AgileMD","email":"engineering@agilemd.com"},"bugs":{"url":"https://github.com/agilemd/agileid/issues"},"license":"ISC","readmeFilename":"README.md"}