{"name":"js-tokens","version":"10.0.0","author":{"name":"Simon Lydell"},"license":"MIT","description":"Tiny JavaScript tokenizer.","repository":{"type":"git","url":"git+https://github.com/lydell/js-tokens.git"},"type":"module","exports":"./index.js","keywords":["JavaScript","js","ECMAScript","es","token","tokens","tokenize","tokenizer","regex","regexp"],"_id":"js-tokens@10.0.0","gitHead":"d7ec3643eac02418881ddb46ec420cfc10a653ba","types":"./index.d.ts","bugs":{"url":"https://github.com/lydell/js-tokens/issues"},"homepage":"https://github.com/lydell/js-tokens#readme","_nodeVersion":"24.9.0","_npmVersion":"11.6.0","dist":{"integrity":"sha512-lM/UBzQmfJRo9ABXbPWemivdCW8V2G8FHaHdypQaIy523snUjog0W71ayWXTjiR+ixeMyVHN2XcpnTd/liPg/Q==","shasum":"dffe7599b4a8bb7fe30aff8d0235234dffb79831","tarball":"http://registry-npm.ywwl.com/js-tokens/download/js-tokens-10.0.0.tgz","fileCount":5,"unpackedSize":15993,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIGRQD/Khq/6aWgE/Dku93yWeLpxKn9hfpbkzpkNhjGnUAiEAgLaPeuV58jA3y+M44FdmeXLzIwe5MTExIFVj4YWldwU="}],"size":4360,"noattachment":false,"key":"/js-tokens/-/js-tokens-10.0.0.tgz"},"_npmUser":{"name":"lydell","email":"simon.lydell@gmail.com"},"directories":{},"maintainers":[{"name":"lydell","email":"simon.lydell@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/js-tokens_10.0.0_1765228195321_0.8696671751947662"},"_hasShrinkwrap":false,"readme":"# js-tokens\n\nThe tiny, regex powered, lenient, _almost_ spec-compliant JavaScript tokenizer that never fails.\n\n```js\nimport jsTokens from \"js-tokens\";\n\nconst jsString = 'JSON.stringify({k:3.14**2}, null /*replacer*/, \"\\\\t\")';\n\nArray.from(jsTokens(jsString), (token) => token.value).join(\"|\");\n// JSON|.|stringify|(|{|k|:|3.14|**|2|}|,| |null| |/*replacer*/|,| |\"\\t\"|)\n```\n\n**[➡️ Full readme](https://github.com/lydell/js-tokens/)**","publish_time":1765228195458,"_cnpm_publish_time":1765228195458,"dist-tags":{"latest":"10.0.0"}}