{ "_id": "cli-boxes", "_rev": "7-62b3b3070bfe43de59548ed757f423a0", "name": "cli-boxes", "description": "Boxes for use in the terminal", "dist-tags": { "latest": "2.2.1" }, "versions": { "1.0.0": { "name": "cli-boxes", "version": "1.0.0", "description": "Boxes for use in the terminal", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/sindresorhus/cli-boxes" }, "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "sindresorhus.com" }, "engines": { "node": ">=0.10.0" }, "scripts": { "test": "xo && ava" }, "files": [ "index.js", "boxes.json" ], "keywords": [ "cli", "box", "boxes", "terminal", "term", "console", "ascii", "unicode", "border", "text", "json" ], "devDependencies": { "ava": "*", "xo": "*" }, "gitHead": "30c6977f9c053c2e2de7bed9395512f90cd6e5ae", "bugs": { "url": "https://github.com/sindresorhus/cli-boxes/issues" }, "homepage": "https://github.com/sindresorhus/cli-boxes", "_id": "cli-boxes@1.0.0", "_shasum": "4fa917c3e59c94a004cd61f8ee509da651687143", "_from": ".", "_npmVersion": "2.14.12", "_nodeVersion": "4.3.0", "_npmUser": { "name": "sindresorhus", "email": "sindresorhus@gmail.com" }, "dist": { "shasum": "4fa917c3e59c94a004cd61f8ee509da651687143", "tarball": "https://registry.npmjs.org/cli-boxes/-/cli-boxes-1.0.0.tgz" }, "maintainers": [ { "name": "sindresorhus", "email": "sindresorhus@gmail.com" } ], "_npmOperationalInternal": { "host": "packages-9-west.internal.npmjs.com", "tmp": "tmp/cli-boxes-1.0.0.tgz_1456820449966_0.9008902586065233" }, "directories": {} }, "2.0.0": { "name": "cli-boxes", "version": "2.0.0", "description": "Boxes for use in the terminal", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/sindresorhus/cli-boxes.git" }, "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "sindresorhus.com" }, "engines": { "node": ">=6" }, "scripts": { "test": "xo && ava && tsd-check" }, "keywords": [ "cli", "box", "boxes", "terminal", "term", "console", "ascii", "unicode", "border", "text", "json" ], "devDependencies": { "ava": "^1.2.0", "tsd-check": "^0.3.0", "xo": "^0.24.0" }, "gitHead": "d7dede799124fc6bdb2ad90f77797a4faaa56bb2", "bugs": { "url": "https://github.com/sindresorhus/cli-boxes/issues" }, "homepage": "https://github.com/sindresorhus/cli-boxes#readme", "_id": "cli-boxes@2.0.0", "_nodeVersion": "10.15.0", "_npmVersion": "6.7.0", "_npmUser": { "name": "sindresorhus", "email": "sindresorhus@gmail.com" }, "dist": { "integrity": "sha512-P46J1Wf3BVD0E5plybtf6g/NtHYAUlOIt7w3ou/Ova/p7dJPdukPV4yp+BF8dpmnnk45XlMzn+x9kfzyucKzrg==", "shasum": "de5eb5ce7462833133e85f5710fabb38377e9333", "tarball": "https://registry.npmjs.org/cli-boxes/-/cli-boxes-2.0.0.tgz", "fileCount": 6, "unpackedSize": 4973, "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcVsG8CRA9TVsSAnZWagAAXA0QAIVd/04gPgfxVr5KS5z7\nfVn20BFjqvVAekLT3uHiFU6bE46bKVw6AWRhJk7sduZDBpIs7rzGB4ON8bPf\naSV9Y+OZHq6he8Mb3GDOXUgUOFECSTOiiQEuq9T2GTAfNWrvSwBeOWYw4W/P\ngQtZvNYtieq+Pag11B7rGqP+N0UHDTuWrrdCRmrczU0fNtzN21r5y7isEP2K\ng27MUS4jv724ZTDjAPztPifyIgVh5pyL9EcPu8OZPait5930kCKjzc4ltWlE\newiw9Dnlzgm7XbA0d5O918DmnJiCp0V1DcA/ydKdBXK3chuGWslYNfN2zUNG\nqP4z9kTn4svfd2BDpuWkml5gPHGm7ofFjkjXPiIJYdbRqBOkW+mhQJROSl9C\nnA+4RRYNJsWe0IRhobet4kxZDoLjUXrR0eIdkC1W4Q5qUza1wMkQZFtRxG8e\n7PwfAD2qKnkpTjBCCzQHSqbwhw+KRDId3f7x08jyBX8ZGgGbWI6OwlHQ4/u6\nKcdeXs6L8fbyJB3EcUNGEaDKt5mlYKnNVWwVQY32GymLvyjn9i8vRcRp2CEj\nvdKXXLZa2IfgCJ+7KYJCklChEoX8W+4b289wuW9xoqbXZK1rJ6pF0v3sjgC6\nBJo7yERRbPce7b2bduOgzHybEmDsGcD2v+57EfkI8zwiCWZhHbcmoXPfSUCj\nS8Vg\r\n=k9ay\r\n-----END PGP SIGNATURE-----\r\n" }, "maintainers": [ { "name": "sindresorhus", "email": "sindresorhus@gmail.com" } ], "directories": {}, "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/cli-boxes_2.0.0_1549189564070_0.5350552470811112" }, "_hasShrinkwrap": false }, "2.1.0": { "name": "cli-boxes", "version": "2.1.0", "description": "Boxes for use in the terminal", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/sindresorhus/cli-boxes.git" }, "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "sindresorhus.com" }, "engines": { "node": ">=6" }, "scripts": { "test": "xo && ava && tsd" }, "keywords": [ "cli", "box", "boxes", "terminal", "term", "console", "ascii", "unicode", "border", "text", "json" ], "devDependencies": { "ava": "^1.4.1", "tsd": "^0.7.2", "xo": "^0.24.0" }, "gitHead": "af2a212813e5c16a8ed05aa60a93109fabab6f3d", "bugs": { "url": "https://github.com/sindresorhus/cli-boxes/issues" }, "homepage": "https://github.com/sindresorhus/cli-boxes#readme", "_id": "cli-boxes@2.1.0", "_nodeVersion": "8.15.0", "_npmVersion": "6.9.0", "_npmUser": { "name": "sindresorhus", "email": "sindresorhus@gmail.com" }, "dist": { "integrity": "sha512-V9gkudTUk+iZGUYvI6qNwD9XbEc0mJiQEjYT5/+RLhN/3GgSTjIAsltAIA+idbCEAdAQw//uaXRHBp+CETPjuA==", "shasum": "e77b63d111cfd7be927bc417b794c798f81027a0", "tarball": "https://registry.npmjs.org/cli-boxes/-/cli-boxes-2.1.0.tgz", "fileCount": 6, "unpackedSize": 5358, "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcp9hOCRA9TVsSAnZWagAAKwAP/3q2ZQyMpqvZo4Tgydf2\nsioZX0HDZTDi8fEbXB4ZYYDWqOnlm/YEem/6xuq2c0xYeqdPp+FHBbrrH+mo\nHgNQ2U+vwoK+lg50yRETkl+IlbHVob51kGcQM+KGp2cZf5LDneBIT/AqTDbW\n4a9RrH0us7V3wtE+Sxf+7Gvlq2ghVaHT351SwqI9Zz5/YkIpyYxnxXbejmeC\nYmlnwOT8zYrzKNFlsf4/EbHOLsmkoBRVPUaSmWUfZOR99cm9ObakRmBHSF1e\n0lkhmwhIMImWuinKlJWj+yXR4cDFBwwvUgZi4r/0wNsei5cVU46xBz3xEHxh\nmBJkR+54AvlgzaZdklZA20eSEuysVqrTkHQLwUWpH0WtyW10yD/7GdSjLmWK\nxUbTlEbheQ6cai7wuEMiiyNxY5yaF+b4jblCKybR7BZvI273eCtwKmFLFvD1\nHeKqdZT0IAH4YuOVBJYP7E/aTFOXK28EdSUfA9TYLaHJYo61xbDDeePV7Quw\na6pI9we+lGCY0f07pk9AhLxVQR8FwxFe22yUwabOp2ighSbjZl+KQM1KDeoK\nUlHVbRC7kR0gnm/hVQkThFEF8gPaK3iIZYsaCum3hm2paoU5Cjn2Nb3XhEp5\nL1zdZ4J/0aWa/Q3YO3W9IJPSn7XyvaAFYBTSQ8WFCeF2GkYBHXz2BqghnAmt\nweGf\r\n=jOST\r\n-----END PGP SIGNATURE-----\r\n" }, "maintainers": [ { "name": "sindresorhus", "email": "sindresorhus@gmail.com" } ], "directories": {}, "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/cli-boxes_2.1.0_1554503757266_0.636036856135701" }, "_hasShrinkwrap": false }, "2.2.0": { "name": "cli-boxes", "version": "2.2.0", "description": "Boxes for use in the terminal", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/sindresorhus/cli-boxes.git" }, "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "sindresorhus.com" }, "engines": { "node": ">=6" }, "scripts": { "test": "xo && ava && tsd" }, "keywords": [ "cli", "box", "boxes", "terminal", "term", "console", "ascii", "unicode", "border", "text", "json" ], "devDependencies": { "ava": "^1.4.1", "tsd": "^0.7.2", "xo": "^0.24.0" }, "gitHead": "ac02ac64d2822e935b74ff945932cd3d04e3ce78", "bugs": { "url": "https://github.com/sindresorhus/cli-boxes/issues" }, "homepage": "https://github.com/sindresorhus/cli-boxes#readme", "_id": "cli-boxes@2.2.0", "_nodeVersion": "10.15.3", "_npmVersion": "6.9.0", "_npmUser": { "name": "sindresorhus", "email": "sindresorhus@gmail.com" }, "dist": { "integrity": "sha512-gpaBrMAizVEANOpfZp/EEUixTXDyGt7DFzdK5hU+UbWt/J0lB0w20ncZj59Z9a93xHb9u12zF5BS6i9RKbtg4w==", "shasum": "538ecae8f9c6ca508e3c3c95b453fe93cb4c168d", "tarball": "https://registry.npmjs.org/cli-boxes/-/cli-boxes-2.2.0.tgz", "fileCount": 6, "unpackedSize": 5692, "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcyDGqCRA9TVsSAnZWagAAL/IP/325CmvB89Pgzieb73MH\n0mXAGm+wiXwrlclx5LiWKFiKLYGSXScceKPXxoMncKw0Jb+pcKeL86DewkcO\nFB9VbpuH6oqg6FcKRmA4x03m9t97PMorsN5fW8F9yQr/Qif0AuuOfLFbqPxs\njfFwydPGK2vu9P/n7ltvuFsisaBv3XMhtPEQZMBw7yhn0ZllB5+t5pTkUMY8\nfPjGXuEJtutPeVpebyuOnluwhKG5L8mrFa4Gym9lmfIkuk8pgzB6bzcmIb8Z\n5p/EK18akcQylIWaS47rQpsTUhnoCAm3qhyWoXTavosUioTaYbBpeEklfG9H\nMs1GPepyenskf1lABJb+obBPwj91rD9/yastCNwRH34jv2ozqIegbvuHL5kf\nvwWX6wTKzJTlpJrk9JQU/oIlpxu9/iNav1ruYYkjJ1TRsa80HjeIJK6N2Vqe\naLlkqctMaj3sdh+NHjhb7r44R/VrcF54HNDwPmT+cYneHhUk2LfsUnhTOlPL\nOg4Ghk1pAJJ4zivx8NP0TFIJ7UxV9XXsCfDdAEjHom3y4YWmr5DY0/3aukzP\nMc5WsFO+0T0i8bho1PqYuJzUvnkFdU1TA+U7UtcqnTKyhGGF+cyH8V7VNjko\nDLud1VtHDnd33H74h2ZYjTl9fRid0seUb4WRMWwA7HJCL24LXoGgKGS0gHjT\neVvd\r\n=NXJo\r\n-----END PGP SIGNATURE-----\r\n" }, "maintainers": [ { "name": "sindresorhus", "email": "sindresorhus@gmail.com" } ], "directories": {}, "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/cli-boxes_2.2.0_1556623785838_0.767883507979815" }, "_hasShrinkwrap": false }, "2.2.1": { "name": "cli-boxes", "version": "2.2.1", "description": "Boxes for use in the terminal", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/sindresorhus/cli-boxes.git" }, "funding": "https://github.com/sponsors/sindresorhus", "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "https://sindresorhus.com" }, "engines": { "node": ">=6" }, "scripts": { "test": "xo && ava && tsd" }, "keywords": [ "cli", "box", "boxes", "terminal", "term", "console", "ascii", "unicode", "border", "text", "json" ], "devDependencies": { "ava": "^1.4.1", "tsd": "^0.7.2", "xo": "^0.24.0" }, "gitHead": "742881b4ed608da7136cf2c5d44407ca337900ea", "bugs": { "url": "https://github.com/sindresorhus/cli-boxes/issues" }, "homepage": "https://github.com/sindresorhus/cli-boxes#readme", "_id": "cli-boxes@2.2.1", "_nodeVersion": "10.22.0", "_npmVersion": "6.14.7", "_npmUser": { "name": "sindresorhus", "email": "sindresorhus@gmail.com" }, "dist": { "integrity": "sha512-y4coMcylgSCdVinjiDBuR8PCC2bLjyGTwEmPb9NHR/QaNU6EUOXcTY/s6VjGMD6ENSEaeQYHCY0GNGS5jfMwPw==", "shasum": "ddd5035d25094fce220e9cab40a45840a440318f", "tarball": "https://registry.npmjs.org/cli-boxes/-/cli-boxes-2.2.1.tgz", "fileCount": 6, "unpackedSize": 6138, "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfTMOyCRA9TVsSAnZWagAAshoP/2k5qsK6j4kH9n1jPYhb\nvZzm1kBGA11EnnAwNar/LFj01PyYrpFxcoBvmHAIFxASRcci0c5Ko1v2309v\n2jD42oFDXZKh0xrIHnKkAa7GZA0Evmed1xHC7yALylL/p53oqpbUXmbu+EJ0\nXHo5LTXf8zKryiw1hvPnqEQ9FoEVWOEl3wUalKP5C2ibRGY7LEjw5pR3fPkr\ncmd0Yg6M48Ng/yhU3E39LVBfi6D6MXryP5ABufYF4TOWBUddObmNqvfcAn8Q\nlvgCk/usA7zpOOOfqyVetb5WLjaf+UxPgRqXLzKdEdShyxA9L+OdZosv1Nm5\n60MsJ/Su+gaMLWRrtd7qAsiPORgThEks6RZ0IbLiiOQwbXoVDcjRdv7LdkH7\nUlXuWx4rqRI1p8+xDodbeK4QO6bM0hbcRALTvlcC0vfMLlPL6U4TYzPx7sxc\n/gbi/K2qWPaaWVcp8YfitdshBqidJBDUiK6zerLG59I1CUzfGI9htS3eZJzF\nzPQzVI3bVU9NHpRgmrnba9nRgLRQxlAoxdnJg2fzn9s+lFLR/2U5AjgQumvx\nf5paWhJOhQi4X6RyUSCHztab/Vdt0dUoH2FQIpShgDRmjl/P77snzMiE9YT4\n4fVN6f54QJ5+9O0qdqAhrFHH3BfqwxsP0m+N7k0BMjiDgQORjgCIhqJqOCJs\nc9Va\r\n=JW0I\r\n-----END PGP SIGNATURE-----\r\n" }, "maintainers": [ { "name": "sindresorhus", "email": "sindresorhus@gmail.com" } ], "directories": {}, "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/cli-boxes_2.2.1_1598866354183_0.6304381346911445" }, "_hasShrinkwrap": false } }, "readme": "# cli-boxes [![Build Status](https://travis-ci.com/sindresorhus/cli-boxes.svg?branch=master)](https://travis-ci.com/github/sindresorhus/cli-boxes)\n\n> Boxes for use in the terminal\n\nThe list of boxes is just a [JSON file](boxes.json) and can be used anywhere.\n\n## Install\n\n```\n$ npm install cli-boxes\n```\n\n## Usage\n\n```js\nconst cliBoxes = require('cli-boxes');\n\nconsole.log(cliBoxes.single);\n/*\n{\n topLeft: '┌',\n topRight: '┐',\n bottomRight: '┘',\n bottomLeft: '└',\n vertical: '│',\n horizontal: '─'\n}\n*/\n```\n\n## API\n\n### cliBoxes\n\n#### `single`\n\n```\n┌────┐\n│ │\n└────┘\n```\n\n#### `double`\n\n```\n╔════╗\n║ ║\n╚════╝\n```\n\n#### `round`\n\n```\n╭────╮\n│ │\n╰────╯\n```\n\n#### `bold`\n\n```\n┏━━━━┓\n┃ ┃\n┗━━━━┛\n```\n\n#### `singleDouble`\n\n```\n╓────╖\n║ ║\n╙────╜\n```\n\n#### `doubleSingle`\n\n```\n╒════╕\n│ │\n╘════╛\n```\n\n#### `classic`\n\n```\n+----+\n| |\n+----+\n```\n\n## Related\n\n- [boxen](https://github.com/sindresorhus/boxen) - Create boxes in the terminal\n\n---\n\n
\n\t\n\t\tGet professional support for this package with a Tidelift subscription\n\t\n\t
\n\t\n\t\tTidelift helps make open source sustainable for maintainers while giving companies
assurances about security, maintenance, and licensing for their dependencies.\n\t
\n
\n", "maintainers": [ { "name": "sindresorhus", "email": "sindresorhus@gmail.com" } ], "time": { "modified": "2020-08-31T09:32:36.498Z", "created": "2016-03-01T08:20:51.642Z", "1.0.0": "2016-03-01T08:20:51.642Z", "2.0.0": "2019-02-03T10:26:04.182Z", "2.1.0": "2019-04-05T22:35:57.443Z", "2.2.0": "2019-04-30T11:29:45.967Z", "2.2.1": "2020-08-31T09:32:34.295Z" }, "homepage": "https://github.com/sindresorhus/cli-boxes#readme", "keywords": [ "cli", "box", "boxes", "terminal", "term", "console", "ascii", "unicode", "border", "text", "json" ], "repository": { "type": "git", "url": "git+https://github.com/sindresorhus/cli-boxes.git" }, "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "https://sindresorhus.com" }, "bugs": { "url": "https://github.com/sindresorhus/cli-boxes/issues" }, "license": "MIT", "readmeFilename": "readme.md", "users": { "alfeo92": true, "bsdprojects": true } }