1.1.1 • Published 6 years ago

console-clear v1.1.1

Weekly downloads
60,792
License
MIT
Repository
github
Last release
6 years ago

console-clear

Clear the console, cross-platform

Install

$ npm install --save console-clear

Usage

const clear = require('console-clear');

clear(true);
//=> allow scrollback

clear();
//=> no scrollback, if supported

API

clear(keepHistory)

keepHistory

Type: boolean Default: false

Clears the console, but keeps the scrollback history intact.

For Windows: This may be the only behavior available. ANSI control sequences, like clearing the scrollback buffer, are only handled in recent versions of the native Windows console host.

License

MIT © Luke Edwards

@flowacademy/dng@cyberspace-dev/cliplaygrounds@everything-registry/sub-chunk-1373pogo-clisirv-clirolib-clisubhalingamdpolymerx-clipreact-clipreact-cli-typescriptpreact-cli-omirax-quickapp-webpack-pluginrax-multi-pages-settingsrax-plugin-apprax-plugin-componentrax-plugin-multi-pagesreact-codegen-clispotitermscriptworks-vitaq-clientscripts-coresuddensucreteselagensvavatarsvbtesting-farm-vieweresp3d-mock-serverec-scriptsfpzgc-generatefast.comfind-the-oddgiffyglyphs-markdown-makerliamin-test-001mohammadamingpktlocaldev-tuijsview-clijsview-scratch-to-jsjsx2mp-clinpm-sebi-test-packagensfw-apicreate-yyy@hop-protocol/v2-bundle-relayer@hop-protocol/hop-node@hyext/builder-zabincuid-cli@gaiama/cuid-cliwebpack-messages@insertish/sirv-clixalwatcher@jeli/cli@klevn/dgraphwl-preact-cli@gerbera/clixunit-viewer@nordjs/cli@quoine/preact-cli@mebbigfrontend/ts-cli@epimodev/sarv@rschristian/junk@zalastax/nolb-conso@we-make-websites/tannoyalireza@wii/create-wii@alifd/build-plugin-meet-component@alifd/build-plugin-meet-docs@alilc/build-plugin-lce@aligov/plugin-gff-h5-module@aligov/plugin-gff-h5-remote-component@ethglobal/speed@sherlog/cli@xxyyzz2050/cli@svelte-docs/server@adam-lynch/sirv-cli@altipla/genio@buganto/clientbo7expressbuild-ice3-gcp-runtimebuild-plugin-cloud-rax-appbuild-plugin-componentbuild-plugin-component-multiplebuild-plugin-fushen-rax-appbuild-plugin-rax-halo-componentbuild-plugin-rax-miniapp-pluginbuild-plugin-rax-to-reactbuild-plugin-one-code-for-componentsbuild-plugin-rax-componentbuild-plugin-multi-demo-portalbeekeeper-util@cond/preact-cli@danieltanfh95/sirv-cli@confy/core@constgen/neutrino-progress@dblechoc/preact-clicn-build-plugin-component@digiforce-cloud/build-plugin-component
1.1.1

6 years ago

1.1.0

6 years ago

1.0.0

7 years ago