{"name":"console-clear","version":"1.1.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":"a3cf712ee67d1f69359ffcd217c7db14ec9c0224","bugs":{"url":"https://github.com/lukeed/console-clear/issues"},"homepage":"https://github.com/lukeed/console-clear#readme","_id":"console-clear@1.1.0","scripts":{},"_shasum":"d5d381b813c80d14d2cce169449585639d31325a","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.1","_npmUser":{"name":"lukeed","email":"luke@lukeed.com"},"dist":{"shasum":"d5d381b813c80d14d2cce169449585639d31325a","tarball":"http://registry-npm.ywwl.com/console-clear/download/console-clear-1.1.0.tgz","integrity":"sha512-a3aetIBE4Lccq6d1v/YCgPwLRQmSYlXgVvBodFiNsjk7liJFS5FTteCqvBQnwecIXAYMKTv/VAYFonERARZjKQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFjYUyXGZul+4yOGbJCi3l7xcPHe/iF6UwqfcG0qTPg+AiEAytY27K18zyf8kxV3cohjG17OqWyq1cOevDMmNBjpYm4="}],"size":1555,"noattachment":false,"key":"/console-clear/-/console-clear-1.1.0.tgz"},"maintainers":[{"name":"lukeed","email":"luke@lukeed.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/console-clear-1.1.0.tgz_1516573042543_0.0193002768792212"},"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":1516573042599,"_cnpm_publish_time":1516573042599,"dist-tags":{"latest":"1.1.1"}}