{"_id":"muggle-string","_rev":"1697632","name":"muggle-string","description":"Ranked, conflict-free rewrites of a source text, rendered as format-neutral pieces","dist-tags":{"latest":"1.0.4","next":"1.0.2-alpha.0"},"maintainers":[{"name":"johnsoncodehk","email":"johnsoncodehk@gmail.com"}],"time":{"modified":"2026-11-07T08:02:37.000Z","created":"2022-09-29T13:26:11.724Z","1.0.4":"2026-11-06T20:38:37.706Z","1.0.3":"2026-11-04T09:17:33.371Z","1.0.2":"2026-11-04T04:01:56.811Z","1.0.2-alpha.0":"2026-11-04T02:04:55.388Z","1.0.1":"2026-11-04T01:31:38.765Z","1.0.0":"2026-11-01T12:15:06.800Z","1.0.0-alpha.7":"2026-11-01T11:58:09.825Z","1.0.0-alpha.6":"2026-11-01T07:38:48.739Z","1.0.0-alpha.5":"2026-11-01T05:25:17.616Z","1.0.0-alpha.4":"2026-10-31T23:12:12.562Z","1.0.0-alpha.3":"2026-10-31T22:18:01.900Z","1.0.0-alpha.2":"2026-10-31T03:54:49.165Z","1.0.0-alpha.1":"2026-10-30T15:54:51.904Z","1.0.0-alpha.0":"2026-10-30T12:01:09.278Z","0.4.1":"2023-12-06T03:29:14.162Z","0.4.0":"2023-11-26T07:33:42.617Z","0.3.1":"2023-05-09T15:24:56.312Z","0.3.0":"2023-05-08T09:29:15.122Z","0.2.2":"2023-01-18T11:24:12.038Z","0.2.1":"2022-12-26T21:38:20.799Z","0.2.0":"2022-12-26T14:32:35.240Z","0.1.0":"2022-09-29T13:26:11.724Z"},"users":{},"repository":{"url":"git+https://github.com/johnsoncodehk/muggle-string.git","type":"git"},"versions":{"1.0.4":{"_id":"muggle-string@1.0.4","bugs":{"url":"https://github.com/johnsoncodehk/muggle-string/issues"},"dist":{"shasum":"fe352a1ac06b875a7500c82b97d6ef07baa62683","tarball":"http://registry-npm.ywwl.com/muggle-string/download/muggle-string-1.0.4.tgz","fileCount":20,"integrity":"sha512-tF1lLgDRUQ9DG4JLvXlCzP17t1AUx2MVlM6QSyCfr/aHMCblpfHufbWeBrroUdVzhVoNzgvY3X3EBNdeVNHpag==","signatures":[{"sig":"MEYCIQDDsra6+2UWYbXORBSun6mXbl/IkxiW4u+XtLA0vSZExQIhAPrUTw8Vky0rc4WxYgux8cU+59YjaQZe+fBRsgTC1nym","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDPzXRrp32zX3m9p0ylXe1BHWOehbGe3ouHZJbTovYI0QIgS/13sVU2N1C1yibjfD5pfKruhRB6Rg3I35qyaecdITU="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/muggle-string@1.0.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":129690,"size":20806,"noattachment":false,"key":"/muggle-string/-/muggle-string-1.0.4.tgz"},"main":"./out/cjs/index.js","name":"muggle-string","type":"module","types":"./out/cjs/index.d.ts","engines":{"node":">=12"},"exports":{".":{"import":{"types":"./out/index.d.ts","default":"./out/index.js"},"require":{"types":"./out/cjs/index.d.ts","default":"./out/cjs/index.js"}}},"gitHead":"d67f2c4aead270a98c75da0ea92b9a49eac314b6","license":"MIT","scripts":{"test":"vitest run","bench":"node bench/run.mjs","build":"tsc && tsc -p tsconfig.cjs.json && node -e \"require('fs').writeFileSync('out/cjs/package.json', JSON.stringify({ type: 'commonjs' }) + '\\n')\"","prepare":"tsc && tsc -p tsconfig.cjs.json && node -e \"require('fs').writeFileSync('out/cjs/package.json', JSON.stringify({ type: 'commonjs' }) + '\\n')\""},"version":"1.0.4","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"bf75734c-c954-40b0-b50b-6c9b1c3a1f2c"}},"homepage":"https://github.com/johnsoncodehk/muggle-string#readme","repository":{"url":"git+https://github.com/johnsoncodehk/muggle-string.git","type":"git"},"_npmVersion":"12.2.2","description":"Ranked, conflict-free rewrites of a source text, rendered as format-neutral pieces","directories":{},"maintainers":[{"name":"johnsoncodehk","email":"johnsoncodehk@gmail.com"}],"sideEffects":false,"_nodeVersion":"24.22.2","_hasShrinkwrap":false,"devDependencies":{"vitest":"latest","typescript":"7.1.0-beta","@types/node":"^26.0.1","muggle-string-0.4":"npm:muggle-string@0.4.1","@jridgewell/trace-mapping":"^0.3.31"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/muggle-string_1.0.4_1793997517601_0.10315737393547197"},"publish_time":1793997517706,"_cnpm_publish_time":1793997517706},"1.0.3":{"name":"muggle-string","version":"1.0.3","license":"MIT","_id":"muggle-string@1.0.3","maintainers":[{"name":"johnsoncodehk","email":"johnsoncodehk@gmail.com"}],"homepage":"https://github.com/johnsoncodehk/muggle-string#readme","bugs":{"url":"https://github.com/johnsoncodehk/muggle-string/issues"},"dist":{"shasum":"f943fa2b4c044604882a4085eba574bf7f5abec1","tarball":"http://registry-npm.ywwl.com/muggle-string/download/muggle-string-1.0.3.tgz","fileCount":20,"integrity":"sha512-AWKZWqloOHnvCtw0L4v+PZPWCWjoMwBpimo5GOdUM7giynho7uqcXM+1cK4FyhvDGJAPUmfOXGytSPITp+bF9g==","signatures":[{"sig":"MEQCICyNVRRYsZ18QyI2Z+8pJCxn/Am5wQywTJ4YrYuBJ8ZvAiA/51ezTLep5qDxY/yZhqPjgdFEDKa/tJk4Xp1l0jhFYg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCICNSmItHdENtlqDIYc8isCgMuyIAi5Y9SDw+3ZNzWPjEAiApoA4os/3n3vKHFy3BpBxGYUmcao+4pOh/+NsLzUb58w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/muggle-string@1.0.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":140535,"size":24626,"noattachment":false,"key":"/muggle-string/-/muggle-string-1.0.3.tgz"},"main":"./out/cjs/index.js","type":"module","types":"./out/cjs/index.d.ts","engines":{"node":">=12"},"exports":{".":{"import":{"types":"./out/index.d.ts","default":"./out/index.js"},"require":{"types":"./out/cjs/index.d.ts","default":"./out/cjs/index.js"}}},"gitHead":"8a8d97f8411543fe52e8cd34758a7aed611e9cc9","scripts":{"test":"vitest run","bench":"node bench/run.mjs","build":"tsc && tsc -p tsconfig.cjs.json && node -e \"require('fs').writeFileSync('out/cjs/package.json', '{\\\"type\\\":\\\"commonjs\\\"}\\\\n')\"","prepare":"tsc && tsc -p tsconfig.cjs.json && node -e \"require('fs').writeFileSync('out/cjs/package.json', '{\\\"type\\\":\\\"commonjs\\\"}\\\\n')\""},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"bf75734c-c954-40b0-b50b-6c9b1c3a1f2c"}},"repository":{"url":"git+https://github.com/johnsoncodehk/muggle-string.git","type":"git"},"_npmVersion":"12.2.1","description":"Ranked, conflict-free rewrites of a source text, rendered as format-neutral pieces","directories":{},"sideEffects":false,"_nodeVersion":"24.22.2","_hasShrinkwrap":false,"devDependencies":{"vitest":"latest","typescript":"7.1.0-beta","@types/node":"^26.0.1","muggle-string-0.4":"npm:muggle-string@0.4.1","@jridgewell/trace-mapping":"^0.3.31"},"_npmOperationalInternal":{"tmp":"tmp/muggle-string_1.0.3_1793783853202_0.8555208460335847","host":"s3://npm-registry-packages-npm-production"},"publish_time":1793783853371,"_cnpm_publish_time":1793783853371},"1.0.2":{"name":"muggle-string","version":"1.0.2","license":"MIT","_id":"muggle-string@1.0.2","maintainers":[{"name":"johnsoncodehk","email":"johnsoncodehk@gmail.com"}],"homepage":"https://github.com/johnsoncodehk/muggle-string#readme","bugs":{"url":"https://github.com/johnsoncodehk/muggle-string/issues"},"dist":{"shasum":"bf186c17546c98d51658a18acf945173763c447f","tarball":"http://registry-npm.ywwl.com/muggle-string/download/muggle-string-1.0.2.tgz","fileCount":20,"integrity":"sha512-ZUkzn39oWE7w5KezE0zh2AlW54BjRo0CUo765HoQBd4JCW0tnFUHeF9gPgILnns/5Uu6fAsc/pRuMua1fGhbIg==","signatures":[{"sig":"MEYCIQDBM2rMzGJuMWuvd8CSmqu7SVts+NkB1ZIysscWJ6QkKAIhAM61LcoyXtbwKc+fXWGgzj1tnd7BsjIczWDwljt/1+eQ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIA7i9ramo8CPasPVlc9U4ErlYELQ1m0cxZKQe+DJjpt/AiAXsO5/YRlG5OMxbwwcPAYaWGkhgagAjWITXeShJ8dftQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/muggle-string@1.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":131288,"size":23472,"noattachment":false,"key":"/muggle-string/-/muggle-string-1.0.2.tgz"},"main":"./out/cjs/index.js","type":"module","types":"./out/cjs/index.d.ts","engines":{"node":">=12"},"exports":{".":{"import":{"types":"./out/index.d.ts","default":"./out/index.js"},"require":{"types":"./out/cjs/index.d.ts","default":"./out/cjs/index.js"}}},"gitHead":"d193908d20b8757e0baa9575de15e8e3cbf2e6a6","scripts":{"test":"vitest run","bench":"node bench/run.mjs","build":"tsc && tsc -p tsconfig.cjs.json && node -e \"require('fs').writeFileSync('out/cjs/package.json', '{\\\"type\\\":\\\"commonjs\\\"}\\\\n')\"","prepare":"tsc && tsc -p tsconfig.cjs.json && node -e \"require('fs').writeFileSync('out/cjs/package.json', '{\\\"type\\\":\\\"commonjs\\\"}\\\\n')\""},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"bf75734c-c954-40b0-b50b-6c9b1c3a1f2c"}},"repository":{"url":"git+https://github.com/johnsoncodehk/muggle-string.git","type":"git"},"_npmVersion":"12.2.1","description":"Ranked, conflict-free rewrites of a source text, rendered as format-neutral pieces","directories":{},"sideEffects":false,"_nodeVersion":"24.22.1","_hasShrinkwrap":false,"devDependencies":{"vitest":"latest","typescript":"7.1.0-beta","@types/node":"^26.0.1","muggle-string-0.4":"npm:muggle-string@0.4.1","@jridgewell/trace-mapping":"^0.3.31"},"_npmOperationalInternal":{"tmp":"tmp/muggle-string_1.0.2_1793764916722_0.5134894514072051","host":"s3://npm-registry-packages-npm-production"},"publish_time":1793764916811,"_cnpm_publish_time":1793764916811},"1.0.2-alpha.0":{"name":"muggle-string","version":"1.0.2-alpha.0","license":"MIT","_id":"muggle-string@1.0.2-alpha.0","maintainers":[{"name":"johnsoncodehk","email":"johnsoncodehk@gmail.com"}],"homepage":"https://github.com/johnsoncodehk/muggle-string#readme","bugs":{"url":"https://github.com/johnsoncodehk/muggle-string/issues"},"dist":{"shasum":"d46f56a7dccff71e8d41317cb31703fe49baf1cb","tarball":"http://registry-npm.ywwl.com/muggle-string/download/muggle-string-1.0.2-alpha.0.tgz","fileCount":20,"integrity":"sha512-M6TyeIBS8YxzFosPaDXK9kV9SNPt/V69ysaemZNMBhImkJrgCq5l6723zkNJzyM6NXYvgR3MHdfX1FqWNnMLLQ==","signatures":[{"sig":"MEQCIA+IJrRTRXvc8sFk2LC4DImNgR73Y8dWeY/S3xl4fhmYAiAgTf5fHECrXG134zkdQCRJsd+N9CdQgKgd7peFqRy9eg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIC/yUjONql96l72LWto5zTy/ZtlzUAGyf59ZuFwUo499AiA0wXOW+tKCr0Vjtxb2QiF/mmt/3vcjd0qpLdi1/y1YNA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/muggle-string@1.0.2-alpha.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":126310,"size":22711,"noattachment":false,"key":"/muggle-string/-/muggle-string-1.0.2-alpha.0.tgz"},"main":"./out/cjs/index.js","type":"module","types":"./out/cjs/index.d.ts","engines":{"node":">=12"},"exports":{".":{"import":{"types":"./out/index.d.ts","default":"./out/index.js"},"require":{"types":"./out/cjs/index.d.ts","default":"./out/cjs/index.js"}}},"gitHead":"bf654f198839c36d15f2efc8b61804ff0b644569","scripts":{"test":"vitest run","bench":"node bench/run.mjs","build":"tsc && tsc -p tsconfig.cjs.json && node -e \"require('fs').writeFileSync('out/cjs/package.json', '{\\\"type\\\":\\\"commonjs\\\"}\\\\n')\"","prepare":"tsc && tsc -p tsconfig.cjs.json && node -e \"require('fs').writeFileSync('out/cjs/package.json', '{\\\"type\\\":\\\"commonjs\\\"}\\\\n')\""},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"bf75734c-c954-40b0-b50b-6c9b1c3a1f2c"}},"deprecated":"Please use 1.0.2","repository":{"url":"git+https://github.com/johnsoncodehk/muggle-string.git","type":"git"},"_npmVersion":"12.2.1","description":"Ranked, conflict-free rewrites of a source text, rendered as format-neutral pieces","directories":{},"sideEffects":false,"_nodeVersion":"24.22.1","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"vitest":"latest","typescript":"7.1.0-beta","@types/node":"^26.0.1","muggle-string-0.4":"npm:muggle-string@0.4.1","@jridgewell/trace-mapping":"^0.3.31"},"_npmOperationalInternal":{"tmp":"tmp/muggle-string_1.0.2-alpha.0_1793757895241_0.44535510936361733","host":"s3://npm-registry-packages-npm-production"},"publish_time":1793757895388,"_cnpm_publish_time":1793757895388},"1.0.1":{"name":"muggle-string","version":"1.0.1","license":"MIT","_id":"muggle-string@1.0.1","maintainers":[{"name":"johnsoncodehk","email":"johnsoncodehk@gmail.com"}],"homepage":"https://github.com/johnsoncodehk/muggle-string#readme","bugs":{"url":"https://github.com/johnsoncodehk/muggle-string/issues"},"dist":{"shasum":"78c233007d7d7cde53e9deeca25cd54ffd84bc8d","tarball":"http://registry-npm.ywwl.com/muggle-string/download/muggle-string-1.0.1.tgz","fileCount":11,"integrity":"sha512-0YrlQzhKTrJLYI80mmff7qDt7bE/m1zE1DR14TLwGTLTWL7aatr3rR4r4sAlwQdII9b32MVjYRqnsTWmxgPLVA==","signatures":[{"sig":"MEUCICMcFFllVQ3CUTDfPv9UTyl1alieT2FsDuvtPY87CznpAiEAvISUUi5AClzeqxKM9ObNLO6eztEpYar+WIy1u7ANRKw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQCnDslTd6KjvBcXFU36FZ+DNuE2Q9/I2oZpLLbQHAUutwIhAI9OA9BYErHReJ8WpBwPlnDRHPMf0Z8wSuc6m/a70j19","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/muggle-string@1.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":77189,"size":21103,"noattachment":false,"key":"/muggle-string/-/muggle-string-1.0.1.tgz"},"type":"module","engines":{"node":"^20.19.0 || >=22.12.0"},"exports":{".":{"types":"./out/index.d.ts","default":"./out/index.js"}},"gitHead":"6f77e3802a6d79efdcf1638b970b8da3d65a614b","scripts":{"test":"vitest run","bench":"node bench/run.mjs","build":"tsc","prepare":"tsc"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"bf75734c-c954-40b0-b50b-6c9b1c3a1f2c"}},"repository":{"url":"git+https://github.com/johnsoncodehk/muggle-string.git","type":"git"},"_npmVersion":"12.2.1","description":"Ranked, conflict-free rewrites of a source text, rendered as format-neutral pieces","directories":{},"sideEffects":false,"_nodeVersion":"24.22.1","_hasShrinkwrap":false,"devDependencies":{"vitest":"latest","typescript":"7.1.0-beta","@types/node":"^26.0.1","muggle-string-0.4":"npm:muggle-string@0.4.1","@jridgewell/trace-mapping":"^0.3.31"},"_npmOperationalInternal":{"tmp":"tmp/muggle-string_1.0.1_1793755898657_0.8459483488321944","host":"s3://npm-registry-packages-npm-production"},"publish_time":1793755898765,"_cnpm_publish_time":1793755898765},"1.0.0":{"name":"muggle-string","version":"1.0.0","license":"MIT","_id":"muggle-string@1.0.0","maintainers":[{"name":"johnsoncodehk","email":"johnsoncodehk@gmail.com"}],"homepage":"https://github.com/johnsoncodehk/muggle-string#readme","bugs":{"url":"https://github.com/johnsoncodehk/muggle-string/issues"},"dist":{"shasum":"c9ab0f42de9ba251c09eba65f64405ef5b42762a","tarball":"http://registry-npm.ywwl.com/muggle-string/download/muggle-string-1.0.0.tgz","fileCount":11,"integrity":"sha512-TIHQgdyxVPc6+vjbhx7dC6J7vKD6jvmSKEqkfRqoDmFB0wiq8N154HiZf1nz0ul19caDgJ3ndg8uKjSVNDq+Qg==","signatures":[{"sig":"MEQCIE2W7aX+tjbq/v/1lJMeK3SJUBLYl6la5TquymnAXt+fAiAt1pSWQR5tZJKMwJJu/WlHhA5l+qcP4W/GyZOhAz91kA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQD3j59R+NPo0xrI5Q+tgwqhxQ+Sa9CojlvJOv4fyZCOYgIhANAHkDkRbRpEvgXA/4X01WHVS/m9ID8vmMATIS1Ya6Cy","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/muggle-string@1.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":72137,"size":20104,"noattachment":false,"key":"/muggle-string/-/muggle-string-1.0.0.tgz"},"type":"module","engines":{"node":"^20.19.0 || >=22.12.0"},"exports":{".":{"types":"./out/index.d.ts","default":"./out/index.js"}},"gitHead":"83f1ceb2d02465ac0a07d1145182ba8bc7173045","scripts":{"test":"vitest run","bench":"node bench/run.mjs","build":"tsc","prepare":"tsc"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"bf75734c-c954-40b0-b50b-6c9b1c3a1f2c"}},"repository":{"url":"git+https://github.com/johnsoncodehk/muggle-string.git","type":"git"},"_npmVersion":"12.2.1","description":"Ranked, conflict-free rewrites of a source text, rendered as format-neutral pieces","directories":{},"sideEffects":false,"_nodeVersion":"24.22.1","_hasShrinkwrap":false,"devDependencies":{"vitest":"latest","typescript":"7.1.0-beta","@types/node":"^26.0.1","muggle-string-0.4":"npm:muggle-string@0.4.1","@jridgewell/trace-mapping":"^0.3.31"},"_npmOperationalInternal":{"tmp":"tmp/muggle-string_1.0.0_1793535306726_0.3505357817305159","host":"s3://npm-registry-packages-npm-production"},"publish_time":1793535306800,"_cnpm_publish_time":1793535306800},"1.0.0-alpha.7":{"name":"muggle-string","version":"1.0.0-alpha.7","license":"MIT","_id":"muggle-string@1.0.0-alpha.7","maintainers":[{"name":"johnsoncodehk","email":"johnsoncodehk@gmail.com"}],"homepage":"https://github.com/johnsoncodehk/muggle-string#readme","bugs":{"url":"https://github.com/johnsoncodehk/muggle-string/issues"},"dist":{"shasum":"d0a0ebbf33c3292cea5094b497fd261a80b21597","tarball":"http://registry-npm.ywwl.com/muggle-string/download/muggle-string-1.0.0-alpha.7.tgz","fileCount":11,"integrity":"sha512-y/UTjFINzzoROMXxuBEjWODb8fiX7YWuoIQwfh7R1En6BEl55VkfIbGLqP3vmhv4KAbBr9MgByBhnhIxnirlSg==","signatures":[{"sig":"MEUCIQC8LuO30aSYzf9IZJGavrzcQuTv+/iQG7PVfaDft+0eSgIgWJSs8P3V7iF1m3NW/5DwTK68w0Xx1pVFUMOdO2HoCMQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQDSvbcC96tgwK4+u4H9TmMfoDbXcnHTnvgDTKRfGhWIwQIgXgxXdRDfO1/6hK14978OnhnD/BUkpr3FW0JEBFj/tOg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/muggle-string@1.0.0-alpha.7","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":72124,"size":20100,"noattachment":false,"key":"/muggle-string/-/muggle-string-1.0.0-alpha.7.tgz"},"type":"module","exports":{".":{"types":"./out/index.d.ts","default":"./out/index.js"}},"gitHead":"60342f4aa40da010796f22cb8ac8d44a786708bc","scripts":{"test":"vitest run","bench":"node bench/run.mjs","build":"tsc","prepare":"tsc"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"bf75734c-c954-40b0-b50b-6c9b1c3a1f2c"}},"deprecated":"Please use 1.0.0","repository":{"url":"git+https://github.com/johnsoncodehk/muggle-string.git","type":"git"},"_npmVersion":"12.2.1","description":"Ranked, conflict-free rewrites of a source text, rendered as format-neutral pieces","directories":{},"sideEffects":false,"_nodeVersion":"24.22.1","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"vitest":"latest","typescript":"7.1.0-beta","@types/node":"^26.0.1","muggle-string-0.4":"npm:muggle-string@0.4.1","@jridgewell/trace-mapping":"^0.3.31"},"_npmOperationalInternal":{"tmp":"tmp/muggle-string_1.0.0-alpha.7_1793534289746_0.8381918858123361","host":"s3://npm-registry-packages-npm-production"},"publish_time":1793534289825,"_cnpm_publish_time":1793534289825},"1.0.0-alpha.6":{"name":"muggle-string","version":"1.0.0-alpha.6","license":"MIT","_id":"muggle-string@1.0.0-alpha.6","maintainers":[{"name":"johnsoncodehk","email":"johnsoncodehk@gmail.com"}],"homepage":"https://github.com/johnsoncodehk/muggle-string#readme","bugs":{"url":"https://github.com/johnsoncodehk/muggle-string/issues"},"dist":{"shasum":"518292fa08d5d400e721c4d94015313758b1a93d","tarball":"http://registry-npm.ywwl.com/muggle-string/download/muggle-string-1.0.0-alpha.6.tgz","fileCount":11,"integrity":"sha512-Dg3U5uZBGfwelVb2c+0mj0jLZz/nsakv2o6eNdsgdltmVYcIccqlI5HBxQQ9vNkcRZnbAddCfSVVrJr9laBudQ==","signatures":[{"sig":"MEYCIQCwza5b01VQLB0wVBaIrUadMdUNpYP0nHyoiRix+CwL8gIhAKLyjILTBs8osvt8xlvfpl1+IVHQzB4Qo84U+tYT+WqV","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDZodNj4LcKdTCdvu8p65L5F4ad1Rmw2dr0HbdzC2XQiAIhANAUKdo/RI8i9dPDy30PuW/tR/vH+1ym8Njy1TqSJGMD","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/muggle-string@1.0.0-alpha.6","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":60846,"size":16923,"noattachment":false,"key":"/muggle-string/-/muggle-string-1.0.0-alpha.6.tgz"},"type":"module","exports":{".":{"types":"./out/index.d.ts","default":"./out/index.js"}},"gitHead":"c8b99d5cd32af9248e037757d5cb37671cfe77f8","scripts":{"test":"vitest run","build":"tsc","prepare":"tsc"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"bf75734c-c954-40b0-b50b-6c9b1c3a1f2c"}},"deprecated":"Please use 1.0.0","repository":{"url":"git+https://github.com/johnsoncodehk/muggle-string.git","type":"git"},"_npmVersion":"12.2.1","description":"Ranked, conflict-free rewrites of a source text, rendered as format-neutral pieces","directories":{},"sideEffects":false,"_nodeVersion":"24.22.1","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"vitest":"latest","typescript":"7.1.0-beta","@types/node":"^26.0.1","@jridgewell/trace-mapping":"^0.3.31"},"_npmOperationalInternal":{"tmp":"tmp/muggle-string_1.0.0-alpha.6_1793518728656_0.5752774645352288","host":"s3://npm-registry-packages-npm-production"},"publish_time":1793518728739,"_cnpm_publish_time":1793518728739},"1.0.0-alpha.5":{"name":"muggle-string","version":"1.0.0-alpha.5","license":"MIT","_id":"muggle-string@1.0.0-alpha.5","maintainers":[{"name":"johnsoncodehk","email":"johnsoncodehk@gmail.com"}],"homepage":"https://github.com/johnsoncodehk/muggle-string#readme","bugs":{"url":"https://github.com/johnsoncodehk/muggle-string/issues"},"dist":{"shasum":"3dd58f14610326d9ec8da7afaa5c3f7a41cd8dfb","tarball":"http://registry-npm.ywwl.com/muggle-string/download/muggle-string-1.0.0-alpha.5.tgz","fileCount":11,"integrity":"sha512-Aa21a/6XN4X0v6asCDQKpanOneDYzlgrvnUHcUtEB5VajTRYy0XSfZ3ukQP9fUQnaQ5hKRcGhdKlnZNtSCENKw==","signatures":[{"sig":"MEQCIHD8kaozeUOaarkvWrSbd+GMaDCvt45p9DX/0Ika2VSpAiAd7TXzQYmcTekbRqK9hUPxY14rOv4obXyLi8HF5SCMDQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCICkvWZG7XwD6aFsM2Stl1kgLtyBi1PzHpZS65C/+w3skAiBLqMlSid8jMmf/hTp69XydJo5okiorHnU8dOV/2RUTMQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/muggle-string@1.0.0-alpha.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":51214,"size":14845,"noattachment":false,"key":"/muggle-string/-/muggle-string-1.0.0-alpha.5.tgz"},"type":"module","exports":{".":{"types":"./out/index.d.ts","default":"./out/index.js"}},"gitHead":"3b949e75d0492cb8bc9491df47c065d0d1a8cd64","scripts":{"test":"vitest run","build":"tsc","prepare":"tsc"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"bf75734c-c954-40b0-b50b-6c9b1c3a1f2c"}},"deprecated":"Please use 1.0.0","repository":{"url":"git+https://github.com/johnsoncodehk/muggle-string.git","type":"git"},"_npmVersion":"12.2.1","description":"Ranked, conflict-free rewrites of a source text, rendered as format-neutral pieces","directories":{},"sideEffects":false,"_nodeVersion":"24.22.1","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"vitest":"latest","typescript":"7.1.0-beta","@types/node":"^26.0.1","@jridgewell/trace-mapping":"^0.3.31"},"_npmOperationalInternal":{"tmp":"tmp/muggle-string_1.0.0-alpha.5_1793510717530_0.7977085855490782","host":"s3://npm-registry-packages-npm-production"},"publish_time":1793510717616,"_cnpm_publish_time":1793510717616},"1.0.0-alpha.4":{"name":"muggle-string","version":"1.0.0-alpha.4","license":"MIT","_id":"muggle-string@1.0.0-alpha.4","maintainers":[{"name":"johnsoncodehk","email":"johnsoncodehk@gmail.com"}],"homepage":"https://github.com/johnsoncodehk/muggle-string#readme","bugs":{"url":"https://github.com/johnsoncodehk/muggle-string/issues"},"dist":{"shasum":"4de367a05c42c9b4524485d7e4fd7b124a5216a4","tarball":"http://registry-npm.ywwl.com/muggle-string/download/muggle-string-1.0.0-alpha.4.tgz","fileCount":11,"integrity":"sha512-TqoSBb1ldacK1b4VnzpG7Zypar3KeN72hr809JncDWL3v6oDndkVsDOl/rn/i3befzdulwcO9YIA1dzigAKpSw==","signatures":[{"sig":"MEUCIQDnBLsSDGfjDeO8Gq4k2nlFUJPBtC2/E2LTkXQzLQurugIgEJTj7xyldNJx7G9lLxqNZuLwUZPm5ytN8weeS1DC/TU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQDI2/5Yfb9Kzpi8EbkAcizPgO3xF2t4MH9vvY+cgYv5egIgHmG4nsIatslRRQTn4JaUyjqeNLAkvxv6mSV4BKPDX+8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/muggle-string@1.0.0-alpha.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":49105,"size":14330,"noattachment":false,"key":"/muggle-string/-/muggle-string-1.0.0-alpha.4.tgz"},"main":"out/index.js","types":"out/index.d.ts","gitHead":"605a441c33a5201e39be175931f4ff88f5d696a6","scripts":{"test":"vitest run","build":"tsc","prepare":"tsc"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"bf75734c-c954-40b0-b50b-6c9b1c3a1f2c"}},"deprecated":"Please use 1.0.0","repository":{"url":"git+https://github.com/johnsoncodehk/muggle-string.git","type":"git"},"_npmVersion":"12.2.1","description":"Ranked, conflict-free rewrites of a source text, rendered as format-neutral pieces","directories":{},"_nodeVersion":"24.22.1","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"vitest":"latest","typescript":"7.1.0-beta","@types/node":"^26.0.1","@jridgewell/trace-mapping":"^0.3.31"},"_npmOperationalInternal":{"tmp":"tmp/muggle-string_1.0.0-alpha.4_1793488332462_0.9051394901146674","host":"s3://npm-registry-packages-npm-production"},"publish_time":1793488332562,"_cnpm_publish_time":1793488332562},"1.0.0-alpha.3":{"name":"muggle-string","version":"1.0.0-alpha.3","license":"MIT","_id":"muggle-string@1.0.0-alpha.3","maintainers":[{"name":"johnsoncodehk","email":"johnsoncodehk@gmail.com"}],"homepage":"https://github.com/johnsoncodehk/muggle-string#readme","bugs":{"url":"https://github.com/johnsoncodehk/muggle-string/issues"},"dist":{"shasum":"50e3aa79ec3406e08f09ed33f9f65c3644d661a8","tarball":"http://registry-npm.ywwl.com/muggle-string/download/muggle-string-1.0.0-alpha.3.tgz","fileCount":11,"integrity":"sha512-oYuD+uqfPffRBN/IhXwwM/GHz8jdbTNbUZWmvXxsFY+05jWvixSMEcMtQQpFGytjBqiGh44xZeBGS+kP5hOEjg==","signatures":[{"sig":"MEYCIQCwORsa3hbRgscHdjWwb88MdI6LDawjibT9o3geKtihNQIhAIoyqK9QJsteRIlcTpKUoCEQCvM3H6As5aBuJmYHbiW1","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIHjUkoFmMOCR5B1Kp3M9o4txvzU4IcDNqQViTfXTM932AiEAqCcUtAd51X/JXJeXJvNWcBFkE1fKj/kjOYM7TQWrBeg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/muggle-string@1.0.0-alpha.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":45902,"size":12782,"noattachment":false,"key":"/muggle-string/-/muggle-string-1.0.0-alpha.3.tgz"},"main":"out/index.js","types":"out/index.d.ts","gitHead":"987975d9f1b2898490eea776e60a7a9829df8b15","scripts":{"test":"vitest run","build":"tsc","prepare":"tsc"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"bf75734c-c954-40b0-b50b-6c9b1c3a1f2c"}},"deprecated":"Please use 1.0.0","repository":{"url":"git+https://github.com/johnsoncodehk/muggle-string.git","type":"git"},"_npmVersion":"12.2.1","description":"Ranked, conflict-free rewrites of a source text, rendered as format-neutral pieces","directories":{},"_nodeVersion":"24.22.1","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"vitest":"latest","typescript":"7.1.0-beta","@types/node":"^26.0.1","@jridgewell/trace-mapping":"^0.3.31"},"_npmOperationalInternal":{"tmp":"tmp/muggle-string_1.0.0-alpha.3_1793485081802_0.4292922598910951","host":"s3://npm-registry-packages-npm-production"},"publish_time":1793485081900,"_cnpm_publish_time":1793485081900},"1.0.0-alpha.2":{"name":"muggle-string","version":"1.0.0-alpha.2","license":"MIT","_id":"muggle-string@1.0.0-alpha.2","maintainers":[{"name":"johnsoncodehk","email":"johnsoncodehk@gmail.com"}],"homepage":"https://github.com/johnsoncodehk/muggle-string#readme","bugs":{"url":"https://github.com/johnsoncodehk/muggle-string/issues"},"dist":{"shasum":"245ce570cdc5b5c5a34703ef6269599883592a53","tarball":"http://registry-npm.ywwl.com/muggle-string/download/muggle-string-1.0.0-alpha.2.tgz","fileCount":9,"integrity":"sha512-8TQ20dJDbh/FZRR9rsgnfK6xrh9EoTKsXtNYOSNYOkFm7iiD7FUZXEG3iAHmhUhmYa4lXJxeYz7yCZ5J6A7/ZQ==","signatures":[{"sig":"MEQCICoaWbTCSVKZsSxwdP8Lor62UYXe7UVYILNk3EiKBrnyAiAZqBLLky2LxxL/0h2HON0qPOnmV/jQBrlrQSqnz132fA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQCWUHlg+np++PvC/fTZQwELa7ReJx/ynwa6YbmAnBPTiQIgCq+G/Lq3Do5qliWHJEr4+A8xyEWcNZTD2T5w2+lXbZU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/muggle-string@1.0.0-alpha.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":25088,"size":7724,"noattachment":false,"key":"/muggle-string/-/muggle-string-1.0.0-alpha.2.tgz"},"main":"out/index.js","types":"out/index.d.ts","gitHead":"c911f8295d31a205639d3702ec85ffb7ce7735a8","scripts":{"test":"vitest run","build":"tsc"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"bf75734c-c954-40b0-b50b-6c9b1c3a1f2c"}},"deprecated":"Please use 1.0.0","repository":{"url":"git+https://github.com/johnsoncodehk/muggle-string.git","type":"git"},"_npmVersion":"12.2.1","description":"Ranked, conflict-free rewrites of a source text, rendered as format-neutral pieces","directories":{},"_nodeVersion":"24.22.1","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"vitest":"latest","typescript":"7.1.0-beta","@types/node":"^26.0.1"},"_npmOperationalInternal":{"tmp":"tmp/muggle-string_1.0.0-alpha.2_1793418889078_0.13627211843456621","host":"s3://npm-registry-packages-npm-production"},"publish_time":1793418889165,"_cnpm_publish_time":1793418889165},"1.0.0-alpha.1":{"name":"muggle-string","version":"1.0.0-alpha.1","license":"MIT","_id":"muggle-string@1.0.0-alpha.1","maintainers":[{"name":"johnsoncodehk","email":"johnsoncodehk@gmail.com"}],"homepage":"https://github.com/johnsoncodehk/muggle-string#readme","bugs":{"url":"https://github.com/johnsoncodehk/muggle-string/issues"},"dist":{"shasum":"e69c3542fa04ed40b9c6c299d49a4d4822684abf","tarball":"http://registry-npm.ywwl.com/muggle-string/download/muggle-string-1.0.0-alpha.1.tgz","fileCount":9,"integrity":"sha512-w7PmLAA8MGv/cw42b5YQkaD4wUXHYQZCh6TN7fwYMIk/74hAYNUZJldLBtxLCtPT20mu624yHvwuCmdAy/2f2g==","signatures":[{"sig":"MEYCIQCx8eUx8NI/WsP8AZR4T6DUqtMcGOvMHn/GkdVpkTlySwIhAP6TelsYKgHbFBfROGBNOMru5GLJHP1VC1Z0ZNFL82Sb","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQCmskiGkO+zxKNU+shRzhoIokhLiJNSY8WYTEEcUzDT7QIgFuCzJYSJiTk8OJmA/L5fFomKm4Je0udc/skdpRtLuLw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/muggle-string@1.0.0-alpha.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":22134,"size":6838,"noattachment":false,"key":"/muggle-string/-/muggle-string-1.0.0-alpha.1.tgz"},"main":"out/index.js","types":"out/index.d.ts","gitHead":"b059e304a06b6c089150e9286f3a160b0faee9e7","scripts":{"test":"vitest run","build":"tsc"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"bf75734c-c954-40b0-b50b-6c9b1c3a1f2c"}},"deprecated":"Please use 1.0.0","repository":{"url":"git+https://github.com/johnsoncodehk/muggle-string.git","type":"git"},"_npmVersion":"12.2.1","description":"Ranked, conflict-free rewrites of a source text, rendered as format-neutral pieces","directories":{},"_nodeVersion":"24.22.1","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"vitest":"latest","typescript":"7.1.0-beta","@types/node":"^26.0.1"},"_npmOperationalInternal":{"tmp":"tmp/muggle-string_1.0.0-alpha.1_1793375691816_0.8263047865537793","host":"s3://npm-registry-packages-npm-production"},"publish_time":1793375691904,"_cnpm_publish_time":1793375691904},"1.0.0-alpha.0":{"name":"muggle-string","version":"1.0.0-alpha.0","license":"MIT","_id":"muggle-string@1.0.0-alpha.0","maintainers":[{"name":"johnsoncodehk","email":"johnsoncodehk@gmail.com"}],"homepage":"https://github.com/johnsoncodehk/muggle-string#readme","bugs":{"url":"https://github.com/johnsoncodehk/muggle-string/issues"},"dist":{"shasum":"3468669cdbf8052629541754c52dc2638baa74f9","tarball":"http://registry-npm.ywwl.com/muggle-string/download/muggle-string-1.0.0-alpha.0.tgz","fileCount":9,"integrity":"sha512-3I2jSQwHMbW99Pf+JAdOLks+sjgbu4uBUFwyUxPIWGCuyKvbpWGbv1/EiVrr44CFxvUBy5bgD4pUnYffvPzJ/Q==","signatures":[{"sig":"MEYCIQDlsGTqWbEyZ5G74ZUPBfYtFct5tc5sTCq+ZKAqc/lPbQIhANbd1lcV2H5x9tg+ev0QrgdZhDCmiO0gXsYhwy2FXDSp","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQDDqJEx6P4mjNA1aiqDenxwOUGq2tXhTOwjQOJeDTfBsgIgf99irwguDClFDfZ2/KpDECp93nn1CciGTgjudy+wJPs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/muggle-string@1.0.0-alpha.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":21188,"size":6610,"noattachment":false,"key":"/muggle-string/-/muggle-string-1.0.0-alpha.0.tgz"},"main":"out/index.js","types":"out/index.d.ts","gitHead":"2426fbd7daa84dd5c608e429b88c67d6ec65a471","scripts":{"test":"vitest run","build":"tsc"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"bf75734c-c954-40b0-b50b-6c9b1c3a1f2c"}},"deprecated":"Please use 1.0.0","repository":{"url":"git+https://github.com/johnsoncodehk/muggle-string.git","type":"git"},"_npmVersion":"12.2.1","description":"Ranked, conflict-free rewrites of a source text, rendered as format-neutral segments","directories":{},"_nodeVersion":"24.22.1","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"vitest":"latest","typescript":"7.1.0-beta","@types/node":"^26.0.1"},"_npmOperationalInternal":{"tmp":"tmp/muggle-string_1.0.0-alpha.0_1793361669163_0.6407159320119725","host":"s3://npm-registry-packages-npm-production"},"publish_time":1793361669278,"_cnpm_publish_time":1793361669278},"0.4.1":{"name":"muggle-string","version":"0.4.1","main":"out/index.js","license":"MIT","repository":{"type":"git","url":"git+https://github.com/johnsoncodehk/muggle-string.git"},"scripts":{"test":"vitest run"},"devDependencies":{"typescript":"latest","vitest":"latest","vite":"latest"},"_id":"muggle-string@0.4.1","gitHead":"2953aa8b6cc15cd024b3bfe4c1749dbf56b1e2f9","types":"./out/index.d.ts","description":"This library aims to provide codegen helpers and data structure for Vue language plugin API v1.x that does not depend on Volar runtime.","bugs":{"url":"https://github.com/johnsoncodehk/muggle-string/issues"},"homepage":"https://github.com/johnsoncodehk/muggle-string#readme","_nodeVersion":"20.6.1","_npmVersion":"9.8.1","dist":{"integrity":"sha512-VNTrAak/KhO2i8dqqnqnAHOa3cYBwXEZe9h+D5h/1ZqFSTEFHdM65lR7RoIqq3tBBYavsOXV84NoHXZ0AkPyqQ==","shasum":"3b366bd43b32f809dc20659534dd30e7c8a0d328","tarball":"http://registry-npm.ywwl.com/muggle-string/download/muggle-string-0.4.1.tgz","fileCount":31,"unpackedSize":44703,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH2UjCGVo/JLDzpBn5UbFIsaulHd9yd/nXaQc3Fe2r/3AiEAxVuk5bY0K1oFx1GVV8gkYsR4uH4nDqZGfSNc/w47Izw="}],"size":7359,"noattachment":false,"key":"/muggle-string/-/muggle-string-0.4.1.tgz"},"_npmUser":{"name":"johnsoncodehk","email":"johnsoncodehk@gmail.com"},"directories":{},"maintainers":[{"name":"johnsoncodehk","email":"johnsoncodehk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/muggle-string_0.4.1_1701833353972_0.9618119350296348"},"_hasShrinkwrap":false,"publish_time":1701833354162,"_cnpm_publish_time":1701833354162},"0.4.0":{"name":"muggle-string","version":"0.4.0","main":"out/index.js","license":"MIT","repository":{"type":"git","url":"git+https://github.com/johnsoncodehk/muggle-string.git"},"scripts":{"test":"vitest run"},"devDependencies":{"typescript":"latest","vitest":"latest","vite":"latest"},"_id":"muggle-string@0.4.0","gitHead":"d42eac330e238624f6472147cb21157ed9dcbc2a","types":"./out/index.d.ts","description":"This library aims to provide codegen helpers and data structure for Vue language plugin API v1.x that does not depend on Volar runtime.","bugs":{"url":"https://github.com/johnsoncodehk/muggle-string/issues"},"homepage":"https://github.com/johnsoncodehk/muggle-string#readme","_nodeVersion":"20.6.1","_npmVersion":"9.8.1","dist":{"integrity":"sha512-ymN6exGtXrNnDb0ae4VP34y5bSKmBm6+TMGHmKoFDE5saXxtszv1EHs4Tt3glo61rCA/Zum4AwM19pCOGAjjRQ==","shasum":"7dfe57b1a0cbfab08d0b9451d2a08e5c20d17c15","tarball":"http://registry-npm.ywwl.com/muggle-string/download/muggle-string-0.4.0.tgz","fileCount":31,"unpackedSize":44655,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCMfr9jubh2EHjTDArOhzyHKVcJy6+LB43bI/SrGwF6sQIgP9Z622cSTULxL+iS80LTD9Uwxt+tKMbbOR64yByoy/o="}],"size":7344,"noattachment":false,"key":"/muggle-string/-/muggle-string-0.4.0.tgz"},"_npmUser":{"name":"johnsoncodehk","email":"johnsoncodehk@gmail.com"},"directories":{},"maintainers":[{"name":"johnsoncodehk","email":"johnsoncodehk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/muggle-string_0.4.0_1700984022455_0.21032135233769678"},"_hasShrinkwrap":false,"publish_time":1700984022617,"_cnpm_publish_time":1700984022617},"0.3.1":{"name":"muggle-string","version":"0.3.1","main":"out/index.js","license":"MIT","repository":{"type":"git","url":"git+https://github.com/johnsoncodehk/muggle-string.git"},"scripts":{"test":"vitest run"},"devDependencies":{"typescript":"latest","vitest":"latest","vite":"latest"},"types":"./out/index.d.ts","gitHead":"4e7bee5a85f4a68e7e3bd2f7b26173f31ea2b177","description":"This library aims to provide codegen helpers and data structure for Vue language plugin API v1.x that does not depend on Volar runtime.","bugs":{"url":"https://github.com/johnsoncodehk/muggle-string/issues"},"homepage":"https://github.com/johnsoncodehk/muggle-string#readme","_id":"muggle-string@0.3.1","_nodeVersion":"18.13.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-ckmWDJjphvd/FvZawgygcUeQCxzvohjFO5RxTjj4eq8kw359gFF3E1brjfI+viLMxss5JrHTDRHZvu2/tuy0Qg==","shasum":"e524312eb1728c63dd0b2ac49e3282e6ed85963a","tarball":"http://registry-npm.ywwl.com/muggle-string/download/muggle-string-0.3.1.tgz","fileCount":11,"unpackedSize":17226,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC/P1WadSATA7OtGHBiD3Nmcd1Vy6Gio+NgSXjSU4UTgQIgC8EQ9NSea0oxaj3jtIsz4MCDQfJdiO4mK6PYediKvBg="}],"size":5049,"noattachment":false,"key":"/muggle-string/-/muggle-string-0.3.1.tgz"},"_npmUser":{"name":"johnsoncodehk","email":"johnsoncodehk@gmail.com"},"directories":{},"maintainers":[{"name":"johnsoncodehk","email":"johnsoncodehk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/muggle-string_0.3.1_1683645896169_0.9480032942348682"},"_hasShrinkwrap":false,"publish_time":1683645896312,"_cnpm_publish_time":1683645896312},"0.3.0":{"name":"muggle-string","version":"0.3.0","main":"out/index.js","license":"MIT","repository":{"type":"git","url":"git+https://github.com/johnsoncodehk/muggle-string.git"},"scripts":{"test":"vitest run"},"devDependencies":{"typescript":"latest","vitest":"latest","vite":"latest"},"types":"./out/index.d.ts","gitHead":"73dc9e2b7bf4b16a826a7dfcb6ad5be4a79d9a28","description":"This library aims to provide codegen helpers and data structure for Vue language plugin API v1.x that does not depend on Volar runtime.","bugs":{"url":"https://github.com/johnsoncodehk/muggle-string/issues"},"homepage":"https://github.com/johnsoncodehk/muggle-string#readme","_id":"muggle-string@0.3.0","_nodeVersion":"18.13.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-JX80YWnbOlip3LsTVg2J017aBz0TtiyfnGcckGCbLl/Xg9Ps/nlrW/emVK8G+mfy3rOn6dfhSla9xDSqse9Xyw==","shasum":"4d4872ae6b43a792d654607bc6d1ac91f3581ee5","tarball":"http://registry-npm.ywwl.com/muggle-string/download/muggle-string-0.3.0.tgz","fileCount":11,"unpackedSize":16806,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDtuI27+5T5lvC2RS8FrDoh+QnxFWGRvVAQeEwsvRtmmgIgOTbXvKfPen0aVtO2miOveQhebjE/KQlqekHZR2v2H84="}],"size":4971,"noattachment":false,"key":"/muggle-string/-/muggle-string-0.3.0.tgz"},"_npmUser":{"name":"johnsoncodehk","email":"johnsoncodehk@gmail.com"},"directories":{},"maintainers":[{"name":"johnsoncodehk","email":"johnsoncodehk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/muggle-string_0.3.0_1683538154927_0.3902439602045278"},"_hasShrinkwrap":false,"publish_time":1683538155122,"_cnpm_publish_time":1683538155122},"0.2.2":{"name":"muggle-string","version":"0.2.2","main":"out/index.js","license":"MIT","repository":{"type":"git","url":"git+https://github.com/johnsoncodehk/muggle-string.git"},"scripts":{"test":"vitest run"},"devDependencies":{"typescript":"latest","vitest":"latest","vite":"latest"},"types":"./out/index.d.ts","gitHead":"d530d37c96a51a1eb528f234b1596b69900a8fca","description":"This library aims to provide codegen helpers and data structure for Vue language plugin API v1.x that does not depend on Volar runtime.","bugs":{"url":"https://github.com/johnsoncodehk/muggle-string/issues"},"homepage":"https://github.com/johnsoncodehk/muggle-string#readme","_id":"muggle-string@0.2.2","_nodeVersion":"18.13.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-YVE1mIJ4VpUMqZObFndk9CJu6DBJR/GB13p3tXuNbwD4XExaI5EOuRl6BHeIDxIqXZVxSfAC+y6U1Z/IxCfKUg==","shasum":"786aa53fea1652c61c6a59e1f839292b262bc72a","tarball":"http://registry-npm.ywwl.com/muggle-string/download/muggle-string-0.2.2.tgz","fileCount":7,"unpackedSize":11175,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHLyzWwL5PEEXv9GVr6LuO8MfyTzG8SlQvIEsBhgFLmNAiARD7jmm9vq1YaB2nG9BA/h+U9eObUb78aZvEADBtldug=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjx9bcACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr0ixAAh9SKVqCkid+j583KL28uo9njyyyFYYFdJFUnyh7EUrB0AK0F\r\npAiw7W5ymMzi/amU4BtbltHq9H2J4t91gk6tsMj4KRVkAAX26vC1h7gNGN3Y\r\n7iJkBLfGhGMRWg/XQ1R/vGZKN1HAQPKIVdqq0DAKfvszVz+k+eSUUQr9g5mb\r\nxFyF1WRZe5uPeIJ/8rdESWBkucLUzH/+L3mah3usmrxeZPXYKF6/69Zxy4+e\r\nZ3I/mFlxJHXyyEVIE5NkIe2Ho5RWhhFMhSNmsotkSEfCfLiXaK242omwwnOO\r\ni3OM9Vl1rgdzz8H+02V8jU04S6+ZoAvNMV9Xge21OaPhw0UNZLUHi+ZAUB1x\r\n1T5NX1ksxPAjee47iB3GuIg4s5nEQiRNOBdzT1yMFoZxKibvo+um+s7M4gmA\r\npfc9tqDYSM5HhHpG9CYYayQL7rZSLpv/bkL5hmSk/z6NgQ/Bqn2iPze57gvT\r\nJUo89Org8Vp8NiH2MovYDwV+JWyo9aXjfSMk+lZh/QV+dRSCYIzkTC3Rsw1l\r\nYTQMWefTC2TO8Av8ofpLttPnXfGkkBqiuHDcMTl47n0kzqG6rXQyLGuaetdJ\r\n7xtEo7GhSoo8BZUi2xPZ37zdpap6IUKabcdSlKSYLejy6LbmWBZ5rpw1u4vU\r\nLWuPyF4huQJAkitd5Rm2FA+nprH5r77LA2k=\r\n=Nb90\r\n-----END PGP SIGNATURE-----\r\n","size":3677,"noattachment":false,"key":"/muggle-string/-/muggle-string-0.2.2.tgz"},"_npmUser":{"name":"johnsoncodehk","email":"johnsoncodehk@gmail.com"},"directories":{},"maintainers":[{"name":"johnsoncodehk","email":"johnsoncodehk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/muggle-string_0.2.2_1674041051880_0.7661828421121994"},"_hasShrinkwrap":false,"publish_time":1674041052038,"_cnpm_publish_time":1674041052038},"0.2.1":{"name":"muggle-string","version":"0.2.1","main":"out/index.js","license":"MIT","repository":{"type":"git","url":"git+https://github.com/johnsoncodehk/muggle-string.git"},"scripts":{"test":"vitest run"},"devDependencies":{"typescript":"latest","vitest":"latest","vite":"latest"},"types":"./out/index.d.ts","gitHead":"b89866d9ab15ea3635b8c374d8be3e4d1159cf27","description":"This library aims to provide codegen helpers and data structure for Vue language plugin API v1.x that does not depend on Volar runtime.","bugs":{"url":"https://github.com/johnsoncodehk/muggle-string/issues"},"homepage":"https://github.com/johnsoncodehk/muggle-string#readme","_id":"muggle-string@0.2.1","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-XVKGP/QTuZQ7y1++6sNLeAALtUSc1nwbupotemZizerLeTCyxrvPRXGfWIIITZaVqrwfIskwawWE0CSHC10X7w==","shasum":"a4d295a62fff363f70273aed502580c5c55cd530","tarball":"http://registry-npm.ywwl.com/muggle-string/download/muggle-string-0.2.1.tgz","fileCount":7,"unpackedSize":11519,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD0BjDU6qN+cSyr5HT2qX9I6/Vvq0FWU0m3QnbCS9oqYQIgPMmeXI9B2p4vUjmCEXge7Osfk5hCvEmdi6GMeOT3VWU="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjqhRMACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq2GQ/9GDULaUeDcelmxsoER9FzLXT7UIkHfRcklbRncV4ARxofAAl3\r\noKjvhNZDC5j80wimJN5wSX5c2QnFWWgRzLl2NEYDhrgbiGRlVLTZK6mKr2uF\r\nvbtvPkyTkyifDhuBpCWfDnqDlecmao80oVQUU0wcYTSwre2NCpXkV28fpE1I\r\nQsWoXbI8aPuHyNNwhpSjKwl1B7MMuJVcm0xXP0cFRbqM2d2wjLAvCrxEoSKf\r\nzOgsHgZ/Kmf1S6JGqy6B2RVtTCYL6k58F0+7k2qJoFf03Y6mS8P21Ahf4IAT\r\n+rfYqLuir1ATedRg0VnXJCj+/dOz8LSaomO8vuwaj0D6bM5pMun3IJC3VshT\r\njsB2SRIckhLrMfAJj5P/4Y3/A1erXPXHdJfute6XX8B5aek70p7JhGRVAxD9\r\n2MXWS6X7edhqFe8YmRQGP2aCOWf3IL3FG/vCzv6dz9GBY/Zbc0wURoJ2l1VH\r\nqqePEoNFtAPw4iqazIvdvnGoCMB2dS2tTC5ZakOU2kzdI0RiTavvsllXb9m2\r\nOW+VIMrYEXWKzY3HQ9G7UMe9VlYUDDAm8dAr1FbZ2tduzq9yBhVA6yOK+tJF\r\nq3xUzrmNXHjG8ah5czP5jREEbiMz+MS3MDxAHeyknZxETfy7pOY1utAjLG7K\r\n/kB1gFxU8bDZ0fgM77yB1yQjUTY5eayrWIQ=\r\n=s/6W\r\n-----END PGP SIGNATURE-----\r\n","size":3752,"noattachment":false,"key":"/muggle-string/-/muggle-string-0.2.1.tgz"},"_npmUser":{"name":"johnsoncodehk","email":"johnsoncodehk@gmail.com"},"directories":{},"maintainers":[{"name":"johnsoncodehk","email":"johnsoncodehk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/muggle-string_0.2.1_1672090700646_0.8716538372543767"},"_hasShrinkwrap":false,"publish_time":1672090700799,"_cnpm_publish_time":1672090700799},"0.2.0":{"name":"muggle-string","version":"0.2.0","main":"out/index.js","license":"MIT","repository":{"type":"git","url":"git+https://github.com/johnsoncodehk/muggle-string.git"},"scripts":{"test":"vitest run"},"devDependencies":{"typescript":"latest","vitest":"latest","vite":"latest"},"types":"./out/index.d.ts","gitHead":"7ee979299811ba06d9fc425733af1892a011694d","description":"This library aims to provide codegen helpers and data structure for Vue language plugin API v1.x that does not depend on Volar runtime.","bugs":{"url":"https://github.com/johnsoncodehk/muggle-string/issues"},"homepage":"https://github.com/johnsoncodehk/muggle-string#readme","_id":"muggle-string@0.2.0","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-n8edLIzrH2NTuxLuAUKsKtAFaaY0LAdox7QE02aBebjkp/5tzmGBZHstW4gvTRbbbAv23w5CbqxIz/SRe55AXg==","shasum":"97809f3def50ca44a615e4086c92aa6b115fd6df","tarball":"http://registry-npm.ywwl.com/muggle-string/download/muggle-string-0.2.0.tgz","fileCount":5,"unpackedSize":8513,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAecufrEHdvnQ97fT1Cc0RFGFSb5t1FtpVJa/i4BlJlAAiEA2FVnBDxYfLhcPTshccWxbTIyx2WgF2yDLHkdxtGMDxM="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjqbCDACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmprxBAAitztIBh7wZnquE9piQCS748Rvhav/eMXQ/fbLIa9GkcfkUaU\r\n606IUoJ6TktiOBE2kUw/WD8cwkxJDR9zMFPFsKlVeUc4fmrEtitt3wuZx3//\r\nLHT7GKCeeRLzvAlrAh9i1GOzFPxAkDe2V41rZhIlW6U6v9CqIvAJE7i1V0Hk\r\nekxG2p5ig2Z3UBQGAKxk6EkgGjnTSqlgiBtcvBqvwSAo8Ar6YtQhN4DtmCq5\r\nVA9swlv4iBtb98hZECg+5anwkFAt39zoAjFSRcBXgbFiQO7gWHnygH/47RBE\r\ndJ/t0+/9BzWkJ+2IGBb4d0/+h+zLYyLWno0CXPNxP6oK8z7kjnwlAfiw+Ygl\r\ntq0QYY1JSg2yEX02vatVP68BKnB1M25Dg8DflT2ezEhgvXHESD0F6yya6c5A\r\nvKDIbZ/asgHVbnSnJn5zoMADaBCpCRN4dOkbpY9gzWBRBKvOb9G5QkbEXtTI\r\n0kWTtl7GapqDdjLH+X4WT3JlLmBv7GCazYBXqgrY1avvt/BSKRH/+GeHYxvd\r\n4LgD7SUiVNwBfmlYaIH6RwsfxROQTYxgPBo7A4+Fry7D8XlXr0ML+JHuRarW\r\nmuv46T2uvnlfsdtifpR1R0q2NRzngQR3xMJz2yK2o1noGypaIkGwP2TBLVwo\r\n5MjPGXHnAAlucAuC2+qKIDNse3T/a0vbOEo=\r\n=skqW\r\n-----END PGP SIGNATURE-----\r\n","size":3126,"noattachment":false,"key":"/muggle-string/-/muggle-string-0.2.0.tgz"},"_npmUser":{"name":"johnsoncodehk","email":"johnsoncodehk@gmail.com"},"directories":{},"maintainers":[{"name":"johnsoncodehk","email":"johnsoncodehk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/muggle-string_0.2.0_1672065155041_0.1315905920945959"},"_hasShrinkwrap":false,"publish_time":1672065155240,"_cnpm_publish_time":1672065155240},"0.1.0":{"name":"muggle-string","version":"0.1.0","main":"out/index.js","license":"MIT","repository":{"type":"git","url":"git+https://github.com/johnsoncodehk/muggle-string.git"},"devDependencies":{"typescript":"latest"},"types":"./out/index.d.ts","description":"This library aims to provide codegen helpers and data structure for Vue language plugin API v1.x that does not depend on Volar runtime.","bugs":{"url":"https://github.com/johnsoncodehk/muggle-string/issues"},"homepage":"https://github.com/johnsoncodehk/muggle-string#readme","_id":"muggle-string@0.1.0","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-Tr1knR3d2mKvvWthlk7202rywKbiOm4rVFLsfAaSIhJ6dt9o47W4S+JMtWhd/PW9Wrdew2/S2fSvhz3E2gkfEg==","shasum":"1fda8a281c8b27bb8b70466dbc9f27586a8baa6c","tarball":"http://registry-npm.ywwl.com/muggle-string/download/muggle-string-0.1.0.tgz","fileCount":5,"unpackedSize":4426,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFBQ+JH8zXfMMxA/LJXaWLpvl6qnAj/c249KS9+RLbGXAiEA8CEg+NkAY1f1yCiEvUNp49xD2B2SZO7m29duX+tqiJU="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjNZzzACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpjQQ//UROt0gY7R6YeKjhxJPLHUwLWNVMzeahtwYOwpLO2JBDvxvF2\r\nGOKAeo9JnMQtJ8+7U5vg4y10O5Gc0emBf+jXgpN3LWMuB9RJ+pOWkLthNc+0\r\nqCPKUBf0+Dpt5kW4YWSXO2wCnDcigaKf1IJIhR7zNK6QHSofZDddu2I11X0i\r\noCoubF6221jG9jgNOEvPxvT82Q7VNeXzaLOSNNwMAFaxwB13FtGoex3DYUD4\r\nm0L0roWNl/opWWdmW3naNTlALVVMX9bbwZtKfEF4oPfwCIgbw61vOmYZ5mzg\r\nAH3uqv756olFDefS0mGDW74wmOSWlKpd6iPTt1xbewuU0Z929D6nezse6MUC\r\ncLK9EYrMryLBbPrRkRKNSUT3ZCDc+IvCPaRKPk/3AO04aIqw9I1Fh4gFHJqL\r\nDOttNTvAGavDDhR0uQPMbCcMLwWl2QSW72Fz6/4Sq2x+ad3zYMdS8+TTiVFr\r\nJm6Kp35qtgmd7L5lv6rhv3wgil1DsgH0jS+C4mn5L5ytsZsHmh4hkaljQFEw\r\ntkOA6GWHK0Iu/hysmfZhc1Jy2P/JbtT6STgT8mAs5EPM6/dQ89ehezR9S0/u\r\n3CxaudZ0XJCzlh/Oduz2Ra8+ydvQuQ/2l2JBqx8TejpnryGcPc4E5poTYZG4\r\nStD6cpndlbMVZV+6oPMwIn7LZhsJWgm/doo=\r\n=eMGX\r\n-----END PGP SIGNATURE-----\r\n","size":2224,"noattachment":false,"key":"/muggle-string/-/muggle-string-0.1.0.tgz"},"_npmUser":{"name":"johnsoncodehk","email":"johnsoncodehk@gmail.com"},"directories":{},"maintainers":[{"name":"johnsoncodehk","email":"johnsoncodehk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/muggle-string_0.1.0_1664457971600_0.7064659334938932"},"_hasShrinkwrap":false,"publish_time":1664457971724,"_cnpm_publish_time":1664457971724}},"readme":"# muggle-string\n\nI wrote muggle-string for [vuejs/language-tools](https://github.com/vuejs/language-tools), to turn Vue single-file components into TypeScript code for the language server. It lets you rewrite source text from several places at once, and then map the result back — both as language-server spans and as a v3 source map. No dependencies.\n\n> **Note:** Version 1.0 replaced the 0.4 segment-array helpers (`replace`, `replaceSourceRange`, `toString`, ...). Those APIs are gone, not deprecated.\n\n## Install\n\n`npm install muggle-string`\n\nShips as ES modules. CommonJS code can `require` it on Node 20.19+, or 22.12+. `renderWithSourceMap` needs the global `TextDecoder` (available in Node and Bun); `renderWithDecodedSourceMap` does not.\n\n## Quick example\n\n```ts\nimport { createSourceRewrite, rewritePieceText } from 'muggle-string';\n\nconst source = { content: 'log(name);\\nconst name = \"Ada\";\\n' };\nconst rewrite = createSourceRewrite(source);\n\nfor (const { index: start } of source.content.matchAll(/\\bname\\b/g)) {\n\trewrite.replace(start, start + 'name'.length, 'user');\n}\nrewrite.insertBefore(0, rewrite.cut(source.content.indexOf('const'), source.content.length));\n\nlet text = '';\nrewrite.render(0, source.content.length, piece => text += rewritePieceText(piece));\nconsole.log(text);\n// const user = \"Ada\";\n// log(user);\n```\n\nA source is any object with a `content` string. All offsets point into the original text, even after other edits. Rendering after the source content changed throws an error.\n\n## Core concepts\n\n### Offsets stay stable\n\nEvery offset you pass — to `insertBefore`, `insertAfter`, `replace`, `cut`, or `render` — refers to the original source text. Even after you make a hundred edits, offset 5 still means position 5 in the original string.\n\n### Inserts attach to characters\n\n`insertBefore(offset, code)` attaches code to the character at that offset. `insertAfter(offset, code)` attaches to the character before it. When you move or render that character, the attached code moves with it.\n\nAn empty `replace(start, end, code)` where `start === end` inserts `code` at that position without removing anything.\n\n### Writers and ranks\n\nSeveral plugins can edit the same position. Use writers with different ranks to control nesting order:\n\n```ts\nimport { createSourceRewrite, rewritePieceText } from 'muggle-string';\n\nconst source = { content: 'f(x)' };\nconst rewrite = createSourceRewrite(source);\nconst inner = rewrite.writer(0);\nconst outer = rewrite.writer(1);\n\ninner.insertBefore(2, '(');\nouter.insertBefore(2, '[');\nrewrite.insertBefore(2, '{');\ninner.insertAfter(3, ')');\nouter.insertAfter(3, ']');\nrewrite.insertAfter(3, '}');\ninner.insertAfter(3, '!');\n\nlet text = '';\nrewrite.render(0, source.content.length, piece => text += rewritePieceText(piece));\nconsole.log(text);\n// f({[(x)!]})\n```\n\nHigher ranks wrap lower ranks, no matter the call order. The rewrite itself has the highest rank. Within one writer at one position, call order is preserved.\n\n### Moving code with cut\n\n`cut(start, end)` removes a range and returns a slice. Place that slice somewhere else, and it renders the range with all edits inside it:\n\n```ts\nimport { createSourceRewrite, rewritePieceText } from 'muggle-string';\n\nconst source = { content: 'export default { a: 1 };\\n' };\nconst rewrite = createSourceRewrite(source);\n\nconst object = rewrite.cut(15, 23, { placeholder: '__options' });\nrewrite.replace(20, 21, '2');\nconsole.log(rewrite.unrendered().length);\n// 1\n\nrewrite.insertBefore(0, ['const __options = ', object, ';\\n']);\nlet text = '';\nrewrite.render(0, source.content.length, piece => text += rewritePieceText(piece));\nconsole.log(text);\n// const __options = { a: 2 };\n// export default __options;\nconsole.log(rewrite.unrendered().length);\n// 0\n```\n\nThe `placeholder` option renders where the cut was made. Kept text from a slice carries the data you pass to `cut`.\n\nOnly `cut` creates a slice. Any other object you pass is a piece and is handed through as-is.\n\n### Rendering and pieces\n\n`render(start, end, sink)` calls your sink function with each piece in order. A piece is either:\n\n- A `string` — new text you inserted\n- A range without `text` — kept source text from `start` to `end`\n- A range with `text` — generated text that maps back to the source range\n\nWhether to join pieces into a string is your choice. `rewritePieceText(piece)` extracts the text from any piece.\n\nViews can overlap. You can render the same range multiple times, or render several ranges that cover the same source positions.\n\nKept text picks up the data you pass to `render`:\n\n```ts\nimport { createSourceRewrite, rewritePieceText } from 'muggle-string';\n\nconst source = { content: 'let a = 1;\\nlet b = 2;\\n' };\nconst rewrite = createSourceRewrite<typeof source, { view: string }>(source);\nrewrite.insertAfter(0, '// start\\n');\nrewrite.replace(4, 5, 'x');\n\nfunction view(start: number, end: number, name: string) {\n\tconst kept: string[] = [];\n\tlet text = '';\n\trewrite.render(start, end, piece => {\n\t\ttext += rewritePieceText(piece);\n\t\tif (typeof piece !== 'string' && piece.text === undefined) {\n\t\t\tkept.push(piece.view);\n\t\t}\n\t}, { view: name });\n\tconsole.log(JSON.stringify(text), kept.join());\n}\n\nview(0, 10, 'first');\n// \"// start\\nlet x = 1;\" first,first\nview(4, 22, 'second');\n// \"x = 1;\\nlet b = 2;\\n\" second\n```\n\n### Source maps\n\nGenerate a v3 source map with `renderWithSourceMap` or `renderWithDecodedSourceMap`:\n\n```ts\nimport { createSourceRewrite, renderWithSourceMap } from 'muggle-string';\n\nconst source = { name: 'main.js', content: 'log(name);\\nconst name = \"Ada\";\\n' };\nconst rewrite = createSourceRewrite<typeof source, { name?: string }>(source);\n\nfor (const { index: start } of source.content.matchAll(/\\bname\\b/g)) {\n\tconst end = start + 'name'.length;\n\trewrite.replace(start, end, { source, start, end, text: 'user', name: 'name' });\n}\nrewrite.insertBefore(0, rewrite.cut(source.content.indexOf('const'), source.content.length));\n\nconst { text, map } = renderWithSourceMap(\n\tsink => rewrite.render(0, source.content.length, sink),\n\t(from: typeof source) => from.name,\n);\nconsole.log(text);\n// const user = \"Ada\";\n// log(user);\nconsole.log(JSON.stringify(map));\n// {\"version\":3,\"sources\":[\"main.js\"],\"sourcesContent\":[\"log(name);\\nconst name = \\\"Ada\\\";\\n\"],\"names\":[\"name\"],\"mappings\":\"AACA,KAAK,CAACA,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC;AADlB,GAAG,CAACA,IAAI,CAAC;\"}\n```\n\nMapping rules:\n- Kept text maps at token boundaries (line starts, word starts, whitespace runs, individual punctuation)\n- Generated text (ranges with `text`) maps to the start of the source range\n- New strings map to nothing\n\n`renderWithDecodedSourceMap` gives you the decoded segments instead of the encoded `mappings` string. Use `encodeMappings` and `decodeMappings` to convert between formats.\n\n## Coming from a mutable string editor\n\nAll offsets point into the original text, even after edits.\n\n| To | Write |\n|---|---|\n| overwrite a range | `replace(start, end, text)`, or `replace(start, end, { source, start, end, text })` to map it |\n| remove a range | `replace(start, end, '')` |\n| prepend or append | `insertAfter(0, code)` or `insertBefore(source.content.length, code)` |\n| insert at an offset | `insertBefore(offset, code)` or `insertAfter(offset, code)` |\n| move a range | `insertBefore(to, rewrite.cut(start, end))` |\n| read the result | `rewrite.render(0, source.content.length, piece => text += rewritePieceText(piece))` |\n| get a source map | `renderWithSourceMap` (see above) |\n| get decoded segments | `renderWithDecodedSourceMap` |\n| read segments from a map | `decodeMappings(mappings)` |\n\n## Reference\n\n### Creating and editing\n\n- `createSourceRewrite<S, Data>(source)` — create a rewrite for a source object\n- `rewrite.writer(rank)` — create a writer with its own rank (lower ranks nest inside higher)\n- `insertBefore(offset, code)` — attach code before the character at `offset`\n- `insertAfter(offset, code)` — attach code after the character before `offset`\n- `replace(start, end, code)` — remove the range and insert `code` in its place\n- `cut(start, end, options?)` — remove a range and return a slice you can place elsewhere\n  - `options.placeholder` — code that renders where the cut was made\n- `unrendered()` — list slices that haven't been rendered yet\n\n### Rendering\n\n- `render(start, end, sink, data?)` — call `sink(piece)` for each piece in the range\n- `rewritePieceText(piece)` — extract the text from a piece (string or range)\n\n### Pieces\n\nPieces are either strings or ranges:\n\n```ts\ntype Piece<Origin = unknown> = string | (Origin & { start: number; end: number; text?: string });\n```\n\n- String: new text with no source mapping\n- Range without `text`: kept source text from `start` to `end`\n- Range with `text`: generated text that maps to the source range\n\n### Source maps\n\n- `renderWithSourceMap(render, sourceName)` — render and generate a v3 source map\n- `renderWithDecodedSourceMap(render, sourceName)` — like above, but with decoded `mappings`\n- `encodeMappings(segments)` — encode decoded segments into a v3 `mappings` string\n- `decodeMappings(mappings)` — decode a v3 `mappings` string into segments\n\nThe `name` field on a range with `text` goes into the map's `names` array. Use it only when renaming an identifier.\n\n### Errors\n\nCommon errors:\n\n- **Offset out of range** — offset is not within `0..content.length`\n- **Invalid rank** — rank is negative or not an integer\n- **Crossing cuts** — a cut overlaps another cut (cuts can nest but not cross)\n- **Cut placed inside itself** — a slice is placed within its own range (including `insertBefore` at its start)\n- **Editing while rendering** — you called an edit method from inside a `render` sink\n- **Content changed** — the source content was modified after creating the rewrite\n\n## Adoption\n\n- [vuejs/language-tools](https://github.com/vuejs/language-tools): generates TypeScript code from Vue single-file components. Currently uses 0.4; migration to 1.0 is in progress.\n- [muggle-pug](https://github.com/johnsoncodehk/muggle-pug): compiles Pug to HTML as `Piece` ranges.\n","_attachments":{},"homepage":"https://github.com/johnsoncodehk/muggle-string#readme","bugs":{"url":"https://github.com/johnsoncodehk/muggle-string/issues"},"license":"MIT"}