{"_id":"@eklmv/jscpd-tokenizer","_rev":"3-53e57c2220a6708021877e39b0b31f63","name":"@eklmv/jscpd-tokenizer","dist-tags":{"latest":"4.0.3"},"versions":{"4.0.1":{"name":"@eklmv/jscpd-tokenizer","version":"4.0.1","author":{"name":"Andrey Kucherenko","email":"kucherenko.andrey@gmail.com"},"license":"MIT","_id":"@eklmv/jscpd-tokenizer@4.0.1","maintainers":[{"name":"eklmv","email":"eklmv.mail@gmail.com"}],"homepage":"https://github.com/kucherenko/jscpd#readme","bugs":{"url":"https://github.com/eklmv/jscpd/issues"},"dist":{"shasum":"aa584500935c63ad3dfc137caf1ede274508aeaa","tarball":"https://registry.npmjs.org/@eklmv/jscpd-tokenizer/-/jscpd-tokenizer-4.0.1.tgz","fileCount":9,"integrity":"sha512-B36GhFxXvO3/T3izLbrAnWugqYzkXCGssH6FxpIQcWg2+JT67VxWipbzN2OvuvwUVkZnmjHM3xTyctdlhTXzSg==","signatures":[{"sig":"MEYCIQDICCzUls9MsGpMqQdE8j0xv+L5T9+/BoWWtsOa4nXt8gIhAL4jlYymRdTxOIJtBa32bU2gEqoag02wru8zGUjLLDAv","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":179381},"main":"dist/index.js","_from":"file:eklmv-jscpd-tokenizer-4.0.1.tgz","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./README.md":"./README.md"},"gitHead":"beaae8ee77d5c7f41d2a0c65187887bd0dc87148","scripts":{"dev":"nodemon","build":"tsup-node --dts","cleanup":"rimraf ./dist .turbo","test:dev":"vitest","typecheck":"tsc"},"typings":"dist/index.d.mts","_npmUser":{"name":"eklmv","email":"eklmv.mail@gmail.com"},"_resolved":"/private/var/folders/s_/rs3w0h1n2v138tk_px2b_fd40000gq/T/5b95894504143415e333f714eab8078d/eklmv-jscpd-tokenizer-4.0.1.tgz","_integrity":"sha512-B36GhFxXvO3/T3izLbrAnWugqYzkXCGssH6FxpIQcWg2+JT67VxWipbzN2OvuvwUVkZnmjHM3xTyctdlhTXzSg==","repository":{"url":"git+ssh://git@github.com/eklmv/jscpd.git","type":"git"},"_npmVersion":"10.7.0","description":"tokenizer of source code for jscpd","directories":{"lib":"src","test":"__tests__"},"_nodeVersion":"18.20.4","dependencies":{"reprism":"^0.0.11","spark-md5":"^3.0.2","@eklmv/jscpd-core":"4.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.2.4","vitest":"^2.0.5","nodemon":"^3.1.4","typescript":"^5.5.4","@types/node":"^22.5.2","@types/spark-md5":"^3.0.4","@eklmv/jscpd-tsconfig":"5.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jscpd-tokenizer_4.0.1_1748512994749_0.6726155475217144","host":"s3://npm-registry-packages-npm-production"}},"4.0.2":{"name":"@eklmv/jscpd-tokenizer","version":"4.0.2","author":{"name":"Andrey Kucherenko","email":"kucherenko.andrey@gmail.com"},"license":"MIT","_id":"@eklmv/jscpd-tokenizer@4.0.2","maintainers":[{"name":"eklmv","email":"eklmv.mail@gmail.com"}],"homepage":"https://github.com/kucherenko/jscpd#readme","bugs":{"url":"https://github.com/eklmv/jscpd/issues"},"dist":{"shasum":"c6cf6826b79f98c3fe86a4c5f5efd9a8a651428c","tarball":"https://registry.npmjs.org/@eklmv/jscpd-tokenizer/-/jscpd-tokenizer-4.0.2.tgz","fileCount":9,"integrity":"sha512-mFU99AEPVVnmti+WZaB2/xTeREsCdLEnQZYmdplSP2Jn3Xp/ht9i2vojYL0Xbs2vVD5Bttlx3V2iXqEnYKfJew==","signatures":[{"sig":"MEUCIAo/R/y0MgyYi9No7zRcT0JK6O0t/PLshMP1pcQXza//AiEAtWvxy/SkenEiVylkV12BJWDA7PW9JLZF0cP1AYhdGuw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":179381},"main":"dist/index.js","_from":"file:eklmv-jscpd-tokenizer-4.0.2.tgz","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./README.md":"./README.md"},"gitHead":"beaae8ee77d5c7f41d2a0c65187887bd0dc87148","scripts":{"dev":"nodemon","build":"tsup-node --dts","cleanup":"rimraf ./dist .turbo","test:dev":"vitest","typecheck":"tsc"},"typings":"dist/index.d.mts","_npmUser":{"name":"eklmv","email":"eklmv.mail@gmail.com"},"_resolved":"/private/var/folders/s_/rs3w0h1n2v138tk_px2b_fd40000gq/T/cfbbb6b27dd0249381646122f026ac47/eklmv-jscpd-tokenizer-4.0.2.tgz","_integrity":"sha512-mFU99AEPVVnmti+WZaB2/xTeREsCdLEnQZYmdplSP2Jn3Xp/ht9i2vojYL0Xbs2vVD5Bttlx3V2iXqEnYKfJew==","repository":{"url":"git+ssh://git@github.com/eklmv/jscpd.git","type":"git"},"_npmVersion":"10.7.0","description":"tokenizer of source code for jscpd","directories":{"lib":"src","test":"__tests__"},"_nodeVersion":"18.20.4","dependencies":{"reprism":"^0.0.11","spark-md5":"^3.0.2","@eklmv/jscpd-core":"5.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.2.4","vitest":"^2.0.5","nodemon":"^3.1.4","typescript":"^5.5.4","@types/node":"^22.5.2","@types/spark-md5":"^3.0.4","@eklmv/jscpd-tsconfig":"5.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jscpd-tokenizer_4.0.2_1748515474388_0.46920533710198864","host":"s3://npm-registry-packages-npm-production"}},"4.0.3":{"name":"@eklmv/jscpd-tokenizer","version":"4.0.3","description":"tokenizer of source code for jscpd","author":{"name":"Andrey Kucherenko","email":"kucherenko.andrey@gmail.com"},"homepage":"https://github.com/kucherenko/jscpd#readme","license":"MIT","main":"dist/index.js","module":"dist/index.mjs","typings":"dist/index.d.mts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./README.md":"./README.md"},"directories":{"lib":"src","test":"__tests__"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/eklmv/jscpd.git"},"devDependencies":{"@types/node":"^22.5.2","@types/spark-md5":"^3.0.4","nodemon":"^3.1.4","tsup":"^8.2.4","typescript":"^5.5.4","vitest":"^2.0.5","@eklmv/jscpd-tsconfig":"5.0.1"},"dependencies":{"reprism":"^0.0.11","spark-md5":"^3.0.2","@eklmv/jscpd-core":"5.0.1"},"gitHead":"beaae8ee77d5c7f41d2a0c65187887bd0dc87148","scripts":{"build":"tsup-node --dts","dev":"nodemon","test:dev":"vitest","typecheck":"tsc","cleanup":"rimraf ./dist .turbo"},"_id":"@eklmv/jscpd-tokenizer@4.0.3","bugs":{"url":"https://github.com/eklmv/jscpd/issues"},"_integrity":"sha512-c5HvWv+Yhmss9DqADK6uWvJdLo839LdCVOnCocx+mfGwPe4gU57mhZNiS3Wv39xlMxT0CAzGZzYyQ/Ez7KyYYQ==","_resolved":"/private/var/folders/s_/rs3w0h1n2v138tk_px2b_fd40000gq/T/f68c03fb36b43172aae8ba91f3b98376/eklmv-jscpd-tokenizer-4.0.3.tgz","_from":"file:eklmv-jscpd-tokenizer-4.0.3.tgz","_nodeVersion":"18.20.4","_npmVersion":"10.7.0","dist":{"integrity":"sha512-c5HvWv+Yhmss9DqADK6uWvJdLo839LdCVOnCocx+mfGwPe4gU57mhZNiS3Wv39xlMxT0CAzGZzYyQ/Ez7KyYYQ==","shasum":"932e98644fde6566d0541a3ab1dfa2d6b81518fb","tarball":"https://registry.npmjs.org/@eklmv/jscpd-tokenizer/-/jscpd-tokenizer-4.0.3.tgz","fileCount":9,"unpackedSize":179381,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIEspQ023st6GLPzNRK2jSuu6Ag1JELAjoucG70oo+HJcAiEAzg5qCEkD0dB5x2UI2lhEiWUF2CkSp053UncWflXlqQw="}]},"_npmUser":{"name":"eklmv","email":"eklmv.mail@gmail.com"},"maintainers":[{"name":"eklmv","email":"eklmv.mail@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/jscpd-tokenizer_4.0.3_1749485913324_0.3417768639708836"},"_hasShrinkwrap":false}},"time":{"created":"2025-05-29T10:03:14.692Z","modified":"2025-06-09T16:18:33.689Z","4.0.1":"2025-05-29T10:03:15.033Z","4.0.2":"2025-05-29T10:44:34.570Z","4.0.3":"2025-06-09T16:18:33.522Z"},"bugs":{"url":"https://github.com/eklmv/jscpd/issues"},"author":{"name":"Andrey Kucherenko","email":"kucherenko.andrey@gmail.com"},"license":"MIT","homepage":"https://github.com/kucherenko/jscpd#readme","repository":{"type":"git","url":"git+ssh://git@github.com/eklmv/jscpd.git"},"description":"tokenizer of source code for jscpd","maintainers":[{"name":"eklmv","email":"eklmv.mail@gmail.com"}],"readme":"# `@eklmv/jscpd-tokenizer`\n\n> tokenizer is package from @jscpd used for convert programming code to list of tokens\n\n\n## Installation\n\n```\nnpm install @eklmv/jscpd-tokenizer --save\n```\n\n## Usage\n\n```\nimport {IOptions,  ITokensMap} from '@eklmv/jscpd-core';\nimport {Tokenizer} from '@eklmv/jscpd-tokenizer';\n\nconst tokenizer = new Tokenizer();\nconst options: IOptions = {};\n\nconst maps: ITokensMap[] = tokenizer.generateMaps('source_id', 'let a = \"11\"', 'javascript', options);\n\n```\n\n![ga tracker](https://www.google-analytics.com/collect?v=1&a=257770996&t=pageview&dl=https%3A%2F%2Fgithub.com%2Fkucherenko%2Fjscpd&ul=en-us&de=UTF-8&cid=978224512.1377738459&tid=UA-730549-17&z=887657232 \"ga tracker\")\n\n## License\n\n[MIT](LICENSE) © Andrey Kucherenko\n","readmeFilename":"README.md"}