{"_id":"cleanup-coverage-code","_rev":"28-5369476cf5f041a0873f295e07e8382c","name":"cleanup-coverage-code","description":"Cleanup ugly code added by code coverage tools during the test process. Like this one `__cov_Ejgcx$XN18CSfmeWn$f7vQ.f['2']++;`.","dist-tags":{"latest":"1.0.3"},"versions":{"0.0.0":{"name":"cleanup-coverage-code","version":"0.0.0","description":"Cleanup ugly code added by code coverage tools during the test process. Like this one `__cov_Ejgcx$XN18CSfmeWn$f7vQ.f['2']++;`.","scripts":{"lint":"jshint index.js && jscs index.js --reporter inline","test":"mocha","test-cov":"istanbul cover _mocha","test-travis":"istanbul cover _mocha --report lcovonly"},"author":{"name":"Charlike Make Reagent","email":"mameto_100@mail.bg","url":"https://github.com/tunnckoCore"},"repository":{"type":"git","url":"git://github.com/tunnckoCore/cleanup-coverage-code.git"},"keywords":[],"license":{"type":"MIT","url":"https://github.com/tunnckoCore/cleanup-coverage-code/blob/master/license.md"},"dependencies":{"coverage-code-regex":"^1.0.0"},"devDependencies":{"istanbul-harmony":"^0.3.1","mocha":"*","mocha-lcov-reporter":"^0.0.1"},"gitHead":"41d2d6912daf90956fcb8ffc05350032a49fffd9","bugs":{"url":"https://github.com/tunnckoCore/cleanup-coverage-code/issues"},"homepage":"https://github.com/tunnckoCore/cleanup-coverage-code","_id":"cleanup-coverage-code@0.0.0","_shasum":"9c207872e671f956c0cc41242b712257806eb7d1","_from":".","_npmVersion":"2.1.16","_nodeVersion":"0.11.14","_npmUser":{"name":"tunnckocore","email":"mameto_100@mail.bg"},"maintainers":[{"name":"tunnckocore","email":"mameto_100@mail.bg"}],"dist":{"shasum":"9c207872e671f956c0cc41242b712257806eb7d1","tarball":"https://registry.npmjs.org/cleanup-coverage-code/-/cleanup-coverage-code-0.0.0.tgz","integrity":"sha512-hr8gidixY46IPbMLG5vsf1Ug+LJDqme4HYPI0tUsVc3+jvfkjKLSA3thhiVb3zzWI10mbqQWIYaw7WhXJsxarQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCWY7Jhe1U5kmwCFwXZHDPmDvQl9XaRkW7pvge4XbhIpgIhALxYnFUpKD+g9WYNVgJv1OpH3YJAJ+ivU1rRTYH2efCC"}]},"directories":{}},"1.0.0":{"name":"cleanup-coverage-code","version":"1.0.0","description":"Cleanup ugly code added by code coverage tools during the test process. Like this one `__cov_Ejgcx$XN18CSfmeWn$f7vQ.f['2']++;`.","scripts":{"lint":"jshint index.js && jscs index.js --reporter inline","test":"mocha","test-cov":"istanbul cover _mocha","test-travis":"istanbul cover _mocha --report lcovonly"},"author":{"name":"Charlike Make Reagent","email":"mameto_100@mail.bg","url":"https://github.com/tunnckoCore"},"repository":{"type":"git","url":"git://github.com/tunnckoCore/cleanup-coverage-code.git"},"keywords":["clean","cleans","cleanup","cleanups","code","codes","cov","coverage","coverages","coveralls","during","express","expression","expressions","function","functions","istanbul","lib","lib-cov","match","matching","name","process","re","regex","regexp","regexps","regular","test","tests","ugly"],"license":{"type":"MIT","url":"https://github.com/tunnckoCore/cleanup-coverage-code/blob/master/license.md"},"dependencies":{"coverage-code-regex":"^1.0.0"},"devDependencies":{"istanbul-harmony":"^0.3.1","mocha":"*","mocha-lcov-reporter":"^0.0.1"},"gitHead":"bd0f67bd6c26bfcc98b278a2612133fa8bf15675","bugs":{"url":"https://github.com/tunnckoCore/cleanup-coverage-code/issues"},"homepage":"https://github.com/tunnckoCore/cleanup-coverage-code","_id":"cleanup-coverage-code@1.0.0","_shasum":"cd5d227dafe6e518898b9232545f24fa7a3f1d28","_from":".","_npmVersion":"2.1.16","_nodeVersion":"0.11.14","_npmUser":{"name":"tunnckocore","email":"mameto_100@mail.bg"},"maintainers":[{"name":"tunnckocore","email":"mameto_100@mail.bg"}],"dist":{"shasum":"cd5d227dafe6e518898b9232545f24fa7a3f1d28","tarball":"https://registry.npmjs.org/cleanup-coverage-code/-/cleanup-coverage-code-1.0.0.tgz","integrity":"sha512-9tO/AqvJ4nPbABhvRafCyX0b5nijVztVIn5CNBOyXVV5z3jWQ2eVgLPW+GSl1rBHnhTRgoztQljAgXL4sxhUFw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDomzUJv+PI3RI+lgMgT2RfltJi3NEORnqE5+wPy377WAIhAOng/uIdOU8KH2uCB9/Xg2SzANSF2sRHIg5QaW8jgaw7"}]},"directories":{}},"1.0.1":{"name":"cleanup-coverage-code","version":"1.0.1","description":"Cleanup ugly code added by code coverage tools during the test process. Like this one `__cov_Ejgcx$XN18CSfmeWn$f7vQ.f['2']++;`.","scripts":{"lint":"jshint index.js && jscs index.js --reporter inline","test":"mocha","test-cov":"istanbul cover _mocha","test-travis":"istanbul cover _mocha --report lcovonly"},"author":{"name":"Charlike Make Reagent","email":"mameto_100@mail.bg","url":"https://github.com/tunnckoCore"},"repository":{"type":"git","url":"git://github.com/tunnckoCore/cleanup-coverage-code.git"},"keywords":["clean","cleans","cleanup","cleanups","code","codes","cov","coverage","coverages","coveralls","during","express","expression","expressions","function","functions","istanbul","lib","lib-cov","match","matching","name","process","re","regex","regexp","regexps","regular","test","tests","ugly"],"license":{"type":"MIT","url":"https://github.com/tunnckoCore/cleanup-coverage-code/blob/master/license.md"},"dependencies":{"coverage-code-regex":"~1.0.1"},"devDependencies":{"istanbul-harmony":"^0.3.1","mocha":"*","mocha-lcov-reporter":"^0.0.1"},"gitHead":"c1eedd7b71c92271b70ebefe744537459356c453","bugs":{"url":"https://github.com/tunnckoCore/cleanup-coverage-code/issues"},"homepage":"https://github.com/tunnckoCore/cleanup-coverage-code","_id":"cleanup-coverage-code@1.0.1","_shasum":"f538b30c66eb3c7422b949387c3e4ae5a560176a","_from":".","_npmVersion":"2.1.16","_nodeVersion":"0.11.14","_npmUser":{"name":"tunnckocore","email":"mameto_100@mail.bg"},"maintainers":[{"name":"tunnckocore","email":"mameto_100@mail.bg"}],"dist":{"shasum":"f538b30c66eb3c7422b949387c3e4ae5a560176a","tarball":"https://registry.npmjs.org/cleanup-coverage-code/-/cleanup-coverage-code-1.0.1.tgz","integrity":"sha512-Vtjl8kMBMj2XmUo61f+3QjGQ/G5GZvDpT3C7TMZj8qKxZux/SwO2nIPs/TpPlHZR9rVEUzcIHAXL0sZpjlb3UQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHzZSmi9mGiefDfKuq5ksXqx5eiNI7+OdQGJIlfL7EcsAiEA0fzBVaIz2Itl2DVl3Cyy8UAaTrn1Vv5PWxu7AG5G4/k="}]},"directories":{}},"1.0.2":{"name":"cleanup-coverage-code","version":"1.0.2","description":"Cleanup ugly code added by code coverage tools during the test process. Like this one `__cov_Ejgcx$XN18CSfmeWn$f7vQ.f['2']++;`.","scripts":{"lint":"jshint index.js && jscs index.js --reporter inline","test":"mocha","test-cov":"istanbul cover _mocha","test-travis":"istanbul cover _mocha --report lcovonly"},"author":{"name":"Charlike Make Reagent","email":"mameto_100@mail.bg","url":"https://github.com/tunnckoCore"},"repository":{"type":"git","url":"git://github.com/tunnckoCore/cleanup-coverage-code.git"},"keywords":["clean","cleans","cleanup","cleanups","code","codes","cov","coverage","coverages","coveralls","during","express","expression","expressions","function","functions","istanbul","lib","lib-cov","match","matching","name","process","re","regex","regexp","regexps","regular","test","tests","ugly"],"license":{"type":"MIT","url":"https://github.com/tunnckoCore/cleanup-coverage-code/blob/master/license.md"},"dependencies":{"coverage-code-regex":"~1.0.2"},"devDependencies":{"istanbul-harmony":"^0.3.1","mocha":"*","mocha-lcov-reporter":"^0.0.1"},"gitHead":"9e7bfe70c85212ef9cb7d7416baa981dd35f7c32","bugs":{"url":"https://github.com/tunnckoCore/cleanup-coverage-code/issues"},"homepage":"https://github.com/tunnckoCore/cleanup-coverage-code","_id":"cleanup-coverage-code@1.0.2","_shasum":"8d84783915d1ae34a9edefb886a939cc9c0a5734","_from":".","_npmVersion":"2.1.16","_nodeVersion":"0.11.14","_npmUser":{"name":"tunnckocore","email":"mameto_100@mail.bg"},"maintainers":[{"name":"tunnckocore","email":"mameto_100@mail.bg"}],"dist":{"shasum":"8d84783915d1ae34a9edefb886a939cc9c0a5734","tarball":"https://registry.npmjs.org/cleanup-coverage-code/-/cleanup-coverage-code-1.0.2.tgz","integrity":"sha512-Mj/HUy5Datt541wBhAKZStsowgmAOPfrTYAF3Yu0mXEGtGzgkuhrClmJkdr6cvr+D9FB5CMj+caoG+nGJcYH9w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGMvReOlQ8PvJ7567hAhST0nFjsr0wFKC/Jua7AwRYLtAiEApRcrnypA+ItFCxg8BLY0qn4/CQiRCh1N/PS07/FS+3g="}]},"directories":{}},"1.0.3":{"name":"cleanup-coverage-code","version":"1.0.3","description":"Cleanup ugly code added by code coverage tools during the test process. Like this one `__cov_Ejgcx$XN18CSfmeWn$f7vQ.f['2']++;`.","scripts":{"lint":"jshint index.js && jscs index.js --reporter inline","test":"mocha","test-cov":"istanbul cover _mocha","test-travis":"istanbul cover _mocha --report lcovonly"},"author":{"name":"Charlike Make Reagent","email":"mameto_100@mail.bg","url":"https://github.com/tunnckoCore"},"repository":{"type":"git","url":"git://github.com/tunnckoCore/cleanup-coverage-code.git"},"keywords":["clean","cleans","cleanup","cleanups","code","codes","cov","coverage","coverages","coveralls","during","express","expression","expressions","function","functions","istanbul","lib","lib-cov","match","matching","name","process","re","regex","regexp","regexps","regular","test","tests","ugly"],"license":{"type":"MIT","url":"https://github.com/tunnckoCore/cleanup-coverage-code/blob/master/license.md"},"dependencies":{"coverage-code-regex":"~1.0.2"},"devDependencies":{"istanbul-harmony":"^0.3.1","mocha":"~2.1.0"},"gitHead":"e0730f81c39d285022774ea2b1402b1f76b285ab","bugs":{"url":"https://github.com/tunnckoCore/cleanup-coverage-code/issues"},"homepage":"https://github.com/tunnckoCore/cleanup-coverage-code","_id":"cleanup-coverage-code@1.0.3","_shasum":"0f7a7fa2bbf2ca18de422907f3d2ac27c45e163e","_from":".","_npmVersion":"2.1.16","_nodeVersion":"0.11.14","_npmUser":{"name":"tunnckocore","email":"mameto_100@mail.bg"},"maintainers":[{"name":"tunnckocore","email":"mameto_100@mail.bg"}],"dist":{"shasum":"0f7a7fa2bbf2ca18de422907f3d2ac27c45e163e","tarball":"https://registry.npmjs.org/cleanup-coverage-code/-/cleanup-coverage-code-1.0.3.tgz","integrity":"sha512-W3+QH8bWcFpZpMrMIIA/IFeLJ0fa/yy7/OOOWS6UDVMh6reAXrq33+xHsOeMbQVlIOvTYT7EcDtNypuUbV8AEw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC1rglBG2KNzYh3n0fZHnLe5GdUoOxnB9iMXmmgOv/3AAIhAKTz0VzBLdu5SsH4OfDIuX50gqjtRRlvGCuO+7HrJaBH"}]},"directories":{}}},"readme":"## [![npm][npmjs-img]][npmjs-url] [![mit license][license-img]][license-url] [![build status][travis-img]][travis-url] [![coverage status][coveralls-img]][coveralls-url] [![deps status][daviddm-img]][daviddm-url]\n\n> Cleanup ugly code (like this `__cov_Ejgcx$XN18CSfmeWn$f7vQ.f['2']++;`) added by code coverage tools during the test process.\n\n## Install\n```\nnpm i --save cleanup-coverage-code\nnpm test\n```\n\n\n## API\n> For more use-cases see the [tests](./test.js)\n\n### [cleanupCoverageCode](./index.js#L33)\n> Cleans up the given code from code added by coverage tools.\n\n- `<str>` **{String}** code to cleanup\n- `return` **{String}** cleaned code\n\n**Example:**\n\n```js\nvar cleanupCoverageCode = require('cleanup-coverage-code');\n\nvar fixture = \"var a=[1,2,3];__cov_Ejgcx$XN18CSfmeWn$f7vQ.f['2']++;var b=123;\";\ncleanupCoverageCode(fixture);\n//=> 'var a=[1,2,3];var b=123;'\n\ncleanupCoverageCode('var a=[1,2,3];var b=123;');\n//=> 'var a=[1,2,3];var b=123;'\n```\n\n\n## Author\n**Charlike Mike Reagent**\n+ [gratipay/tunnckoCore][author-gratipay]\n+ [twitter/tunnckoCore][author-twitter]\n+ [github/tunnckoCore][author-github]\n+ [npmjs/tunnckoCore][author-npmjs]\n+ [more ...][contrib-more]\n\n\n## License [![MIT license][license-img]][license-url]\nCopyright (c) 2014-2015 [Charlike Mike Reagent][contrib-more], [contributors][contrib-graf].  \nReleased under the [`MIT`][license-url] license.\n\n\n[npmjs-url]: http://npm.im/cleanup-coverage-code\n[npmjs-img]: https://img.shields.io/npm/v/cleanup-coverage-code.svg?style=flat&label=cleanup-coverage-code\n\n[coveralls-url]: https://coveralls.io/r/tunnckoCore/cleanup-coverage-code?branch=master\n[coveralls-img]: https://img.shields.io/coveralls/tunnckoCore/cleanup-coverage-code.svg?style=flat\n\n[license-url]: https://github.com/tunnckoCore/cleanup-coverage-code/blob/master/license.md\n[license-img]: https://img.shields.io/badge/license-MIT-blue.svg?style=flat\n\n[travis-url]: https://travis-ci.org/tunnckoCore/cleanup-coverage-code\n[travis-img]: https://img.shields.io/travis/tunnckoCore/cleanup-coverage-code.svg?style=flat\n\n[daviddm-url]: https://david-dm.org/tunnckoCore/cleanup-coverage-code\n[daviddm-img]: https://img.shields.io/david/tunnckoCore/cleanup-coverage-code.svg?style=flat\n\n[author-gratipay]: https://gratipay.com/tunnckoCore\n[author-twitter]: https://twitter.com/tunnckoCore\n[author-github]: https://github.com/tunnckoCore\n[author-npmjs]: https://npmjs.org/~tunnckocore\n\n[contrib-more]: http://j.mp/1stW47C\n[contrib-graf]: https://github.com/tunnckoCore/cleanup-coverage-code/graphs/contributors\n\n***\n\n_Powered and automated by [kdf](https://github.com/tunnckoCore), February 4, 2015_","maintainers":[{"email":"super.ludiq@gmail.com","name":"vanchoy"},{"email":"mameto2011@gmail.com","name":"tunnckocore"}],"time":{"modified":"2022-06-13T06:08:04.603Z","created":"2015-01-28T00:06:56.473Z","0.0.0":"2015-01-28T00:06:56.473Z","1.0.0":"2015-01-28T00:32:43.591Z","1.0.1":"2015-01-28T02:11:22.025Z","1.0.2":"2015-01-28T03:36:13.589Z","1.0.3":"2015-02-04T04:46:20.819Z"},"homepage":"https://github.com/tunnckoCore/cleanup-coverage-code","keywords":["clean","cleans","cleanup","cleanups","code","codes","cov","coverage","coverages","coveralls","during","express","expression","expressions","function","functions","istanbul","lib","lib-cov","match","matching","name","process","re","regex","regexp","regexps","regular","test","tests","ugly"],"repository":{"type":"git","url":"git://github.com/tunnckoCore/cleanup-coverage-code.git"},"author":{"name":"Charlike Make Reagent","email":"mameto_100@mail.bg","url":"https://github.com/tunnckoCore"},"bugs":{"url":"https://github.com/tunnckoCore/cleanup-coverage-code/issues"},"license":{"type":"MIT","url":"https://github.com/tunnckoCore/cleanup-coverage-code/blob/master/license.md"},"readmeFilename":"readme.md"}