{"_id":"strip-json-comments","_rev":"3822968","name":"strip-json-comments","description":"Strip comments from JSON. Lets you use comments in your JSON files!","dist-tags":{"latest":"5.0.3"},"maintainers":[{"name":"sindresorhus","email":""}],"time":{"modified":"2025-08-13T09:51:46.000Z","created":"2013-11-17T15:19:07.474Z","5.0.3":"2025-08-08T14:14:05.044Z","5.0.2":"2025-05-16T20:47:21.731Z","5.0.1":"2023-07-04T11:22:44.178Z","5.0.0":"2022-07-22T09:48:13.708Z","4.0.0":"2021-08-19T18:10:16.697Z","3.1.1":"2020-07-12T14:44:56.568Z","3.1.0":"2020-04-06T07:58:47.761Z","3.0.1":"2019-04-30T17:11:19.115Z","3.0.0":"2019-04-30T12:23:05.813Z","2.0.1":"2016-02-09T08:30:06.455Z","2.0.0":"2015-11-18T14:23:05.438Z","1.0.4":"2015-08-02T00:37:05.861Z","1.0.3":"2015-08-01T01:15:27.783Z","1.0.2":"2014-10-16T13:25:20.301Z","1.0.1":"2014-07-26T00:34:50.278Z","1.0.0":"2014-07-26T00:26:03.567Z","0.1.3":"2014-05-28T10:38:42.692Z","0.1.2":"2014-04-29T19:52:43.968Z","0.1.1":"2013-11-17T15:22:21.059Z","0.1.0":"2013-11-17T15:19:07.474Z"},"users":{"prabhash1785":true,"martl":true,"calmwinds":true,"beatak":true,"forivall":true,"yyscamper":true,"backnight":true,"dominik.palo":true,"ianvanness":true,"mojaray2k":true,"mikestaub":true,"joaquin.briceno":true,"haihepeng":true,"xngiser":true,"usex":true,"erikvold":true,"becomethegamer":true,"raycharles":true,"mysticatea":true,"tdmalone":true,"pftom":true,"gamersdelight":true,"kwpeters":true,"cr8tiv":true},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"repository":{"type":"git","url":"git+https://github.com/sindresorhus/strip-json-comments.git"},"versions":{"5.0.3":{"name":"strip-json-comments","version":"5.0.3","description":"Strip comments from JSON. Lets you use comments in your JSON files!","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/strip-json-comments.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","types":"./index.d.ts","sideEffects":false,"engines":{"node":">=14.16"},"scripts":{"test":"xo && ava && tsd","bench":"matcha benchmark.js"},"keywords":["json","strip","comments","remove","delete","trim","multiline","parse","config","configuration","settings","util","env","environment","jsonc"],"devDependencies":{"ava":"^4.3.1","matcha":"^0.7.0","tsd":"^0.22.0","xo":"^0.54.2"},"xo":{"rules":{"complexity":"off"}},"_id":"strip-json-comments@5.0.3","gitHead":"7355ba42e0ad6e5cd27cc984add85355df50fa34","bugs":{"url":"https://github.com/sindresorhus/strip-json-comments/issues"},"homepage":"https://github.com/sindresorhus/strip-json-comments#readme","_nodeVersion":"20.19.1","_npmVersion":"10.9.2","dist":{"shasum":"b7304249dd402ee67fd518ada993ab3593458bcf","size":3004,"noattachment":false,"key":"/strip-json-comments/-/strip-json-comments-5.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/strip-json-comments/download/strip-json-comments-5.0.3.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/strip-json-comments_5.0.3_1754662444880_0.42329154462048413"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-08-08T14:14:05.044Z","publish_time":1754662445044,"_source_registry_name":"default","_cnpm_publish_time":1754662445044},"5.0.2":{"name":"strip-json-comments","version":"5.0.2","description":"Strip comments from JSON. Lets you use comments in your JSON files!","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/strip-json-comments.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","types":"./index.d.ts","sideEffects":false,"engines":{"node":">=14.16"},"scripts":{"test":"xo && ava && tsd","bench":"matcha benchmark.js"},"keywords":["json","strip","comments","remove","delete","trim","multiline","parse","config","configuration","settings","util","env","environment","jsonc"],"devDependencies":{"ava":"^4.3.1","matcha":"^0.7.0","tsd":"^0.22.0","xo":"^0.54.2"},"xo":{"rules":{"complexity":"off"}},"_id":"strip-json-comments@5.0.2","gitHead":"ba1182cbeae33349b8f8d6094d34772d631ac7d4","bugs":{"url":"https://github.com/sindresorhus/strip-json-comments/issues"},"homepage":"https://github.com/sindresorhus/strip-json-comments#readme","_nodeVersion":"20.19.1","_npmVersion":"10.9.2","dist":{"shasum":"14a76abd63b84a6d2419d14f26a0281d0cf6ea46","size":2992,"noattachment":false,"key":"/strip-json-comments/-/strip-json-comments-5.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/strip-json-comments/download/strip-json-comments-5.0.2.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/strip-json-comments_5.0.2_1747428441524_0.16247267779995456"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-05-16T20:47:21.731Z","publish_time":1747428441731,"_source_registry_name":"default","_cnpm_publish_time":1747428441731},"5.0.1":{"name":"strip-json-comments","version":"5.0.1","description":"Strip comments from JSON. Lets you use comments in your JSON files!","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/strip-json-comments.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","types":"./index.d.ts","engines":{"node":">=14.16"},"scripts":{"test":"xo && ava && tsd","bench":"matcha benchmark.js"},"keywords":["json","strip","comments","remove","delete","trim","multiline","parse","config","configuration","settings","util","env","environment","jsonc"],"devDependencies":{"ava":"^4.3.1","matcha":"^0.7.0","tsd":"^0.22.0","xo":"^0.54.2"},"xo":{"rules":{"complexity":"off"}},"gitHead":"85611bf8a07246bca27f949c997a1460c57bbe9f","bugs":{"url":"https://github.com/sindresorhus/strip-json-comments/issues"},"homepage":"https://github.com/sindresorhus/strip-json-comments#readme","_id":"strip-json-comments@5.0.1","_nodeVersion":"16.20.0","_npmVersion":"9.2.0","dist":{"shasum":"0d8b7d01b23848ed7dbdf4baaaa31a8250d8cfa0","size":2890,"noattachment":false,"key":"/strip-json-comments/-/strip-json-comments-5.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/strip-json-comments/download/strip-json-comments-5.0.1.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/strip-json-comments_5.0.1_1688469764035_0.3767870379570428"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-07-04T11:22:44.178Z","publish_time":1688469764178,"_source_registry_name":"default","_cnpm_publish_time":1688469764178},"5.0.0":{"name":"strip-json-comments","version":"5.0.0","description":"Strip comments from JSON. Lets you use comments in your JSON files!","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/strip-json-comments.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","types":"./index.d.ts","engines":{"node":">=14.16"},"scripts":{"test":"xo && ava && tsd","bench":"matcha benchmark.js"},"keywords":["json","strip","comments","remove","delete","trim","multiline","parse","config","configuration","settings","util","env","environment","jsonc"],"devDependencies":{"ava":"^4.3.1","matcha":"^0.7.0","tsd":"^0.22.0","xo":"^0.51.0"},"xo":{"rules":{"complexity":"off"}},"gitHead":"34b79cb0f1129aa85ef4b5c3292e8bc546984ef9","bugs":{"url":"https://github.com/sindresorhus/strip-json-comments/issues"},"homepage":"https://github.com/sindresorhus/strip-json-comments#readme","_id":"strip-json-comments@5.0.0","_nodeVersion":"14.19.3","_npmVersion":"8.3.2","dist":{"shasum":"ec101b766476a703031bc607e3c712569de2aa06","size":3116,"noattachment":false,"key":"/strip-json-comments/-/strip-json-comments-5.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/strip-json-comments/download/strip-json-comments-5.0.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/strip-json-comments_5.0.0_1658483293603_0.36134643515738607"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-07-22T09:50:57.268Z","publish_time":1658483293708,"_cnpm_publish_time":1658483293708},"4.0.0":{"name":"strip-json-comments","version":"4.0.0","description":"Strip comments from JSON. Lets you use comments in your JSON files!","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/strip-json-comments.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"scripts":{"test":"xo && ava && tsd","bench":"matcha benchmark.js"},"keywords":["json","strip","comments","remove","delete","trim","multiline","parse","config","configuration","settings","util","env","environment","jsonc"],"devDependencies":{"ava":"^3.15.0","matcha":"^0.7.0","tsd":"^0.17.0","xo":"^0.44.0"},"gitHead":"78e8234e8dc935a3584f8200ffb250a247621ffe","bugs":{"url":"https://github.com/sindresorhus/strip-json-comments/issues"},"homepage":"https://github.com/sindresorhus/strip-json-comments#readme","_id":"strip-json-comments@4.0.0","_nodeVersion":"16.6.2","_npmVersion":"7.20.3","dist":{"shasum":"6fd3a79f1b956905483769b0bf66598b8f87da50","size":2794,"noattachment":false,"key":"/strip-json-comments/-/strip-json-comments-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/strip-json-comments/download/strip-json-comments-4.0.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/strip-json-comments_4.0.0_1629396616558_0.7014931465036216"},"_hasShrinkwrap":false,"publish_time":1629396616697,"_cnpm_publish_time":1629396616697},"3.1.1":{"name":"strip-json-comments","version":"3.1.1","description":"Strip comments from JSON. Lets you use comments in your JSON files!","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/strip-json-comments.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava && tsd","bench":"matcha benchmark.js"},"keywords":["json","strip","comments","remove","delete","trim","multiline","parse","config","configuration","settings","util","env","environment","jsonc"],"devDependencies":{"ava":"^1.4.1","matcha":"^0.7.0","tsd":"^0.7.2","xo":"^0.24.0"},"gitHead":"6355b5792682c7c7a2480e5cbe73fc7ad578e432","bugs":{"url":"https://github.com/sindresorhus/strip-json-comments/issues"},"homepage":"https://github.com/sindresorhus/strip-json-comments#readme","_id":"strip-json-comments@3.1.1","_nodeVersion":"14.5.0","_npmVersion":"6.14.5","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"31f1281b3832630434831c310c01cccda8cbe006","size":2847,"noattachment":false,"key":"/strip-json-comments/-/strip-json-comments-3.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/strip-json-comments/download/strip-json-comments-3.1.1.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/strip-json-comments_3.1.1_1594565096474_0.8923371545868197"},"_hasShrinkwrap":false,"publish_time":1594565096568,"_cnpm_publish_time":1594565096568},"3.1.0":{"name":"strip-json-comments","version":"3.1.0","description":"Strip comments from JSON. Lets you use comments in your JSON files!","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/strip-json-comments.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava && tsd","bench":"matcha benchmark.js"},"keywords":["json","strip","comments","remove","delete","trim","multiline","parse","config","configuration","settings","util","env","environment"],"devDependencies":{"ava":"^1.4.1","matcha":"^0.7.0","tsd":"^0.7.2","xo":"^0.24.0"},"gitHead":"159140d19a5c2ec08a9895ca255c1f1699915e66","bugs":{"url":"https://github.com/sindresorhus/strip-json-comments/issues"},"homepage":"https://github.com/sindresorhus/strip-json-comments#readme","_id":"strip-json-comments@3.1.0","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"7638d31422129ecf4457440009fba03f9f9ac180","size":2812,"noattachment":false,"key":"/strip-json-comments/-/strip-json-comments-3.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/strip-json-comments/download/strip-json-comments-3.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/strip-json-comments_3.1.0_1586159927646_0.07435095027153582"},"_hasShrinkwrap":false,"publish_time":1586159927761,"_cnpm_publish_time":1586159927761},"3.0.1":{"name":"strip-json-comments","version":"3.0.1","description":"Strip comments from JSON. Lets you use comments in your JSON files!","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/strip-json-comments.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava && tsd","bench":"matcha benchmark.js"},"keywords":["json","strip","comments","remove","delete","trim","multiline","parse","config","configuration","settings","util","env","environment"],"devDependencies":{"ava":"^1.4.1","matcha":"^0.7.0","tsd":"^0.7.2","xo":"^0.24.0"},"gitHead":"7eb8be0decd8111ffcc21d2e9deec917657e220f","bugs":{"url":"https://github.com/sindresorhus/strip-json-comments/issues"},"homepage":"https://github.com/sindresorhus/strip-json-comments#readme","_id":"strip-json-comments@3.0.1","_nodeVersion":"8.16.0","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"85713975a91fb87bf1b305cca77395e40d2a64a7","size":2549,"noattachment":false,"key":"/strip-json-comments/-/strip-json-comments-3.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/strip-json-comments/download/strip-json-comments-3.0.1.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/strip-json-comments_3.0.1_1556644278971_0.0530254014196585"},"_hasShrinkwrap":false,"publish_time":1556644279115,"_cnpm_publish_time":1556644279115},"3.0.0":{"name":"strip-json-comments","version":"3.0.0","description":"Strip comments from JSON. Lets you use comments in your JSON files!","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/strip-json-comments.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava && tsd","bench":"matcha benchmark.js"},"keywords":["json","strip","comments","remove","delete","trim","multiline","parse","config","configuration","settings","util","env","environment"],"devDependencies":{"ava":"^1.4.1","matcha":"^0.7.0","tsd":"^0.7.2","xo":"^0.24.0"},"gitHead":"5f5fdd3db64cdbe8cd940a240fbb52a634f3a145","bugs":{"url":"https://github.com/sindresorhus/strip-json-comments/issues"},"homepage":"https://github.com/sindresorhus/strip-json-comments#readme","_id":"strip-json-comments@3.0.0","_nodeVersion":"10.15.3","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"86456f81e4bd10d314576c1adf7719ed0894ce3b","size":2475,"noattachment":false,"key":"/strip-json-comments/-/strip-json-comments-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/strip-json-comments/download/strip-json-comments-3.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/strip-json-comments_3.0.0_1556626985690_0.4353346723662954"},"_hasShrinkwrap":false,"publish_time":1556626985813,"_cnpm_publish_time":1556626985813},"2.0.1":{"name":"strip-json-comments","version":"2.0.1","description":"Strip comments from JSON. Lets you use comments in your JSON files!","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/strip-json-comments.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["json","strip","remove","delete","trim","comments","multiline","parse","config","configuration","conf","settings","util","env","environment"],"devDependencies":{"ava":"*","xo":"*"},"gitHead":"1aef99eaa70d07981156e8aaa722e750c3b4eaf9","bugs":{"url":"https://github.com/sindresorhus/strip-json-comments/issues"},"homepage":"https://github.com/sindresorhus/strip-json-comments#readme","_id":"strip-json-comments@2.0.1","_shasum":"3c531942e908c2697c0ec344858c286c7ca0a60a","_from":".","_npmVersion":"3.7.2","_nodeVersion":"4.2.4","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"3c531942e908c2697c0ec344858c286c7ca0a60a","size":2270,"noattachment":false,"key":"/strip-json-comments/-/strip-json-comments-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/strip-json-comments/download/strip-json-comments-2.0.1.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/strip-json-comments-2.0.1.tgz_1455006605207_0.8280157081317157"},"directories":{},"publish_time":1455006606455,"_cnpm_publish_time":1455006606455,"_hasShrinkwrap":false},"2.0.0":{"name":"strip-json-comments","version":"2.0.0","description":"Strip comments from JSON. Lets you use comments in your JSON files!","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/strip-json-comments"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["json","strip","remove","delete","trim","comments","multiline","parse","config","configuration","conf","settings","util","env","environment"],"devDependencies":{"ava":"*","xo":"*"},"gitHead":"e79a73bfc184e6c8d3a0ebf07f164b3d2ddb5519","bugs":{"url":"https://github.com/sindresorhus/strip-json-comments/issues"},"homepage":"https://github.com/sindresorhus/strip-json-comments","_id":"strip-json-comments@2.0.0","_shasum":"413fc5a34ef34a29e4376c7eb632c884d2e97f95","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"413fc5a34ef34a29e4376c7eb632c884d2e97f95","size":2258,"noattachment":false,"key":"/strip-json-comments/-/strip-json-comments-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/strip-json-comments/download/strip-json-comments-2.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1447856585438,"_cnpm_publish_time":1447856585438,"_hasShrinkwrap":false},"1.0.4":{"name":"strip-json-comments","version":"1.0.4","description":"Strip comments from JSON. Lets you use comments in your JSON files!","keywords":["json","strip","remove","delete","trim","comments","multiline","parse","config","configuration","conf","settings","util","env","environment","cli","bin"],"license":"MIT","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"files":["cli.js","strip-json-comments.js"],"main":"strip-json-comments","bin":{"strip-json-comments":"cli.js"},"repository":{"type":"git","url":"https://github.com/sindresorhus/strip-json-comments"},"scripts":{"test":"mocha --ui tdd"},"devDependencies":{"mocha":"*"},"engines":{"node":">=0.8.0"},"gitHead":"f58348696368583cc5bb18525fe31eacc9bd00e1","bugs":{"url":"https://github.com/sindresorhus/strip-json-comments/issues"},"homepage":"https://github.com/sindresorhus/strip-json-comments","_id":"strip-json-comments@1.0.4","_shasum":"1e15fbcac97d3ee99bf2d73b4c656b082bbafb91","_from":".","_npmVersion":"2.11.2","_nodeVersion":"0.12.5","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"1e15fbcac97d3ee99bf2d73b4c656b082bbafb91","size":2590,"noattachment":false,"key":"/strip-json-comments/-/strip-json-comments-1.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/strip-json-comments/download/strip-json-comments-1.0.4.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1438475825861,"_cnpm_publish_time":1438475825861,"_hasShrinkwrap":false},"1.0.3":{"name":"strip-json-comments","version":"1.0.3","description":"Strip comments from JSON. Lets you use comments in your JSON files!","keywords":["json","strip","remove","delete","trim","comments","multiline","parse","config","configuration","conf","settings","util","env","environment","cli","bin"],"license":"MIT","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"files":["cli.js","strip-json-comments.js"],"main":"strip-json-comments","bin":{"strip-json-comments":"cli.js"},"repository":{"type":"git","url":"https://github.com/sindresorhus/strip-json-comments"},"scripts":{"test":"mocha --ui tdd"},"devDependencies":{"mocha":"*"},"engines":{"node":">=0.8.0"},"gitHead":"11420df0403854fb0cdb303edce3564322b5af45","bugs":{"url":"https://github.com/sindresorhus/strip-json-comments/issues"},"homepage":"https://github.com/sindresorhus/strip-json-comments","_id":"strip-json-comments@1.0.3","_shasum":"c250d2646a24fc5603e27043005dd97dfb409fc4","_from":".","_npmVersion":"2.11.2","_nodeVersion":"0.12.5","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"c250d2646a24fc5603e27043005dd97dfb409fc4","size":2567,"noattachment":false,"key":"/strip-json-comments/-/strip-json-comments-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/strip-json-comments/download/strip-json-comments-1.0.3.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1438391727783,"_cnpm_publish_time":1438391727783,"_hasShrinkwrap":false},"1.0.2":{"name":"strip-json-comments","version":"1.0.2","description":"Strip comments from JSON. Lets you use comments in your JSON files!","keywords":["json","strip","remove","delete","trim","comments","multiline","parse","config","configuration","conf","settings","util","env","environment","cli","bin"],"license":"MIT","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"files":["cli.js","strip-json-comments.js"],"main":"strip-json-comments","bin":{"strip-json-comments":"cli.js"},"repository":{"type":"git","url":"https://github.com/sindresorhus/strip-json-comments"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"*"},"engines":{"node":">=0.8.0"},"gitHead":"142dd671c71f90fb7fdba440184b1bb64543acb3","bugs":{"url":"https://github.com/sindresorhus/strip-json-comments/issues"},"homepage":"https://github.com/sindresorhus/strip-json-comments","_id":"strip-json-comments@1.0.2","_shasum":"5a48ab96023dbac1b7b8d0ffabf6f63f1677be9f","_from":".","_npmVersion":"2.1.2","_nodeVersion":"0.10.32","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":""}],"dist":{"shasum":"5a48ab96023dbac1b7b8d0ffabf6f63f1677be9f","size":1889,"noattachment":false,"key":"/strip-json-comments/-/strip-json-comments-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/strip-json-comments/download/strip-json-comments-1.0.2.tgz"},"directories":{},"publish_time":1413465920301,"_cnpm_publish_time":1413465920301,"_hasShrinkwrap":false},"1.0.1":{"name":"strip-json-comments","version":"1.0.1","description":"Strip comments from JSON. Lets you use comments in your JSON files!","keywords":["json","strip","remove","delete","trim","comments","multiline","parse","config","configuration","conf","settings","util","env","environment","cli","bin"],"license":"MIT","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"files":["cli.js","strip-json-comments.js"],"main":"strip-json-comments","bin":{"strip-json-comments":"cli.js"},"repository":{"type":"git","url":"git://github.com/sindresorhus/strip-json-comments"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"*"},"engines":{"node":">=0.8.0"},"gitHead":"69a1a17b2ef36056492c5223e7cf910c496b4024","bugs":{"url":"https://github.com/sindresorhus/strip-json-comments/issues"},"homepage":"https://github.com/sindresorhus/strip-json-comments","_id":"strip-json-comments@1.0.1","_shasum":"a91252d95ddee4ff38a66135cd6c78de5709f374","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":""}],"dist":{"shasum":"a91252d95ddee4ff38a66135cd6c78de5709f374","size":1876,"noattachment":false,"key":"/strip-json-comments/-/strip-json-comments-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/strip-json-comments/download/strip-json-comments-1.0.1.tgz"},"directories":{},"publish_time":1406334890278,"_cnpm_publish_time":1406334890278,"_hasShrinkwrap":false},"1.0.0":{"name":"strip-json-comments","version":"1.0.0","description":"Strip comments from JSON. Lets you use comments in your JSON files!","keywords":["json","strip","remove","delete","trim","comments","multiline","parse","config","configuration","conf","settings","util","env","environment","cli","bin"],"license":"MIT","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"files":["cli.js","strip-json-comments.js"],"main":"strip-json-comments","bin":{"strip-json-comments":"cli.js"},"repository":{"type":"git","url":"git://github.com/sindresorhus/strip-json-comments"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"*"},"engines":{"node":">=0.8.0"},"gitHead":"321b0d02b9e511271cd28e5c2133e96d3bb357c7","bugs":{"url":"https://github.com/sindresorhus/strip-json-comments/issues"},"homepage":"https://github.com/sindresorhus/strip-json-comments","_id":"strip-json-comments@1.0.0","_shasum":"5e284febd8826287c8266f224ed2b1fdc7220e9f","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":""}],"dist":{"shasum":"5e284febd8826287c8266f224ed2b1fdc7220e9f","size":915,"noattachment":false,"key":"/strip-json-comments/-/strip-json-comments-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/strip-json-comments/download/strip-json-comments-1.0.0.tgz"},"directories":{},"publish_time":1406334363567,"_cnpm_publish_time":1406334363567,"_hasShrinkwrap":false},"0.1.3":{"name":"strip-json-comments","version":"0.1.3","description":"Strip comments from JSON. Lets you use comments in your JSON files!","keywords":["json","strip","remove","delete","trim","comments","multiline","parse","config","configuration","conf","settings","util","env","environment","cli","bin"],"license":"MIT","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"files":["cli.js","strip-json-comments.js"],"main":"strip-json-comments","bin":{"strip-json-comments":"cli.js"},"repository":{"type":"git","url":"git://github.com/sindresorhus/strip-json-comments"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"*"},"engines":{"node":">=0.8.0"},"gitHead":"cbd5aede7ccbe5d5a9065b1d47070fd99ad579af","bugs":{"url":"https://github.com/sindresorhus/strip-json-comments/issues"},"homepage":"https://github.com/sindresorhus/strip-json-comments","_id":"strip-json-comments@0.1.3","_shasum":"164c64e370a8a3cc00c9e01b539e569823f0ee54","_from":".","_npmVersion":"1.4.13","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":""}],"dist":{"shasum":"164c64e370a8a3cc00c9e01b539e569823f0ee54","size":1889,"noattachment":false,"key":"/strip-json-comments/-/strip-json-comments-0.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/strip-json-comments/download/strip-json-comments-0.1.3.tgz"},"directories":{},"publish_time":1401273522692,"_cnpm_publish_time":1401273522692,"_hasShrinkwrap":false},"0.1.2":{"name":"strip-json-comments","version":"0.1.2","description":"Strip comments from JSON. Lets you use comments in your JSON files!","keywords":["json","strip","remove","delete","trim","comments","multiline","parse","config","configuration","conf","settings","util","env","environment","cli","bin"],"license":"MIT","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"files":["cli.js","strip-json-comments.js"],"main":"strip-json-comments","bin":{"strip-json-comments":"cli.js"},"repository":{"type":"git","url":"git://github.com/sindresorhus/strip-json-comments"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"*"},"engines":{"node":">=0.8.0"},"bugs":{"url":"https://github.com/sindresorhus/strip-json-comments/issues"},"homepage":"https://github.com/sindresorhus/strip-json-comments","_id":"strip-json-comments@0.1.2","dist":{"shasum":"a5f9cc48c488c9b8cf1303f880cd0959923a9ee1","size":1902,"noattachment":false,"key":"/strip-json-comments/-/strip-json-comments-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/strip-json-comments/download/strip-json-comments-0.1.2.tgz"},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1398801163968,"_cnpm_publish_time":1398801163968,"_hasShrinkwrap":false},"0.1.1":{"name":"strip-json-comments","version":"0.1.1","description":"Strip comments from JSON. Lets you use comments in your JSON files!","keywords":["json","strip","remove","delete","trim","comments","multiline","parse","config","configuration","conf","settings","util","env","environment"],"license":"MIT","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"files":["cli.js","strip-json-comments.js"],"main":"strip-json-comments","bin":{"strip-json-comments":"cli.js"},"repository":{"type":"git","url":"git://github.com/sindresorhus/strip-json-comments"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"~1.14.0"},"engines":{"node":">=0.8.0"},"readmeFilename":"readme.md","bugs":{"url":"https://github.com/sindresorhus/strip-json-comments/issues"},"homepage":"https://github.com/sindresorhus/strip-json-comments","_id":"strip-json-comments@0.1.1","dist":{"shasum":"eb5a750bd4e8dc82817295a115dc11b63f01d4b0","size":1940,"noattachment":false,"key":"/strip-json-comments/-/strip-json-comments-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/strip-json-comments/download/strip-json-comments-0.1.1.tgz"},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1384701741059,"_hasShrinkwrap":false,"_cnpm_publish_time":1384701741059},"0.1.0":{"name":"strip-json-comments","version":"0.1.0","description":"Strip comments from JSON. Lets you use comments in your JSON files!","keywords":["json","strip","remove","delete","trim","comments","multiline","parse","config","configuration","conf","settings","util","env","environment"],"license":"MIT","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"files":["cli.js","strip-json-comments.js"],"main":"strip-json-comments","bin":{"strip-json-comments":"cli.js"},"repository":{"type":"git","url":"git://github.com/sindresorhus/strip-json-comments"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"~1.14.0"},"engines":{"node":">=0.8.0"},"readmeFilename":"readme.md","bugs":{"url":"https://github.com/sindresorhus/strip-json-comments/issues"},"homepage":"https://github.com/sindresorhus/strip-json-comments","_id":"strip-json-comments@0.1.0","dist":{"shasum":"ec01ab67f10b79258dcbcaa03ba82485acb589d9","size":1942,"noattachment":false,"key":"/strip-json-comments/-/strip-json-comments-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/strip-json-comments/download/strip-json-comments-0.1.0.tgz"},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1384701547474,"_hasShrinkwrap":false,"_cnpm_publish_time":1384701547474}},"readme":"# strip-json-comments\n\n> Strip comments from JSON. Lets you use comments in your JSON files!\n\nThis is now possible:\n\n```js\n{\n\t// Rainbows\n\t\"unicorn\": /* ❤ */ \"cake\"\n}\n```\n\nIt will replace single-line comments `//` and multi-line comments `/**/` with whitespace. This allows JSON error positions to remain as close as possible to the original source.\n\nAlso available as a [Gulp](https://github.com/sindresorhus/gulp-strip-json-comments)/[Grunt](https://github.com/sindresorhus/grunt-strip-json-comments)/[Broccoli](https://github.com/sindresorhus/broccoli-strip-json-comments) plugin.\n\n## Install\n\n```sh\nnpm install strip-json-comments\n```\n\n## Usage\n\n```js\nimport stripJsonComments from 'strip-json-comments';\n\nconst json = `{\n\t// Rainbows\n\t\"unicorn\": /* ❤ */ \"cake\"\n}`;\n\nJSON.parse(stripJsonComments(json));\n//=> {unicorn: 'cake'}\n```\n\n## API\n\n### stripJsonComments(jsonString, options?)\n\n#### jsonString\n\nType: `string`\n\nAccepts a string with JSON and returns a string without comments.\n\n#### options\n\nType: `object`\n\n##### trailingCommas\n\nType: `boolean`\\\nDefault: `false`\n\nStrip trailing commas in addition to comments.\n\n##### whitespace\n\nType: `boolean`\\\nDefault: `true`\n\nReplace comments and trailing commas with whitespace instead of stripping them entirely.\n\n## Benchmark\n\n```sh\nnpm run bench\n```\n\n## Related\n\n- [strip-json-comments-cli](https://github.com/sindresorhus/strip-json-comments-cli) - CLI for this module\n- [strip-css-comments](https://github.com/sindresorhus/strip-css-comments) - Strip comments from CSS\n","_attachments":{},"homepage":"https://github.com/sindresorhus/strip-json-comments#readme","bugs":{"url":"https://github.com/sindresorhus/strip-json-comments/issues"},"license":"MIT"}