{"name":"console-clear","version":"1.0.0","description":"Clear the console, cross-platform","repository":{"type":"git","url":"git+https://github.com/lukeed/console-clear.git"},"license":"MIT","author":{"name":"Luke Edwards","email":"luke.edwards05@gmail.com","url":"lukeed.com"},"engines":{"node":">=4"},"files":["index.js"],"keywords":["cli","term","shell","console","terminal","clear","reset"],"gitHead":"06cfd2d9380753529ca52beb4db3f9d9d87cbaa0","bugs":{"url":"https://github.com/lukeed/console-clear/issues"},"homepage":"https://github.com/lukeed/console-clear#readme","_id":"console-clear@1.0.0","scripts":{},"_shasum":"202465094b9d975260112f854994a61169c67085","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.1","_npmUser":{"name":"lukeed","email":"luke@lukeed.com"},"dist":{"shasum":"202465094b9d975260112f854994a61169c67085","tarball":"http://registry-npm.ywwl.com/console-clear/download/console-clear-1.0.0.tgz","integrity":"sha512-0DZCaCDOGaQVpVQ98NdixFv3udIBvhjadKVSyziRX8r2Udiiqup4hUjQ1JL6Snqyn+3wRraNpONnC/cTYR8ARA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF6TVcegd7vLcSR/jN1HzyuhlMeSYXhB64Z+XF+FUzifAiAK5lx3m88n8wR5Xt5PBlR0YWs3+CsTG+Zl0ER2NHRlrg=="}],"size":1449,"noattachment":false,"key":"/console-clear/-/console-clear-1.0.0.tgz"},"maintainers":[{"name":"lukeed","email":"luke@lukeed.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/console-clear-1.0.0.tgz_1500590735535_0.4811525261029601"},"directories":{},"readme":"# console-clear\n\n> Clear the console, cross-platform\n\n\n## Install\n\n```\n$ npm install --save console-clear\n```\n\n\n## Usage\n\n```js\nconst clear = require('console-clear');\n\nclear(true);\n//=> allow scrollback\n\nclear();\n//=> no scrollback, if supported\n```\n\n\n## API\n\n### clear(keepHistory)\n\n#### keepHistory\n\nType: `boolean`<br>\nDefault: `false`\n\nClears the console, but keeps the scrollback history intact.\n\n> **For Windows:** This may be the *only* behavior available. <br>ANSI control sequences, like clearing the scrollback buffer, are [only handled in _recent_ versions of the native Windows console host](http://www.nivot.org/blog/post/2016/02/04/Windows-10-TH2-(v1511)-Console-Host-Enhancements).\n\n## License\n\nMIT © [Luke Edwards](https://lukeed.com)\n","publish_time":1500590735643,"_cnpm_publish_time":1500590735643,"dist-tags":{"latest":"1.1.1"}}