{"name":"covert","version":"1.1.1","description":"code coverage command con coverify","bin":{"covert":"bin/cmd.js"},"dependencies":{"browserify":"^16.2.3","coverify":"^1.5.1","minimist":"^1.2.0","parents":"^1.0.1","resolve":"^1.9.0"},"repository":{"type":"git","url":"git://github.com/substack/covert.git"},"homepage":"https://github.com/substack/covert","keywords":["code","coverage","coverify","instrumentation"],"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"engines":{"node":">= 0.6"},"license":"MIT","gitHead":"b2f79d7d1512758233d6a7220b8363d493573c7c","bugs":{"url":"https://github.com/substack/covert/issues"},"_id":"covert@1.1.1","_npmVersion":"6.5.0-next.0","_nodeVersion":"11.6.0","_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"dist":{"integrity":"sha512-JaOa8MRqoMum+skNyVLf0H0BfAVAXMaSyy409Uk4/pLdFT2/2h49OJBDmwvylDNP1UZZ20tcjYS85eaQuQ1WeA==","shasum":"71efc3186dbda848f59d8fe562c3494e200276d8","tarball":"http://registry-npm.ywwl.com/covert/download/covert-1.1.1.tgz","fileCount":5,"unpackedSize":6866,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcKTsLCRA9TVsSAnZWagAAqvkP/jNFoB1Wd8QYnVKPDtIc\n5TdcQqnDhfgjrzal9pzePbxTd1g5wS9eJRBBwfz7Nuls9x8n/bDLdwyckHtH\nnelrVS0OoDQ8prT1R/jZF+RDHPVvqmzqFhpFkj/N4sh0oTKhpCnZkUqvxuDn\nsLih90rN+FpjM4/ImRT1qvA+JiOkkkwmJLAIFaqi6DDChOYLecq6eyTDTT90\nvT9AYUUCTo4lybckmRkzpbBpl6EFu3qzoXgjXQCB54ZixSmdBQwB1ez7eFQz\n6SqCbdYaSrWpOJVcIzEiC1ReNG1Nn7g7oRvsNorx+OjnhRAE5Yx+xwHqCcaG\nuWzH7yAJw69MzzBTP2i9XUOBbaZBpg4FSFMZm5hq2u6Ka6TVUJsQZSvP3tf5\nI3ACdZZaMj8vg/uNg5EK/zPSQCV7ETxrA5ywzqCG7vL1vwCxzwVzQEMMAf1u\nPmDAcCST0U8QeMqsGjredFka2SUFMQEEdBBn6Z5scgYCba7vpgKWYQXVnSxd\nQPcvreQvlujcC4O/Scu+wlBDuje3vCQ/bYoo7E+yWr7pOiDyUSLjaxyCWqEi\nZXMwFCOcRN8L0t303TIJFwzs8xufmmKHEHgW06P+8cYP5Covfr05pDhPnKwP\npcQ3JID25zympiSDTO7gEBB/DKwLVyxAO72Pt/wO2xYH//mTsi0UuosgjsQ3\n5yEe\r\n=YKap\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFGmHN3In7p7qr6j2jVtE3tFu3+5Rom+YDXbWPTaajpwAiBCe7Ln8rfca1RR9xupMgnxsNNSW+6gpUJrUr7Xj17CXQ=="}],"size":3183,"noattachment":false,"key":"/covert/-/covert-1.1.1.tgz"},"maintainers":[{"email":"ljharb@gmail.com","name":"ljharb"},{"email":"substack@gmail.com","name":"substack"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/covert_1.1.1_1546205962520_0.3248502394372099"},"_hasShrinkwrap":false,"readme":"# covert\n\ncode coverage command\n\n# example\n\nJust run `covert` on some ordinary files:\n\n```\n$ covert test/*.js\nTAP version 13\n# defined-or\nok 1 empty arguments\nok 2 1 undefined\nok 3 2 undefined\nok 4 4 undefineds\nok 5 false[0]\nok 6 false[1]\nok 7 zero[0]\nok 8 zero[1]\nok 9 first arg\nok 10 second arg\nok 11 third arg\n# (anonymous)\nok 12 should be equal\n\n1..12\n# tests 12\n# pass  12\n\n# ok\n\n# /home/substack/projects/defined/index.js: line 3, column 18-26\n\n  if (false) dead();\n             ^^^^^^^\n\n# /home/substack/projects/defined/index.js: line 6, column 16-18, 19-25, 26-30, 31-51\n\n  for (var i = 0; i < 5; i++) console.log('blah');\n               ^  ^^^^^  ^^^  ^^^^^^^^^^^^^^^^^^^\n\n# /home/substack/projects/defined/index.js: line 10, column 3-24\n\n  console.log('blah');\n  ^^^^^^^^^^^^^^^^^^^^\n\n# coverage: 76/82 (92.68 %)\n\nnon-zero exit code in `coverify` command\n```\n\nIn this example, this test suite is using\n[tape](https://npmjs.org/package/tape). Tests written with tape can just be run\ndirectly using `node`, which fits very well with what this command expects.\n\n# install\n\nWith [npm](https://npmjs.org) do:\n\n```\nnpm install -g covert\n```\n\n# usage\n\n```\nusage: covert {OPTIONS} FILES\n\n  Instrument FILES and in-module dependencies, writing coverage data to STDERR.\n\n  OPTIONS are:\n\n    --json\n\n      Suppress normal output and print json coverage data to stdout.\n\n    -q, --quiet  \n\n      Only print coverage data, suppressing all other output.\n\n    -c, --color\n\n      Use color in the output. Default: true if stdout is a TTY.\n\n```\n\n# why\n\nMost code coverage libraries do weird things I don't like, such as writing all\ntheir junk to directories and files in a completely out-of-band way.\n\ncovert:\n\n* only uses stderr and stdout, doesn't write to any files.\nAll of this business about `lcov` files and directories with reports in them\nreally weirds me out.\n\n* bundles with `browserify --bare` and a transform instead of hijacking\n`require()`. All the reporting goes through a unix pipeline on process.stdin and\nprocess.stdout. This is still hacky, but it's the kind of hacky that you can fix\nyourself when the magic breaks down. The internal pipeline is just:\n\n```\nbrowserify -t coverify --bare $* | node | coverify\n```\n\n* works really well with simple unix pipelines.\nstdin and stdout: the wisdom of the ancients.\n\n# license\n\nMIT\n","publish_time":1546205962724,"_cnpm_publish_time":1546205962724,"dist-tags":{"latest":"1.1.1"}}