{
  "_id": "console-clear",
  "maintainers": [
    {
      "name": "lukeed",
      "email": "luke@lukeed.com"
    }
  ],
  "keywords": [
    "cli",
    "term",
    "shell",
    "console",
    "terminal",
    "clear",
    "reset"
  ],
  "dist-tags": {
    "latest": "1.1.1"
  },
  "author": {
    "name": "Luke Edwards",
    "email": "luke.edwards05@gmail.com",
    "url": "lukeed.com"
  },
  "_rev": "5-c5f5db9aae32854265297caa8dba6691",
  "description": "Clear the console, cross-platform",
  "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",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/lukeed/console-clear.git"
  },
  "bugs": {
    "url": "https://github.com/lukeed/console-clear/issues"
  },
  "license": "MIT",
  "versions": {
    "1.0.0": {
      "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": "https://archive.ito.gov.ir/npm/_packages/console-clear/-/console-clear-1.0.0.tgz",
        "integrity": "sha512-0DZCaCDOGaQVpVQ98NdixFv3udIBvhjadKVSyziRX8r2Udiiqup4hUjQ1JL6Snqyn+3wRraNpONnC/cTYR8ARA==",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEQCIF6TVcegd7vLcSR/jN1HzyuhlMeSYXhB64Z+XF+FUzifAiAK5lx3m88n8wR5Xt5PBlR0YWs3+CsTG+Zl0ER2NHRlrg=="
          }
        ]
      },
      "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": {}
    },
    "1.1.0": {
      "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": "https://archive.ito.gov.ir/npm/_packages/console-clear/-/console-clear-1.1.0.tgz",
        "integrity": "sha512-a3aetIBE4Lccq6d1v/YCgPwLRQmSYlXgVvBodFiNsjk7liJFS5FTteCqvBQnwecIXAYMKTv/VAYFonERARZjKQ==",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEUCIFjYUyXGZul+4yOGbJCi3l7xcPHe/iF6UwqfcG0qTPg+AiEAytY27K18zyf8kxV3cohjG17OqWyq1cOevDMmNBjpYm4="
          }
        ]
      },
      "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": {}
    },
    "1.1.1": {
      "name": "console-clear",
      "version": "1.1.1",
      "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"
      },
      "keywords": [
        "cli",
        "term",
        "shell",
        "console",
        "terminal",
        "clear",
        "reset"
      ],
      "gitHead": "1999bde1861bfdf1cc86cd9b1e977197da8a8d49",
      "bugs": {
        "url": "https://github.com/lukeed/console-clear/issues"
      },
      "homepage": "https://github.com/lukeed/console-clear#readme",
      "_id": "console-clear@1.1.1",
      "_npmVersion": "6.4.1",
      "_nodeVersion": "10.11.0",
      "_npmUser": {
        "name": "lukeed",
        "email": "luke@lukeed.com"
      },
      "dist": {
        "integrity": "sha512-pMD+MVR538ipqkG5JXeOEbKWS5um1H4LUUccUQG68qpeqBYbzYy79Gh55jkd2TtPdRfUaLWdv6LPP//5Zt0aPQ==",
        "shasum": "995e20cbfbf14dd792b672cde387bd128d674bf7",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/console-clear/-/console-clear-1.1.1.tgz",
        "fileCount": 4,
        "unpackedSize": 2457,
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbqnHyCRA9TVsSAnZWagAA8uMP/RAEgXVd44Hn8cSIYe01\nCKmDuF+qM6pMwQww62PHlUTYl2+F9Wo5oL6IEhC3IB4QI1Mz5LmWiUYCSwAy\npXYOySvG0/op58SKDivYSUQv9qNq+GACYdRpVuRC7PUOhFZVK6GIyzhHDw57\nY1sQeMhpfgnyQwQHSwjH/k5snAE3mOqpBzgKABvcdTlw5FymasBCprE2zlNW\nTg2iBUptDMR1CcH4158z8tj6OiKM59uVsHsfqjLandAoXfFBHLoCZwVV5O46\nYAZBf53QtHgJZlw6NAhNSKUK+hMkWvQ2C+SzxQRp/6v9BLIvyQ5LpeXgJ1m9\nht/CMI4CRxeREjUa2Jl/YSvhoKsLAfYwZZmHS1T2sj0FweMrjiJFDde09I7A\n9BgaQ8R9dieHOj+eY2WQe+zuFVzjg0Qurw5twYuhTj+68SYCDajP4wnIGO/Y\nD8W+YkndU6Ub7Rll8sJsDL+7U4R/0uURFR/T2p0Q9zZtPMPDFP9nkZERWnZe\nnrDGO/1tJNJsEkNqdNQJq+6N5VPOJ3m9JiwBCC6jcwSd2rQubC1NpV9ltrN9\nM8BxHfHczFdhFwXH6mtntfdd8KrDCvnPFnz0TvJ0i674fGhcnvRGYdlQCKlT\n4w63K9Vyh7ueXZfMIlqFo7ZDc+Q0tuiFqD8P3DSHccHN49YmCvz2vpkTA7eb\nQgxj\r\n=FQJe\r\n-----END PGP SIGNATURE-----\r\n",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEUCIQDQu0NkT2HAdWzUFJcmaPxE1L25rjq2kFWKC4tn8j6g8QIgGjs8qPyw5FtW7RDEmF6YNo0q8WopKmOEXILXH8DjM7Q="
          }
        ]
      },
      "maintainers": [
        {
          "name": "lukeed",
          "email": "luke@lukeed.com"
        }
      ],
      "directories": {},
      "_npmOperationalInternal": {
        "host": "s3://npm-registry-packages",
        "tmp": "tmp/console-clear_1.1.1_1537896945957_0.34634082200311567"
      },
      "_hasShrinkwrap": false
    }
  },
  "name": "console-clear",
  "time": {
    "modified": "2026-05-10T17:18:03.832Z",
    "created": "2017-07-20T22:45:35.643Z",
    "1.0.0": "2017-07-20T22:45:35.643Z",
    "1.1.0": "2018-01-21T22:17:22.599Z",
    "1.1.1": "2018-09-25T17:35:46.050Z"
  },
  "readmeFilename": "readme.md",
  "homepage": "https://github.com/lukeed/console-clear#readme"
}