{"_id":"strip-comments-strings","_rev":"3287909","name":"strip-comments-strings","description":"Strip or extract comments, strings or both from source code.","dist-tags":{"latest":"1.2.0"},"maintainers":[{"name":"thimpat","email":""}],"time":{"modified":"2024-05-23T06:37:26.000Z","created":"2022-02-20T01:37:37.543Z","1.2.0":"2022-06-12T23:34:53.852Z","1.1.9":"2022-06-04T18:09:54.093Z","1.1.8":"2022-03-04T11:58:03.306Z","1.1.7":"2022-03-03T10:13:09.295Z","1.1.5":"2022-02-25T02:39:46.841Z","1.1.4":"2022-02-21T06:32:01.827Z","1.1.3":"2022-02-20T18:10:12.273Z","1.1.2":"2022-02-20T18:02:43.848Z","1.1.1":"2022-02-20T17:00:48.888Z","1.1.0":"2022-02-20T16:56:14.482Z","1.0.6":"2022-02-20T04:42:01.889Z","1.0.5":"2022-02-20T04:40:00.741Z","1.0.4":"2022-02-20T02:11:57.036Z","1.0.3":"2022-02-20T01:53:55.052Z","1.0.2":"2022-02-20T01:49:38.090Z","1.0.1":"2022-02-20T01:43:16.642Z","1.0.0":"2022-02-20T01:37:37.543Z"},"users":{},"author":{"name":"Patrice Thimothee"},"versions":{"1.2.0":{"name":"strip-comments-strings","version":"1.2.0","description":"Strip or extract comments, strings or both from source code.","main":"./index.cjs","module":"./index.mjs","type":"module","exports":{".":{"require":"./index.cjs","import":"./index.mjs"}},"scripts":{"demo:cjs":"node examples/demo.cjs","build:esm":"to-esm --input=index.cjs --entrypoint=index.cjs --update-all"},"author":{"name":"Patrice Thimothee"},"license":"MIT","devDependencies":{"@babel/core":"^7.17.5","@babel/eslint-parser":"^7.17.0","@babel/preset-env":"^7.16.11","babel-eslint":"^10.1.0","eslint":"^8.9.0","to-esm":"^2.15.0"},"gitHead":"fda7d9eefb0523e0aac60cb9309fdc105a35b6ea","_id":"strip-comments-strings@1.2.0","_nodeVersion":"16.15.0","_npmVersion":"8.3.0","dist":{"shasum":"b19a1382e8f69a704ef61ad5069c29721c20aaad","size":4531,"noattachment":false,"key":"/strip-comments-strings/-/strip-comments-strings-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/strip-comments-strings/download/strip-comments-strings-1.2.0.tgz"},"_npmUser":{"name":"thimpat","email":"thimpat@gmail.com"},"directories":{},"maintainers":[{"name":"thimpat","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/strip-comments-strings_1.2.0_1655076893715_0.056186492221157236"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-06-12T23:57:57.610Z","publish_time":1655076893852,"_cnpm_publish_time":1655076893852},"1.1.9":{"name":"strip-comments-strings","version":"1.1.9","description":"Strip or extract comments, strings or both from source code.","main":"./index.cjs","module":"./index.mjs","type":"module","exports":{".":{"require":"./index.cjs","import":"./index.mjs"}},"scripts":{"demo:cjs":"node examples/demo.cjs","build:esm":"to-esm --input=index.cjs --entrypoint=index.cjs --update-all"},"author":{"name":"Patrice Thimothee"},"license":"MIT","devDependencies":{"@babel/core":"^7.17.5","@babel/eslint-parser":"^7.17.0","@babel/preset-env":"^7.16.11","babel-eslint":"^10.1.0","eslint":"^8.9.0"},"gitHead":"b8cdc18cd1316e2331a3e54213823d7493170bb6","_id":"strip-comments-strings@1.1.9","_nodeVersion":"16.15.0","_npmVersion":"8.3.0","dist":{"shasum":"6b839de1e95bcb48b132191169996c187f51e70d","size":4467,"noattachment":false,"key":"/strip-comments-strings/-/strip-comments-strings-1.1.9.tgz","tarball":"http://registry.cnpm.dingdandao.com/strip-comments-strings/download/strip-comments-strings-1.1.9.tgz"},"_npmUser":{"name":"thimpat","email":"thimpat@gmail.com"},"directories":{},"maintainers":[{"name":"thimpat","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/strip-comments-strings_1.1.9_1654366193937_0.6217532580802136"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-06-05T13:38:56.234Z","publish_time":1654366194093,"_cnpm_publish_time":1654366194093},"1.1.8":{"name":"strip-comments-strings","version":"1.1.8","description":"Strip or extract comments, strings or both from source code.","main":"./index.cjs","module":"./index.mjs","type":"module","exports":{".":{"require":"./index.cjs","import":"./index.mjs"}},"scripts":{"demo:cjs":"node examples/demo.cjs","build:esm":"to-esm --input=index.cjs --entrypoint=index.cjs --update-all"},"author":{"name":"Patrice Thimothee"},"license":"MIT","devDependencies":{"@babel/core":"^7.17.5","@babel/eslint-parser":"^7.17.0","@babel/preset-env":"^7.16.11","babel-eslint":"^10.1.0","eslint":"^8.9.0","to-esm":"^2.2.0"},"gitHead":"d2d2ffd7065be22f8d2071fe3ffb9e322b6fd41e","_id":"strip-comments-strings@1.1.8","_nodeVersion":"16.14.0","_npmVersion":"8.3.0","dist":{"shasum":"0244b97f03a6c675c93fcdfd1f2db930fe43ff0d","size":4315,"noattachment":false,"key":"/strip-comments-strings/-/strip-comments-strings-1.1.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/strip-comments-strings/download/strip-comments-strings-1.1.8.tgz"},"_npmUser":{"name":"thimpat","email":"thimpat@gmail.com"},"directories":{},"maintainers":[{"name":"thimpat","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/strip-comments-strings_1.1.8_1646395083162_0.8579158751166513"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-03-04T11:58:34.146Z","publish_time":1646395083306,"_cnpm_publish_time":1646395083306},"1.1.7":{"name":"strip-comments-strings","version":"1.1.7","description":"Strip or extract comments, strings or both from source code.","main":"./index.cjs","module":"./index.mjs","type":"module","exports":{".":{"require":"./index.cjs","import":"./index.mjs"}},"scripts":{"demo:cjs":"node examples/demo.cjs","build:esm":"to-esm --input=index.cjs --entrypoint=index.cjs --update-all"},"author":{"name":"Patrice Thimothee"},"license":"MIT","devDependencies":{"@babel/core":"^7.17.5","@babel/eslint-parser":"^7.17.0","@babel/preset-env":"^7.16.11","babel-eslint":"^10.1.0","eslint":"^8.9.0","to-esm":"^2.2.0"},"gitHead":"f613657b162f80e70a09ff3ec3de8f4f474497a6","_id":"strip-comments-strings@1.1.7","_nodeVersion":"16.14.0","_npmVersion":"8.3.0","dist":{"shasum":"52df03fb787c378bf705bcd6cdfac7c106926d73","size":4126,"noattachment":false,"key":"/strip-comments-strings/-/strip-comments-strings-1.1.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/strip-comments-strings/download/strip-comments-strings-1.1.7.tgz"},"_npmUser":{"name":"thimpat","email":"thimpat@gmail.com"},"directories":{},"maintainers":[{"name":"thimpat","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/strip-comments-strings_1.1.7_1646302389042_0.21050232711552463"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-03-03T10:27:23.054Z","publish_time":1646302389295,"_cnpm_publish_time":1646302389295},"1.1.5":{"name":"strip-comments-strings","version":"1.1.5","description":"Strip or extract comments, strings or both from source code.","main":"./index.cjs","module":"./index.mjs","type":"module","exports":{".":{"require":"./index.cjs","import":"./index.mjs"}},"scripts":{"demo:cjs":"node examples/demo.cjs","build:esm":"to-esm --input=index.cjs --entrypoint=index.cjs --update-all"},"author":{"name":"Patrice Thimothee"},"license":"MIT","devDependencies":{"@babel/core":"^7.17.5","@babel/eslint-parser":"^7.17.0","@babel/preset-env":"^7.16.11","babel-eslint":"^10.1.0","eslint":"^8.9.0","to-esm":"^2.2.0"},"gitHead":"319d8c96a5753a50c5c8b06024b1f8851bc31501","_id":"strip-comments-strings@1.1.5","_nodeVersion":"16.14.0","_npmVersion":"8.3.0","dist":{"shasum":"7233eb1f9f175defb0ae828a0d2f6f07764e0741","size":4089,"noattachment":false,"key":"/strip-comments-strings/-/strip-comments-strings-1.1.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/strip-comments-strings/download/strip-comments-strings-1.1.5.tgz"},"_npmUser":{"name":"thimpat","email":"thimpat@gmail.com"},"directories":{},"maintainers":[{"name":"thimpat","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/strip-comments-strings_1.1.5_1645756786700_0.19926091124831302"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-25T02:39:52.456Z","publish_time":1645756786841,"_cnpm_publish_time":1645756786841},"1.1.4":{"name":"strip-comments-strings","version":"1.1.4","description":"Strip or extract comments, strings or both from source code.","main":"./index.cjs","module":"./index.mjs","type":"module","exports":{".":{"require":"./index.cjs","import":"./index.mjs"}},"scripts":{"demo:cjs":"node examples/demo.cjs","build:esm":"to-esm --input=index.cjs --entrypoint=index.cjs --update-all"},"author":{"name":"Patrice Thimothee"},"license":"MIT","devDependencies":{"@babel/core":"^7.17.5","@babel/eslint-parser":"^7.17.0","@babel/preset-env":"^7.16.11","babel-eslint":"^10.1.0","eslint":"^8.9.0","to-esm":"^2.2.0"},"gitHead":"1433933ce7a737568634fdc29e21f3b9f74e8df0","_id":"strip-comments-strings@1.1.4","_nodeVersion":"16.13.2","_npmVersion":"8.3.0","dist":{"shasum":"3d051d8bb29370eed16e69d5f1297bce0423a948","size":4090,"noattachment":false,"key":"/strip-comments-strings/-/strip-comments-strings-1.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/strip-comments-strings/download/strip-comments-strings-1.1.4.tgz"},"_npmUser":{"name":"thimpat","email":"thimpat@gmail.com"},"directories":{},"maintainers":[{"name":"thimpat","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/strip-comments-strings_1.1.4_1645425121672_0.0889213431142255"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-21T06:32:05.757Z","publish_time":1645425121827,"_cnpm_publish_time":1645425121827},"1.1.3":{"name":"strip-comments-strings","version":"1.1.3","description":"Strip or extract comments, strings or both from source code.","main":"./index.cjs","module":"./index.mjs","type":"module","exports":{".":{"require":"./index.cjs","import":"./index.mjs"}},"scripts":{"demo:cjs":"node examples/demo.cjs","build:esm":"to-esm --input=index.cjs --entrypoint=index.cjs --update-all"},"author":{"name":"Patrice Thimothee"},"license":"MIT","devDependencies":{"@babel/core":"^7.17.5","@babel/eslint-parser":"^7.17.0","@babel/preset-env":"^7.16.11","babel-eslint":"^10.1.0","eslint":"^8.9.0","to-esm":"^2.2.0"},"gitHead":"b762a2819790ce533eec0fc7844d1cb716f40e1e","_id":"strip-comments-strings@1.1.3","_nodeVersion":"16.13.2","_npmVersion":"8.3.0","dist":{"shasum":"f9f8ad15a4548adc9807e73807ceee77350148fd","size":4075,"noattachment":false,"key":"/strip-comments-strings/-/strip-comments-strings-1.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/strip-comments-strings/download/strip-comments-strings-1.1.3.tgz"},"_npmUser":{"name":"thimpat","email":"thimpat@gmail.com"},"directories":{},"maintainers":[{"name":"thimpat","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/strip-comments-strings_1.1.3_1645380612136_0.349965038718018"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-20T18:10:15.854Z","publish_time":1645380612273,"_cnpm_publish_time":1645380612273},"1.1.2":{"name":"strip-comments-strings","version":"1.1.2","description":"Strip or extract comments, strings or both from source code.","main":"./index.cjs","module":"./index.mjs","type":"module","exports":{".":{"require":"./index.cjs","import":"./index.mjs"}},"scripts":{"demo:cjs":"node examples/demo.cjs","build:esm":"to-esm --input=index.cjs --entrypoint=index.cjs --update-all"},"author":{"name":"Patrice Thimothee"},"license":"MIT","devDependencies":{"@babel/core":"^7.17.5","@babel/eslint-parser":"^7.17.0","@babel/preset-env":"^7.16.11","babel-eslint":"^10.1.0","eslint":"^8.9.0","to-esm":"^2.2.0"},"gitHead":"c37d890b048912e87be078506afad1d7217c40be","_id":"strip-comments-strings@1.1.2","_nodeVersion":"16.13.2","_npmVersion":"8.3.0","dist":{"shasum":"4d74dfb9fa212b0316f94d857ff192a700b26189","size":3396,"noattachment":false,"key":"/strip-comments-strings/-/strip-comments-strings-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/strip-comments-strings/download/strip-comments-strings-1.1.2.tgz"},"_npmUser":{"name":"thimpat","email":"thimpat@gmail.com"},"directories":{},"maintainers":[{"name":"thimpat","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/strip-comments-strings_1.1.2_1645380163698_0.9131581450719757"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-20T18:02:47.294Z","publish_time":1645380163848,"_cnpm_publish_time":1645380163848},"1.1.1":{"name":"strip-comments-strings","version":"1.1.1","description":"Strip or extract comments, strings or both from source code.","main":"./index.cjs","module":"./index.mjs","type":"module","exports":{".":{"require":"./index.cjs","import":"./index.mjs"}},"scripts":{"demo:cjs":"node examples/demo.cjs","build:esm":"to-esm --input=index.cjs --entrypoint=index.cjs --update-all"},"author":{"name":"Patrice Thimothee"},"license":"MIT","devDependencies":{"@babel/core":"^7.17.5","@babel/eslint-parser":"^7.17.0","@babel/preset-env":"^7.16.11","babel-eslint":"^10.1.0","eslint":"^8.9.0","to-esm":"^2.2.0"},"gitHead":"584615cb7408bb696fb5f150f865cfd92d11d38d","_id":"strip-comments-strings@1.1.1","_nodeVersion":"16.13.2","_npmVersion":"8.3.0","dist":{"shasum":"af23ab2b5f7f9a90435e1e4d2ea41f369c015a4e","size":4341,"noattachment":false,"key":"/strip-comments-strings/-/strip-comments-strings-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/strip-comments-strings/download/strip-comments-strings-1.1.1.tgz"},"_npmUser":{"name":"thimpat","email":"thimpat@gmail.com"},"directories":{},"maintainers":[{"name":"thimpat","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/strip-comments-strings_1.1.1_1645376448732_0.8628294582864138"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-20T17:00:53.092Z","publish_time":1645376448888,"_cnpm_publish_time":1645376448888},"1.1.0":{"name":"strip-comments-strings","version":"1.1.0","description":"Strip or extract comments, strings or both from source code.","main":"./index.cjs","module":"./index.mjs","type":"module","exports":{".":{"require":"./index.cjs","import":"./index.mjs"}},"scripts":{"demo:cjs":"node examples/demo.cjs","build:esm":"to-esm --input=index.cjs --entrypoint=index.cjs --update-all"},"author":{"name":"Patrice Thimothee"},"license":"MIT","devDependencies":{"@babel/core":"^7.17.5","@babel/eslint-parser":"^7.17.0","@babel/preset-env":"^7.16.11","babel-eslint":"^10.1.0","eslint":"^8.9.0","to-esm":"^2.2.0"},"gitHead":"688d01416f17bd80bf12c26c1113e14d7791dc36","_id":"strip-comments-strings@1.1.0","_nodeVersion":"16.13.2","_npmVersion":"8.3.0","dist":{"shasum":"193d04c25f884cf8dddf409080dac404e63d928b","size":4321,"noattachment":false,"key":"/strip-comments-strings/-/strip-comments-strings-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/strip-comments-strings/download/strip-comments-strings-1.1.0.tgz"},"_npmUser":{"name":"thimpat","email":"thimpat@gmail.com"},"directories":{},"maintainers":[{"name":"thimpat","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/strip-comments-strings_1.1.0_1645376174323_0.45089992897719555"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-20T16:56:18.012Z","publish_time":1645376174482,"_cnpm_publish_time":1645376174482},"1.0.6":{"name":"strip-comments-strings","version":"1.0.6","description":"Strip or extract comments, strings or both from source code.","main":"./index.cjs","module":"./index.mjs","type":"module","exports":{".":{"require":"./index.cjs","import":"./index.mjs"}},"scripts":{"demo:cjs":"node examples/demo.cjs","build:esm":"to-esm --input=index.cjs --entrypoint=index.cjs --update-all"},"author":{"name":"Patrice Thimothee"},"license":"MIT","devDependencies":{"@babel/core":"^7.17.5","@babel/eslint-parser":"^7.17.0","@babel/preset-env":"^7.16.11","babel-eslint":"^10.1.0","eslint":"^8.9.0","to-esm":"^2.2.0"},"gitHead":"0bb018d431e635f6246f9276d4fae5e30f3b7149","_id":"strip-comments-strings@1.0.6","_nodeVersion":"16.13.2","_npmVersion":"8.3.0","dist":{"shasum":"27bc9a5a1bc8bfaa55457950d40351cea786c4ea","size":4135,"noattachment":false,"key":"/strip-comments-strings/-/strip-comments-strings-1.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/strip-comments-strings/download/strip-comments-strings-1.0.6.tgz"},"_npmUser":{"name":"thimpat","email":"thimpat@gmail.com"},"directories":{},"maintainers":[{"name":"thimpat","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/strip-comments-strings_1.0.6_1645332121760_0.7959057507406988"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-20T04:42:05.897Z","publish_time":1645332121889,"_cnpm_publish_time":1645332121889},"1.0.5":{"name":"strip-comments-strings","version":"1.0.5","description":"Strip or extract comments, strings or both from source code.","main":"./index.cjs","module":"./index.mjs","type":"module","exports":{".":{"require":"./index.cjs","import":"./index.mjs"}},"scripts":{"demo:cjs":"node examples/stripString.cjs","build:esm":"to-esm --input=index.cjs --entrypoint=index.cjs --update-all"},"author":{"name":"Patrice Thimothee"},"license":"MIT","devDependencies":{"@babel/core":"^7.17.5","@babel/eslint-parser":"^7.17.0","@babel/preset-env":"^7.16.11","babel-eslint":"^10.1.0","eslint":"^8.9.0","to-esm":"^2.2.0"},"gitHead":"4f879cf5bffd924e7dd5e0d30329bc1c5fa9d18f","_id":"strip-comments-strings@1.0.5","_nodeVersion":"16.13.2","_npmVersion":"8.3.0","dist":{"shasum":"5c7275b70026a719f1594ac5e244cc515b5699c6","size":4139,"noattachment":false,"key":"/strip-comments-strings/-/strip-comments-strings-1.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/strip-comments-strings/download/strip-comments-strings-1.0.5.tgz"},"_npmUser":{"name":"thimpat","email":"thimpat@gmail.com"},"directories":{},"maintainers":[{"name":"thimpat","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/strip-comments-strings_1.0.5_1645332000599_0.4018392028588158"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-20T04:40:04.837Z","publish_time":1645332000741,"_cnpm_publish_time":1645332000741},"1.0.4":{"name":"strip-comments-strings","version":"1.0.4","description":"Strip or extract comments, strings or both from source code.","main":"index.cjs","module":"index.mjs","type":"module","exports":{".":{"require":"./index.cjs","import":"./index.mjs"}},"scripts":{"demo:cjs":"node examples/stripString.cjs","build:esm":"to-esm --input=index.cjs --entrypoint=index.cjs --update-all"},"author":{"name":"Patrice Thimothee"},"license":"MIT","devDependencies":{"@babel/core":"^7.17.5","@babel/eslint-parser":"^7.17.0","@babel/preset-env":"^7.16.11","babel-eslint":"^10.1.0","eslint":"^8.9.0"},"gitHead":"709eef0ea879de7a9e84f0c680bd07642b30a978","_id":"strip-comments-strings@1.0.4","_nodeVersion":"16.13.2","_npmVersion":"8.3.0","dist":{"shasum":"7e970a0798097205b9b607ee53d20bce2de2ed11","size":3981,"noattachment":false,"key":"/strip-comments-strings/-/strip-comments-strings-1.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/strip-comments-strings/download/strip-comments-strings-1.0.4.tgz"},"_npmUser":{"name":"thimpat","email":"thimpat@gmail.com"},"directories":{},"maintainers":[{"name":"thimpat","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/strip-comments-strings_1.0.4_1645323116711_0.8000493709772905"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-20T02:12:00.741Z","publish_time":1645323117036,"_cnpm_publish_time":1645323117036},"1.0.3":{"name":"strip-comments-strings","version":"1.0.3","description":"Strip or extract comments, strings or both from source code.","main":"index.cjs","scripts":{"demo:cjs":"node examples/stripString.cjs","build:esm":"to-esm --input=index.cjs --entrypoint=index.cjs --update-all"},"author":{"name":"Patrice Thimothee"},"license":"MIT","devDependencies":{"@babel/core":"^7.17.5","@babel/eslint-parser":"^7.17.0","@babel/preset-env":"^7.16.11","babel-eslint":"^10.1.0","eslint":"^8.9.0"},"gitHead":"e367c1c30cc50783332cfc0e3e6d8dcea1d9bc40","_id":"strip-comments-strings@1.0.3","_nodeVersion":"16.13.2","_npmVersion":"8.3.0","dist":{"shasum":"04554e827a665948aad555f103f591bd7b1e632c","size":3798,"noattachment":false,"key":"/strip-comments-strings/-/strip-comments-strings-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/strip-comments-strings/download/strip-comments-strings-1.0.3.tgz"},"_npmUser":{"name":"thimpat","email":"thimpat@gmail.com"},"directories":{},"maintainers":[{"name":"thimpat","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/strip-comments-strings_1.0.3_1645322034693_0.3655410744660139"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-20T01:54:01.299Z","publish_time":1645322035052,"_cnpm_publish_time":1645322035052},"1.0.2":{"name":"strip-comments-strings","version":"1.0.2","description":"Strip or extract comments, strings or both from source code.","main":"index.cjs","scripts":{"demo:cjs":"node examples/stripString.cjs","build:esm":"to-esm --input=index.cjs --entrypoint=index.cjs --update-all"},"author":{"name":"Patrice Thimothee"},"license":"MIT","devDependencies":{"@babel/core":"^7.17.5","@babel/eslint-parser":"^7.17.0","@babel/preset-env":"^7.16.11","babel-eslint":"^10.1.0","eslint":"^8.9.0"},"gitHead":"971b0f42d5472f2814bc0babd90ebb207842a591","_id":"strip-comments-strings@1.0.2","_nodeVersion":"16.13.2","_npmVersion":"8.3.0","dist":{"shasum":"e4a7da429d104745c96d522c6564cdcf6a64caf5","size":3805,"noattachment":false,"key":"/strip-comments-strings/-/strip-comments-strings-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/strip-comments-strings/download/strip-comments-strings-1.0.2.tgz"},"_npmUser":{"name":"thimpat","email":"thimpat@gmail.com"},"directories":{},"maintainers":[{"name":"thimpat","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/strip-comments-strings_1.0.2_1645321777960_0.1333088919286125"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-20T01:49:47.062Z","publish_time":1645321778090,"_cnpm_publish_time":1645321778090},"1.0.1":{"name":"strip-comments-strings","version":"1.0.1","description":"Strip or extract comments, strings or both from source code.","main":"index.cjs","scripts":{"demo:cjs":"node examples/stripString.cjs","build:esm":"to-esm --input=index.cjs --entrypoint=index.cjs --update-all"},"author":{"name":"Patrice Thimothee"},"license":"MIT","devDependencies":{"@babel/core":"^7.17.5","@babel/eslint-parser":"^7.17.0","@babel/preset-env":"^7.16.11","babel-eslint":"^10.1.0","eslint":"^8.9.0"},"gitHead":"5835f1554f78b400e5548120d804661964b78dc6","_id":"strip-comments-strings@1.0.1","_nodeVersion":"16.13.2","_npmVersion":"8.3.0","dist":{"shasum":"89b2ca9e12b5ca8b717e7cca6790132ef84e76a1","size":3794,"noattachment":false,"key":"/strip-comments-strings/-/strip-comments-strings-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/strip-comments-strings/download/strip-comments-strings-1.0.1.tgz"},"_npmUser":{"name":"thimpat","email":"thimpat@gmail.com"},"directories":{},"maintainers":[{"name":"thimpat","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/strip-comments-strings_1.0.1_1645321396516_0.9740570321106286"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-20T01:43:19.152Z","publish_time":1645321396642,"_cnpm_publish_time":1645321396642},"1.0.0":{"name":"strip-comments-strings","version":"1.0.0","description":"Strip or extract comments, strings or both from source code.","main":"index.cjs","scripts":{"demo:cjs":"node examples/stripString.cjs","build:esm":"to-esm --input=index.cjs --entrypoint=index.cjs --update-all"},"author":{"name":"Patrice Thimothee"},"license":"MIT","devDependencies":{"@babel/core":"^7.17.5","@babel/eslint-parser":"^7.17.0","@babel/preset-env":"^7.16.11","babel-eslint":"^10.1.0","eslint":"^8.9.0"},"gitHead":"d81c8f6d5fde5b7fcf87da6f9641481e71be7f51","_id":"strip-comments-strings@1.0.0","_nodeVersion":"16.13.2","_npmVersion":"8.3.0","dist":{"shasum":"50f4cb9fc3132deb8076e1dd8d3bf698b86a85f9","size":3781,"noattachment":false,"key":"/strip-comments-strings/-/strip-comments-strings-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/strip-comments-strings/download/strip-comments-strings-1.0.0.tgz"},"_npmUser":{"name":"thimpat","email":"thimpat@gmail.com"},"directories":{},"maintainers":[{"name":"thimpat","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/strip-comments-strings_1.0.0_1645321057408_0.8857092825347155"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-20T01:37:40.910Z","publish_time":1645321057543,"_cnpm_publish_time":1645321057543}},"readme":"## Description\r\n\r\nStrip or extract comments, strings or both from source code.\r\n\r\n## Install\r\n\r\n```shell\r\nnpm install strip-comments-strings\r\n```\r\n\r\n## Usage\r\n\r\n```javascript\r\nconst {parseString, stripStrings, stripComments, clearStrings} = require(\"strip-comments-strings\");\r\n```\r\nor\r\n---\r\n\r\n```javascript\r\nimport {parseString, stripStrings, stripComments, clearStrings} from \"strip-comments-strings\"\r\n```\r\n<br/><br/>\r\n---\r\n### Examples\r\n\r\n<br/><br/>\r\n---\r\n\r\n#### Clearing strings\r\n\r\n???? running-code.js ↴\r\n```javascript\r\nlet str = fs.readFileSync(\"./example.js\", \"utf-8\");\r\nlet result = clearStrings(str);\r\nconsole.log(result)\r\n```\r\n\r\nBefore ↴ (example.js)\r\n```text   \r\n    let c1 = \"Ho you \\\" How are \\\" the you?\";\r\n    let c2 = \"dfgdfd dfgdfgd \\\" '*\";\r\n    let c3 = \"Okay okay\";\r\n\r\n    let c4 = `sfdgfdf d d  dd \r\n    \\` ${c2}\r\n    le = \"abd pdfdp \\\" ;lfgfdlgkd\"`;\r\n};\r\n```\r\n\r\nAfter ↴\r\n```text\r\n    let c1 = \"\";\r\n    let c2 = \"\";\r\n    let c3 = \"\";\r\n\r\n    let c4 = ``;\r\n};\r\n```\r\n\r\n<br/><br/>\r\n---\r\n#### Stripping strings\r\n\r\n???? running-code.js ↴\r\n```javascript\r\nlet str = fs.readFileSync(\"./example.js\", \"utf-8\");\r\nlet result = stripStrings(str);\r\nconsole.log(result)\r\n```\r\n\r\nBefore ↴ (example.js)\r\n```text\r\n    let c1 = \"Ho you \\\" How are \\\" the you?\";\r\n    let c2 = \"dfgdfd dfgdfgd \\\" '*\";\r\n    let c3 = \"Okay okay\";\r\n\r\n    let c4 = `sfdgfdf d d  dd \r\n    \\` ${c2}\r\n    le = \"abd pdfdp \\\" ;lfgfdlgkd\"`;\r\n};\r\n```\r\n\r\nAfter ↴\r\n```text\r\n    let c1 = ;\r\n    let c2 = ;\r\n    let c3 = ;\r\n\r\n    let c4 = ;\r\n\r\n};\r\n```\r\n\r\n<br/><br/>\r\n---\r\n#### Stripping comments\r\n\r\n???? running-code.js ↴\r\n```javascript\r\nlet str = fs.readFileSync(\"./example.js\", \"utf-8\");\r\nlet result = stripComments(str);\r\nconsole.log(result)\r\n```\r\n\r\nBefore (example.js) ↴\r\n```text\r\n//abcdefghij\r\nconst bb = `\r\n    // Hi\r\n    /** Copy **/\r\n    const chalk004 = require(\"chalk-cjs\");\r\n    \r\n    const chalk005 = require(\"chalk-cjs\");\r\n`\r\n/**\r\n * @class SomeClass\r\n */\r\n```\r\n\r\nAfter ↴\r\n```text\r\nconst bb = `\r\n    // Hi\r\n    /** Copy **/\r\n    const chalk004 = require(\"chalk-cjs\");\r\n\r\n    const chalk005 = require(\"chalk-cjs\");\r\n`\r\n```\r\n\r\n<br/><br/>\r\n---\r\n#### Replacing comments from source via callback\r\n\r\n???? running-code.js ↴\r\n```javascript\r\nlet str = fs.readFileSync(path.join(__dirname, \"./example.js\"), \"utf-8\");\r\n\r\nconst stripMyComments = (str) =>\r\n{\r\n    let counter = 0\r\n    str = stripComments(str, function (info)\r\n    {\r\n        return `(${counter++})`\r\n    });\r\n\r\n    return str\r\n}\r\n\r\nconsole.log(str)\r\n```\r\n\r\nBefore ↴\r\n```shell\r\n/** // **/\r\n/** 1 **/\r\n//aaaa\r\n/** 2 **/\r\n//bbbbb\r\n//ccccc\r\n///////////\r\n/** 3 **/\r\n/** 4 **/\r\n/** 5 **/\r\n\"\"\r\naa\r\n\"attenti\\\"on\"\r\nbb\r\nccc\r\n'warni\\\\'\r\n'ng\\''\r\nddd\r\neeee`info`\r\neeee\r\nfffff\r\n\"silence\"\r\nfffff\r\ngggggg\r\n'noise'\r\ngggggg\r\nhhhhhhh`visibility`\r\nhhhhhhh\r\n\"aaa\"\r\n\"aaa\"\r\n\"aaa\"\r\n```\r\n\r\nAfter ↴\r\n```shell\r\n(9)\r\n(8)\r\n(7)(6)\r\n(5)(4)(3)(2)\r\n(1)\r\n(0)\r\n\"\"\r\naa\r\n\"attenti\\\"on\"\r\nbb\r\nccc\r\n'warni\\\\'\r\n'ng\\''\r\nddd\r\neeee`info`\r\neeee\r\nfffff\r\n\"silence\"\r\nfffff\r\ngggggg\r\n'noise'\r\ngggggg\r\nhhhhhhh`visibility`\r\nhhhhhhh\r\n\"aaa\"\r\n\"aaa\"\r\n\"aaa\"\r\n```\r\n\r\n---\r\n<br/><br/>\r\n\r\n<br/><br/>\r\n---\r\n#### Replacing strings from source via callbacks\r\n\r\n```javascript\r\n    let str = fs.readFileSync(\"./example.js\", \"utf-8\");\r\n\r\nstr = stripStrings(str, function (info)\r\n{\r\n    return \"!!\"\r\n}, {includeDelimiter: true});\r\n\r\n```\r\n\r\nBefore (example.js) ↴\r\n```text\r\n\"What\"\r\n'Time'\r\n`is it?`\r\n```\r\n\r\n```text\r\n!!\r\n!!\r\n!!\r\n```\r\n---\r\n<br/><br/>\r\n\r\n#### Strip comments and strings\r\n\r\n```javascript\r\n// ...\r\nstr = stripComments(str);\r\nstr = stripStrings(str)\r\n// ...\r\n```\r\n\r\nIt is best to always start by removing comments then strings.\r\n\r\n---\r\n<br/><br/>\r\n\r\n#### Parsing source\r\n\r\n```javascript\r\nconst found = parseString(str);\r\nconsole.log( found );\r\n```\r\n\r\n```shell\r\n{\r\n  text: '',\r\n  strings: [\r\n    { content: '', index: 107, indexEnd: 107, item: [Object] },\r\n    {\r\n      content: 'attenti\\\\\"on',\r\n      index: 115,\r\n      indexEnd: 126,\r\n      item: [Object]\r\n    },\r\n    { content: 'warni\\\\\\\\', index: 139, indexEnd: 146, item: [Object] },\r\n    { content: \"ng\\\\'\", index: 150, indexEnd: 154, item: [Object] },\r\n    { content: 'info', index: 167, indexEnd: 171, item: [Object] },\r\n    { content: 'silence', index: 188, indexEnd: 195, item: [Object] },\r\n    { content: 'noise', index: 214, indexEnd: 219, item: [Object] },\r\n    {\r\n      content: 'visibility',\r\n      index: 238,\r\n      indexEnd: 248,\r\n      item: [Object]\r\n    },\r\n    { content: 'aaa', index: 261, indexEnd: 264, item: [Object] },\r\n    { content: 'aaa', index: 268, indexEnd: 271, item: [Object] },\r\n    { content: 'aaa', index: 275, indexEnd: 278, item: [Object] }\r\n  ],\r\n  comments: [\r\n    {\r\n      type: 'commentBlock',\r\n      content: '/** // **/',\r\n      index: 0,\r\n      indexEnd: 10\r\n    },\r\n    {\r\n      type: 'commentBlock',\r\n      content: '/** 1 **/',\r\n      index: 12,\r\n      indexEnd: 21\r\n    },\r\n    {\r\n      type: 'commentLine',\r\n      content: '//aaaa\\r\\n',\r\n      index: 23,\r\n      indexEnd: 31\r\n    },\r\n    {\r\n      type: 'commentBlock',\r\n      content: '/** 2 **/',\r\n      index: 31,\r\n      indexEnd: 40\r\n    },\r\n    {\r\n      type: 'commentLine',\r\n      content: '//bbbbb\\r\\n',\r\n      index: 42,\r\n      indexEnd: 51\r\n    },\r\n    {\r\n      type: 'commentLine',\r\n      content: '//ccccc\\r\\n',\r\n      index: 51,\r\n      indexEnd: 60\r\n    },\r\n    {\r\n      type: 'commentLine',\r\n      content: '///////////\\r\\n',\r\n      index: 60,\r\n      indexEnd: 73\r\n    },\r\n    {\r\n      type: 'commentBlock',\r\n      content: '/** 3 **/',\r\n      index: 73,\r\n      indexEnd: 82\r\n    },\r\n    {\r\n      type: 'commentBlock',\r\n      content: '/** 4 **/',\r\n      index: 84,\r\n      indexEnd: 93\r\n    },\r\n    {\r\n      type: 'commentBlock',\r\n      content: '/** 5 **/',\r\n      index: 95,\r\n      indexEnd: 104\r\n    }\r\n  ]\r\n}\r\n\r\n```","_attachments":{},"license":"MIT"}