# replace-ids **Repository Path**: mirrors_bpmn-io/replace-ids ## Basic Information - **Project Name**: replace-ids - **Description**: Replace ID placeholders in a template with actual unique ids. - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-24 - **Last Updated**: 2026-07-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # @bpmn-io/replace-ids Replace `ID` placeholders in a template with actual unique ids. ## Usage ```javascript import replaceIds from '@bpmn-io/replace-ids'; const generator = { count: 0, next() { return this.count++; } }; const template = ` This is a {{ ID:a }} {{ ID }} {{ ID:a }} `; const replaced = replaceIds(template, generator); // replaced = ` // This is a 0 1 0 // ` ``` ## License MIT