{"_id":"replace-ids","_rev":"32-b4499a067551f5e25f6acde1bd687237","name":"replace-ids","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"replace-ids","version":"0.1.0","keywords":["ids","util"],"author":{"url":"https://github.com/nikku>","name":"Nico Rehwaldt"},"license":"MIT","_id":"replace-ids@0.1.0","maintainers":[{"name":"bpmn-io","email":"bpmnio@camunda.com"}],"homepage":"https://github.com/bpmn-io/replace-ids#readme","bugs":{"url":"https://github.com/bpmn-io/replace-ids/issues"},"dist":{"shasum":"2a6697c9d87a92bcfe2b96a4f85764082c2cf7af","tarball":"https://registry.npmjs.org/replace-ids/-/replace-ids-0.1.0.tgz","fileCount":5,"integrity":"sha512-J0VQ7498tWUbhc7n3xzBY0To7IOhze7IPxVajv/QXOkJrzbhNafh7Fs7f9qqptV/9sT6MHl5VHPadwTZeDcmmg==","signatures":[{"sig":"MEQCIB954MQs2fP1pZspQ8gm/GG8dJZIvSinhOWqYPiwL9zQAiAUexNA2AG9gjE8GKrhhkINf9jDYbJcsLR/4490a37crA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3291,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcanprCRA9TVsSAnZWagAADQ8QAIF5YPFvZFsfGtGdKeUl\n7r0BRYTY5+1JVRyBgRnBWXshYrhcQiV8dNFK3iD4kIx2qTf8f19Mt9KH9Ue4\nm70651VZarwcuGTtizMFeXC4KPcw9MNwxlQt0WMSu9jYPTRlKAlBRXm1fmXP\nVbozz6L0Y8Gdij0mD2y0jSb+8IUfa464g9bFKWaYU8ANOYYT5rSFmfRY1pi/\nVV56mNxNlJCpyAHBezOU6q07LnKEBRZMC2IByqyf8pkhjUdtiw3IhOC9Tzst\neSjV7F60dtf8kBPKyE8ciE9HsccnN/NdfK/2N9/6+0VkOSGbhL1hSyD6oXfU\nvgB2HllEHpjS2qE4NA8qOLCc0lPw9JxHlXsBCjpCy8bgPWJpcGAILrLUyz0l\nQeKRMqeJGHS17vkxVUXVfuUnxTcN7qiSvZHougdUvyAWzltQOLVUAEXJULP3\nT7KmS3tFYPFNrqvobz/awNkx1fXQs7F47YupOgUlnwnQGNwwUpFq7WcfScFO\n0KrLWqeydn756qoM+yOZBOFGA3GKFewOS7ZLKXZqxdpzLLDXJztQMQnZW4G6\nH+tVyPfMx0uMfpSakeLv7afyaL5RUlfnk7LttNhCNtV2ixU5Ee6iArw27KxZ\npcm9Nm680CaOunnKtDFOI11TTBMBjxLTwhsOgUtdQR4ONaTVJO478dsRBtss\nouxl\r\n=M3q8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"cfbde0bff6fc4d436512931eba93d563a1c66ff0","scripts":{"all":"run-s lint test","lint":"eslint .","test":"mocha -r esm test.js"},"_npmUser":{"name":"bpmn-io","email":"bpmnio@camunda.com"},"deprecated":"Renamed to @bpmn-io/replace-ids","repository":{"url":"git+https://github.com/bpmn-io/replace-ids.git","type":"git"},"_npmVersion":"6.5.0","description":"Replace ID placeholders in a template with actual ids","directories":{},"_nodeVersion":"10.7.0","_hasShrinkwrap":false,"devDependencies":{"esm":"^3.2.5","ids":"^1.0.0","chai":"^4.2.0","mocha":"^5.2.0","eslint":"^5.14.0","npm-run-all":"^4.1.5","eslint-plugin-bpmn-io":"^0.6.1"},"_npmOperationalInternal":{"tmp":"tmp/replace-ids_0.1.0_1550482025750_0.8137171596152446","host":"s3://npm-registry-packages"}}},"time":{"created":"2019-02-18T09:27:05.749Z","modified":"2026-07-08T15:54:52.403Z","0.1.0":"2019-02-18T09:27:05.888Z"},"bugs":{"url":"https://github.com/bpmn-io/replace-ids/issues"},"author":{"url":"https://github.com/nikku>","name":"Nico Rehwaldt"},"license":"MIT","homepage":"https://github.com/bpmn-io/replace-ids#readme","keywords":["ids","util"],"repository":{"url":"git+https://github.com/bpmn-io/replace-ids.git","type":"git"},"description":"Replace ID placeholders in a template with actual ids","maintainers":[{"email":"bpmnio@camunda.com","name":"bpmn-io-admin"},{"email":"git_nikku@nixis.de","name":"nikku"},{"email":"maciejbarel@gmail.com","name":"barmac"},{"email":"philippfromme@outlook.com","name":"philippfromme"},{"email":"maximilian.trumpf@camunda.com","name":"maxtru"},{"email":"valentin.serra@camunda.com","name":"skaiir-camunda"},{"email":"vinicius@vsgoulart.com","name":"vsgoulart"},{"email":"ali.barin53@gmail.com","name":"barinali"},{"email":"ev.bilske@camunda.com","name":"ev-camunda"},{"email":"jarek.danielak@camunda.com","name":"jarekdanielak"},{"email":"alekseyManetov@gmail.com","name":"alekseymanetov"}],"readme":"# @bpmn-io/replace-ids\n\nReplace `ID` placeholders in a template with actual unique ids.\n\n\n## Usage\n\n```javascript\nimport replaceIds from '@bpmn-io/replace-ids';\n\nconst generator = {\n  count: 0,\n  next() {\n    return this.count++;\n  }\n};\n\nconst template = `\n  This is a {{ ID:a }} {{ ID }} {{ ID:a }}\n`;\n\nconst replaced = replaceIds(template, generator);\n\n// replaced = `\n//   This is a 0 1 0\n// `\n```\n\n\n## License\n\nMIT","readmeFilename":"README.md"}