{"_id":"cc","_rev":"2970072","name":"cc","description":"Code style linter for C++ source files used in Node.js native addons","dist-tags":{"latest":"3.0.1"},"maintainers":[{"name":"lovell","email":""}],"time":{"modified":"2023-05-18T02:33:14.000Z","created":"2012-07-26T21:37:18.540Z","3.0.1":"2020-12-09T11:02:39.523Z","3.0.0":"2020-12-01T09:20:30.121Z","2.0.1":"2019-11-14T17:11:20.332Z","2.0.0":"2019-11-14T16:39:58.589Z","1.0.2":"2018-03-17T16:39:50.596Z","1.0.1":"2017-02-23T22:49:33.179Z","1.0.0":"2017-02-05T16:40:03.802Z","0.0.6":"2012-07-27T09:48:40.968Z","0.0.5":"2012-07-27T09:46:03.057Z","0.0.3":"2012-07-26T21:55:31.394Z","0.0.2":"2012-07-26T21:45:37.902Z","0.0.1":"2012-07-26T21:37:18.540Z"},"users":{},"author":{"name":"Lovell Fuller","email":"npm@lovell.info"},"repository":{"type":"git","url":"git+https://github.com/lovell/cc.git"},"versions":{"3.0.1":{"name":"cc","version":"3.0.1","description":"Code style linter for C++ source files used in Node.js native addons","author":{"name":"Lovell Fuller","email":"npm@lovell.info"},"license":"Apache-2.0","homepage":"https://github.com/lovell/cc","repository":{"type":"git","url":"git+https://github.com/lovell/cc.git"},"scripts":{"test":"prettier -l '**/*.js'"},"bin":{"cpplint":"bin/cpplint.js"},"keywords":["cc","cpp","cplusplus","linter","addon","native"],"dependencies":{"deglob":"^4.0.1","pkg-conf":"^3.1.0","python-shell":"^2.0.3"},"devDependencies":{"prettier":"^2.2.1"},"gitHead":"a21cf0b1228cdb1329191c03053748a740da0a9f","bugs":{"url":"https://github.com/lovell/cc/issues"},"_id":"cc@3.0.1","_nodeVersion":"14.15.1","_npmVersion":"6.14.8","dist":{"shasum":"654e7e1bfc328db9451e2461971d5b113ee61d99","size":78377,"noattachment":false,"key":"/cc/-/cc-3.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/cc/download/cc-3.0.1.tgz"},"_npmUser":{"name":"lovell","email":"npm@lovell.info"},"directories":{},"maintainers":[{"name":"lovell","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cc_3.0.1_1607511759261_0.025766015554809174"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-24T09:55:26.938Z","publish_time":1607511759523,"_cnpm_publish_time":1607511759523},"3.0.0":{"name":"cc","version":"3.0.0","description":"Code style linter for C++ source files used in Node.js native addons","author":{"name":"Lovell Fuller","email":"npm@lovell.info"},"license":"Apache-2.0","homepage":"https://github.com/lovell/cc","repository":{"type":"git","url":"git+https://github.com/lovell/cc.git"},"scripts":{"test":"prettier -l '**/*.js'"},"bin":{"cpplint":"bin/cpplint.js"},"keywords":["cc","cpp","cplusplus","linter","addon","native"],"dependencies":{"deglob":"^4.0.1","pkg-conf":"^3.1.0","python-shell":"^2.0.3"},"devDependencies":{"prettier":"^2.2.1"},"gitHead":"885587b9da82f4578f2586658c7d3a16229c9e00","bugs":{"url":"https://github.com/lovell/cc/issues"},"_id":"cc@3.0.0","_nodeVersion":"14.5.0","_npmVersion":"6.14.5","dist":{"shasum":"c91cc1bc4adf1b961a133d4c9f6314a9e5dd4a7e","size":78365,"noattachment":false,"key":"/cc/-/cc-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/cc/download/cc-3.0.0.tgz"},"_npmUser":{"name":"lovell","email":"npm@lovell.info"},"directories":{},"maintainers":[{"name":"lovell","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cc_3.0.0_1606814429963_0.06235384396898347"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-24T09:55:25.633Z","publish_time":1606814430121,"_cnpm_publish_time":1606814430121},"2.0.1":{"name":"cc","version":"2.0.1","description":"Code style linter for C++ source files used in Node.js native addons","author":{"name":"Lovell Fuller","email":"npm@lovell.info"},"license":"Apache-2.0","homepage":"https://github.com/lovell/cc","repository":{"type":"git","url":"git+https://github.com/lovell/cc.git"},"scripts":{"test":"prettier -c **/*.js"},"bin":{"cpplint":"./bin/cpplint.js"},"keywords":["cc","cpp","cplusplus","linter","addon","native"],"dependencies":{"deglob":"^4.0.1","pkg-conf":"^3.1.0","python-shell":"^1.0.8"},"devDependencies":{"prettier":"^1.19.1"},"gitHead":"f33aeeae1d6959797aee4b6f0e39ee898b570d11","bugs":{"url":"https://github.com/lovell/cc/issues"},"_id":"cc@2.0.1","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"shasum":"30cc265de4fee682034e68e2ff47c8c998c7bf6f","size":71900,"noattachment":false,"key":"/cc/-/cc-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/cc/download/cc-2.0.1.tgz"},"maintainers":[{"name":"lovell","email":""}],"_npmUser":{"name":"lovell","email":"npm@lovell.info"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cc_2.0.1_1573751480159_0.30166233641473883"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-24T09:55:24.361Z","publish_time":1573751480332,"_cnpm_publish_time":1573751480332},"2.0.0":{"name":"cc","version":"2.0.0","description":"Code style linter for C++ source files used in Node.js native addons","author":{"name":"Lovell Fuller","email":"npm@lovell.info"},"license":"Apache-2.0","homepage":"https://github.com/lovell/cc","repository":{"type":"git","url":"git+https://github.com/lovell/cc.git"},"scripts":{"test":"prettier -c **/*.js"},"bin":{"cpplint":"./bin/cpplint.js"},"keywords":["cc","cpp","cplusplus","linter","addon","native"],"dependencies":{"deglob":"^4.0.1","pkg-conf":"^3.1.0","python-shell":"^1.0.8"},"devDependencies":{"prettier":"^1.19.1"},"gitHead":"28ef7d6433a3afc4684958062376d9077d84a467","bugs":{"url":"https://github.com/lovell/cc/issues"},"_id":"cc@2.0.0","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"shasum":"b9a7cfbfd7c3d252247ed4be225edcdcab593df5","size":71884,"noattachment":false,"key":"/cc/-/cc-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/cc/download/cc-2.0.0.tgz"},"maintainers":[{"name":"lovell","email":""}],"_npmUser":{"name":"lovell","email":"npm@lovell.info"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cc_2.0.0_1573749598477_0.0854203584528539"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-24T09:55:23.076Z","publish_time":1573749598589,"_cnpm_publish_time":1573749598589},"1.0.2":{"name":"cc","version":"1.0.2","description":"Code style linter for C++ source files used in Node.js native addons","author":{"name":"Lovell Fuller","email":"npm@lovell.info"},"license":"Apache-2.0","homepage":"https://github.com/lovell/cc","repository":{"type":"git","url":"git+https://github.com/lovell/cc.git"},"scripts":{"test":"semistandard"},"bin":{"cc":"./bin/cc.js"},"keywords":["cc","cpp","cplusplus","linter","addon","native"],"dependencies":{"deglob":"^2.1.0","pkg-conf":"^2.1.0","python-shell":"^0.5.0"},"devDependencies":{"semistandard":"^12.0.1"},"gitHead":"07c15eff755f9f4513b05d371c240c293986f672","bugs":{"url":"https://github.com/lovell/cc/issues"},"_id":"cc@1.0.2","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"lovell","email":"npm@lovell.info"},"dist":{"shasum":"38009845342f77dc00ad4328ab5e4e3c785a40b6","size":71682,"noattachment":false,"key":"/cc/-/cc-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/cc/download/cc-1.0.2.tgz"},"maintainers":[{"name":"lovell","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cc_1.0.2_1521304790551_0.6532325981596083"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-24T09:55:21.800Z","publish_time":1521304790596,"_cnpm_publish_time":1521304790596},"1.0.1":{"name":"cc","version":"1.0.1","description":"Code style linter for C++ source files used in Node.js native addons","author":{"name":"Lovell Fuller","email":"npm@lovell.info"},"license":"Apache-2.0","homepage":"https://github.com/lovell/cc","repository":{"type":"git","url":"git+https://github.com/lovell/cc.git"},"scripts":{"test":"semistandard"},"bin":{"cc":"./bin/cc.js"},"keywords":["cc","cpp","cplusplus","linter","addon","native"],"dependencies":{"deglob":"^2.1.0","pkg-conf":"^2.0.0","python-shell":"^0.4.0"},"devDependencies":{"semistandard":"^9.2.1"},"gitHead":"830e2fb1fe64bbbb3f80dd78135625e353b3ca71","bugs":{"url":"https://github.com/lovell/cc/issues"},"_id":"cc@1.0.1","_shasum":"3c2507315be0fd26a30156e68c86e666c8f71076","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.4","_npmUser":{"name":"lovell","email":"npm@lovell.info"},"maintainers":[{"name":"lovell","email":""}],"dist":{"shasum":"3c2507315be0fd26a30156e68c86e666c8f71076","size":71315,"noattachment":false,"key":"/cc/-/cc-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/cc/download/cc-1.0.1.tgz"},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/cc-1.0.1.tgz_1487890172541_0.09987391717731953"},"directories":{},"_cnpmcore_publish_time":"2021-12-24T09:55:20.277Z","publish_time":1487890173179,"_cnpm_publish_time":1487890173179},"1.0.0":{"name":"cc","version":"1.0.0","description":"Code style linter for C++ source files used in Node.js native addons","author":{"name":"Lovell Fuller","email":"npm@lovell.info"},"license":"Apache-2.0","homepage":"https://github.com/lovell/cc","repository":{"type":"git","url":"git+https://github.com/lovell/cc.git"},"scripts":{"test":"semistandard"},"bin":{"cc":"./bin/cc.js"},"keywords":["cc","cpp","cplusplus","linter","addon","native"],"dependencies":{"deglob":"^2.1.0","pkg-conf":"^2.0.0","python-shell":"^0.4.0"},"devDependencies":{"semistandard":"^9.2.1"},"gitHead":"4a4e7ecb2aeace332f461d96522b28aa1e350dae","bugs":{"url":"https://github.com/lovell/cc/issues"},"_id":"cc@1.0.0","_shasum":"89a2ad6cb02b6cb001921bbe2af8516f6f414232","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.4","_npmUser":{"name":"lovell","email":"npm@lovell.info"},"maintainers":[{"name":"lovell","email":""}],"dist":{"shasum":"89a2ad6cb02b6cb001921bbe2af8516f6f414232","size":71212,"noattachment":false,"key":"/cc/-/cc-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/cc/download/cc-1.0.0.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/cc-1.0.0.tgz_1486312801753_0.44718802417628467"},"directories":{},"_cnpmcore_publish_time":"2021-12-24T09:55:18.792Z","publish_time":1486312803802,"_cnpm_publish_time":1486312803802},"0.0.6":{"name":"cc","version":"0.0.6","homepage":"https://github.com/mikomize/cc","author":{"name":"miko","email":"milosz.kordecki@gmail.com"},"main":"cc.js","files":["cc.js"],"_id":"cc@0.0.6","dist":{"shasum":"165043f061cca443b2c6aec6ffd90e56882745b4","size":2760,"noattachment":false,"key":"/cc/-/cc-0.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/cc/download/cc-0.0.6.tgz"},"maintainers":[{"name":"lovell","email":""}],"directories":{},"_cnpmcore_publish_time":"2021-12-24T09:55:17.514Z","publish_time":1343382520968,"_cnpm_publish_time":1343382520968},"0.0.5":{"name":"cc","version":"0.0.5","homepage":"https://github.com/mikomize/cc","author":{"name":"miko","email":"milosz.kordecki@gmail.com"},"main":"cc.js","files":["cc.js"],"_id":"cc@0.0.5","dist":{"shasum":"6974203d8854b3687e4d5f7ea5f4a578c5822aac","size":2723,"noattachment":false,"key":"/cc/-/cc-0.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/cc/download/cc-0.0.5.tgz"},"maintainers":[{"name":"lovell","email":""}],"directories":{},"_cnpmcore_publish_time":"2021-12-24T09:55:16.666Z","publish_time":1343382363057,"_cnpm_publish_time":1343382363057},"0.0.3":{"name":"cc","version":"0.0.3","homepage":"https://github.com/mikomize/cc","author":{"name":"miko","email":"milosz.kordecki@gmail.com"},"main":"cc.js","files":["cc.js"],"_id":"cc@0.0.3","dist":{"shasum":"3757c71e52a85357e2741d3a7cf833f6e129f33d","size":2719,"noattachment":false,"key":"/cc/-/cc-0.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/cc/download/cc-0.0.3.tgz"},"maintainers":[{"name":"lovell","email":""}],"directories":{},"_cnpmcore_publish_time":"2021-12-24T09:55:15.813Z","publish_time":1343339731394,"_cnpm_publish_time":1343339731394},"0.0.2":{"name":"cc","version":"0.0.2","homepage":"https://github.com/mikomize/cc","author":{"name":"miko","email":"milosz.kordecki@gmail.com"},"main":"cc.js","files":["cc.js"],"_id":"cc@0.0.2","dist":{"shasum":"0e42a2ec6ac2ca22f64b2081593a09cbfb9da532","size":2706,"noattachment":false,"key":"/cc/-/cc-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/cc/download/cc-0.0.2.tgz"},"maintainers":[{"name":"lovell","email":""}],"directories":{},"_cnpmcore_publish_time":"2021-12-24T09:55:14.913Z","publish_time":1343339137902,"_cnpm_publish_time":1343339137902},"0.0.1":{"name":"cc","version":"0.0.1","homepage":"https://github.com/mikomize/cc","author":{"name":"miko","email":"milosz.kordecki@gmail.com"},"main":"cc.js","files":["cc.js"],"_id":"cc@0.0.1","dist":{"shasum":"5fd2550da20c622631c0160c83fbc5218b67e15a","size":4137,"noattachment":false,"key":"/cc/-/cc-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/cc/download/cc-0.0.1.tgz"},"maintainers":[{"name":"lovell","email":""}],"directories":{},"_cnpmcore_publish_time":"2021-12-24T09:55:13.814Z","publish_time":1343338638540,"_cnpm_publish_time":1343338638540}},"readme":"# cc\n\nCode style linter for C++ source files used in Node.js native addons.\n\nFollows the [Google C++ Style Guide](https://google.github.io/styleguide/cppguide.html).\n\nAs `standard`, `semistandard` and `xo` are to your JavaScript source files,\n`cc` is to your C++ source files.\n\n## Using from the command line\n\n```sh\nnpx cc\n```\n\n## Adding to a native module as a development dependency\n\n```sh\nnpm install cc --save-dev\n```\n\nAdd `cpplint` to the test script of your project's `package.json` file.\n\nThe following example uses `xo` for linting JavaScript, `cpplint` for linting C++ and `ava` for unit tests.\n\n```json\n{\n  \"name\": \"awesome-native-package\",\n  \"scripts\": {\n    \"test\": \"xo && cpplint && ava\"\n  },\n  \"devDependencies\": {\n    \"ava\": \"^2.4.0\",\n    \"cc\": \"^3.0.0\",\n    \"xo\": \"^0.25.3\"\n  }\n}\n```\n\n### Defaults\n\n```json\n\"cc\": {\n  \"linelength\": \"80\",\n  \"files\": [\n    \"**/*.cc\",\n    \"**/*.h\"\n  ],\n  \"ignore\": [\n    \"node_modules/**\",\n    \"vendor/**\"\n  ],\n  \"filter\": []\n}\n```\n\nFiles listed in `.gitignore` or contained within any \"dot\" directories (e.g. `.git`) are also ignored.\n\n### Example\n\nAllow a line length of 120 characters and ignore all include checks:\n\n```json\n{\n  \"name\": \"awesome-native-package\",\n  \"scripts\": {\n    \"test\": \"cpplint\"\n  },\n  \"devDependencies\": {\n    \"cc\": \"^3.0.0\"\n  },\n  \"cc\": {\n    \"linelength\": \"120\",\n    \"filter\": [\n      \"build/include\"\n    ]\n  }\n}\n```\n\n## Thanks\n\n* [Milosz Kordecki](https://github.com/mikomize) for use of the `cc` package name.\n\n## Licence\n\nCopyright 2017, 2019, 2020 Lovell Fuller.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n[http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0.html)\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n","_attachments":{},"homepage":"https://github.com/lovell/cc","bugs":{"url":"https://github.com/lovell/cc/issues"},"license":"Apache-2.0"}