{"_id":"ink-box","_rev":"6-6c07037f3b196945fb5fa6104430ae63","name":"ink-box","dist-tags":{"latest":"2.0.0"},"versions":{"0.1.0":{"name":"ink-box","version":"0.1.0","description":"Box component for Ink","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/ink-box.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"main":"dist.js","engines":{"node":">=6"},"scripts":{"build":"babel index.js --out-file=dist.js","prepublish":"npm run build","pretest":"npm run build","test":"xo && ava"},"files":["dist.js"],"keywords":["ink-component","ink","component","box","boxen","boxes","border","react","jsx","terminal","term","console","command-line"],"dependencies":{"boxen":"^1.3.0","prop-types":"^15.6.1"},"devDependencies":{"ava":"*","babel-cli":"^6.26.0","babel-plugin-transform-react-jsx":"^6.24.1","clear-module":"^2.1.0","eslint-config-xo-react":"^0.16.0","eslint-plugin-react":"^7.7.0","ink":"^0.4.1","strip-ansi":"^4.0.0","xo":"*"},"babel":{"presets":["@ava/stage-4"],"plugins":[["transform-react-jsx",{"pragma":"h","useBuiltIns":true}]]},"ava":{"babel":"inherit"},"xo":{"extends":["xo-react"],"ignores":["dist.js"],"settings":{"react":{"pragma":"h"}},"rules":{"react/require-default-props":"off","react/no-unused-prop-types":"off"}},"gitHead":"4c9cf89e99f9b440dd5c4b9b4297c74cd9910631","bugs":{"url":"https://github.com/sindresorhus/ink-box/issues"},"homepage":"https://github.com/sindresorhus/ink-box#readme","_id":"ink-box@0.1.0","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-JNMn/CygaSnyrUmm1nDEH8u7kFWqf1qA9rHWUbKpW1n1CCsjVF2fRDQSrdiZCj8ZCsinxMB0JgSnvh9xSbyn6w==","shasum":"b83222ad6f89b4d7f948e3e2a4b827d7755ee122","tarball":"https://registry.npmjs.org/ink-box/-/ink-box-0.1.0.tgz","fileCount":4,"unpackedSize":5217,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD08pPHY+IQYUt1vFtV+vy6qugWDuqMCeVbv8cy44V9lQIgX+azwVszR23tvd3NoIH7YyC1Ai0sKZ25cxXK+OnKuP8="}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ink-box_0.1.0_1522648077053_0.08116237597323828"},"_hasShrinkwrap":false},"1.0.0":{"name":"ink-box","version":"1.0.0","description":"Styled box component for Ink","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/ink-box.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"main":"dist.js","engines":{"node":">=8"},"scripts":{"build":"babel index.js --out-file=dist.js","prepublish":"npm run build","pretest":"npm run build","test":"xo && ava"},"keywords":["ink-component","ink","component","box","boxen","boxes","border","react","jsx","terminal","term","console","command-line"],"dependencies":{"boxen":"^3.0.0","prop-types":"^15.7.2"},"devDependencies":{"@babel/cli":"^7.2.3","@babel/core":"^7.3.3","@babel/preset-react":"^7.0.0","ava":"^1.3.1","clear-module":"^3.1.0","eslint-config-xo-react":"^0.19.0","eslint-plugin-react":"^7.12.4","eslint-plugin-react-hooks":"^1.4.0","ink":"^2.0.0","ink-testing-library":"^1.0.0","react":"^16.8.2","strip-ansi":"^5.0.0","xo":"^0.24.0"},"peerDependencies":{"ink":">=2.0.0","react":">=16.8.0"},"babel":{"presets":["@ava/stage-4","@babel/preset-react"]},"xo":{"extends":["xo-react"],"rules":{"react/require-default-props":"off","react/no-unused-prop-types":"off"}},"gitHead":"3c6627bc0ff1f0dfc800940de6ae29b4f7f03a3a","bugs":{"url":"https://github.com/sindresorhus/ink-box/issues"},"homepage":"https://github.com/sindresorhus/ink-box#readme","_id":"ink-box@1.0.0","_nodeVersion":"8.15.0","_npmVersion":"6.8.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-wD2ldWX9lcE/6+flKbAJ0TZF7gKbTH8CRdhEor6DD8d+V0hPITrrGeST2reDBpCia8wiqHrdxrqTyafwtmVanA==","shasum":"8cbcb5541d32787d08d43acf1a9907e86e3572f3","tarball":"https://registry.npmjs.org/ink-box/-/ink-box-1.0.0.tgz","fileCount":4,"unpackedSize":5352,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcgKRHCRA9TVsSAnZWagAA+wgP/jQgWFC6DRdODz7Ge1jJ\ngX/S1G51GCvyg9elPme2TkeuWYB/q3hNMcBqyz2WDhzX6smNnC1dSww2hAWO\nyZBE/cGelTOGC4C7ZcMHGO99RtJcd+8rO6ziF7Fxrqx0nr8oBeQeqq7YRTqX\nnO4RxddCuDVC6HJH3qN2F0ZVN9+0gvPVKqjlSOhUwPS4mF7qaLHHCMPnUD32\nrz5z40VzGf2TF+yMArKOxq6QptZDrEJE9cYvxesJ193U8AT/tVQk1yRMMMDy\ndaGsTBt/JpArIvQrw8kAodn/DLyl012aAkGRx4qnmCB26I5bWfVECogY9Wyz\nCVMr074PM7Aw2dmHA2fV8BrJsH9vL4CIw98coChLLfBZmt8Eiv31l3xDJmmF\nYkibSaoWOwQ9zgJYS0xxo4ehByQBmXXIf6bSh9ht87tXVebzorjYgae6CqYL\nAXNQp8qGhHe7Fh2eo/kjJP/y34M2eH5Ds0KZS92QRzAcFbqD+9PKnIi2dM3b\nRyUgTz4P70C0Z+ZX8yQgswB8Hr59pAvvZa5K5CePqtZAJfDCoel20rBY7mRj\nZWBGSAKE/N52dxH5Bvu7nYxu21lBaFGk6vf36VtMtYuMrifJFMhKWGDCkiiN\n+1b6NI1G75u3rdo34lSDKlLi2Oh+pzbF70PiBu6TrjlQnvqgWIm6DJgebP5P\nIMUj\r\n=CNaz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCwrW43Qu3Y2p+4pMIgRhSa7UlhD4jhrw2Kj2LtUD8SmQIgEbXW0tKDSGPVH8tao6HopYtXgzSGfUIRD0lI55JIaOQ="}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ink-box_1.0.0_1551934534629_0.2808200434511883"},"_hasShrinkwrap":false},"2.0.0":{"name":"ink-box","version":"2.0.0","description":"Styled box component for Ink","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/ink-box.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"main":"dist.js","engines":{"node":">=8"},"scripts":{"build":"babel index.js --out-file=dist.js","prepublish":"npm run build","pretest":"npm run build","test":"xo && ava"},"keywords":["ink-component","ink","component","box","boxen","boxes","border","react","jsx","terminal","term","console","command-line"],"dependencies":{"boxen":"^3.0.0","prop-types":"^15.7.2"},"devDependencies":{"@babel/cli":"^7.2.3","@babel/core":"^7.3.3","@babel/preset-react":"^7.0.0","ava":"^1.3.1","clear-module":"^3.1.0","eslint-config-xo-react":"^0.19.0","eslint-plugin-react":"^7.12.4","eslint-plugin-react-hooks":"^1.4.0","ink":"^2.0.0","ink-testing-library":"^1.0.0","react":"^16.8.2","strip-ansi":"^5.0.0","xo":"^0.24.0"},"peerDependencies":{"ink":">=2.0.0","react":">=16.8.0"},"babel":{"presets":["@ava/stage-4","@babel/preset-react"]},"xo":{"extends":["xo-react"],"rules":{"react/require-default-props":"off","react/no-unused-prop-types":"off"}},"gitHead":"c7431fb2c62c8cfa8671347ce4f0d723133e311a","bugs":{"url":"https://github.com/sindresorhus/ink-box/issues"},"homepage":"https://github.com/sindresorhus/ink-box#readme","_id":"ink-box@2.0.0","_nodeVersion":"16.20.0","_npmVersion":"9.2.0","dist":{"integrity":"sha512-GTn8oEl/8U+w5Yrqo75xCnOh835n6upxeTkL2SkSGVt1I5a9ONXjFUHtLORZoh5fNAgImiTz+oT13bOlgaZWKg==","shasum":"1bbf4617d6cc18c127b3e38f80b81cf1cc92b4bf","tarball":"https://registry.npmjs.org/ink-box/-/ink-box-2.0.0.tgz","fileCount":4,"unpackedSize":5295,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD4ZG2t01XcT7MuQ70Debd/aA+8vl4z+DYiqwHfQMXUmgIhANSE1RE0r5PPpaqV/I8Hgv3WvdzTpqyUxDmOh5BS9xaY"}]},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ink-box_2.0.0_1686402466234_0.7713303214846843"},"_hasShrinkwrap":false,"deprecated":"Use the builtin Box component in Ink instead."}},"time":{"created":"2018-04-02T05:47:57.053Z","0.1.0":"2018-04-02T05:47:57.201Z","modified":"2023-06-10T13:08:34.393Z","1.0.0":"2019-03-07T04:55:34.757Z","2.0.0":"2023-06-10T13:07:46.407Z"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"description":"Styled box component for Ink","homepage":"https://github.com/sindresorhus/ink-box#readme","keywords":["ink-component","ink","component","box","boxen","boxes","border","react","jsx","terminal","term","console","command-line"],"repository":{"type":"git","url":"git+https://github.com/sindresorhus/ink-box.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"bugs":{"url":"https://github.com/sindresorhus/ink-box/issues"},"license":"MIT","readme":"This is deprecated as Ink has a builtin `Box` component now.\n\n---\n\n# ink-box\n\n> Styled box component for [Ink](https://github.com/vadimdemedes/ink)\n\n![](screenshot.png)\n\n\n## Install\n\n```\n$ npm install ink-box\n```\n\n\n## Usage\n\n```js\nimport React from 'react';\nimport {render, Color} from 'ink';\nimport Box from 'ink-box';\n\nrender(\n\t<Box borderStyle=\"round\" borderColor=\"cyan\" float=\"center\" padding={1}>\n\t\tI Love <Color magenta>Unicorns</Color>\n\t</Box>\n);\n```\n\n\n## API\n\n### `<Box>`\n\nProps are passed as options to [`boxen`](https://github.com/sindresorhus/boxen#options).\n\n\n## Related\n\n- [ink-gradient](https://github.com/sindresorhus/ink-gradient) - Gradient color component for Ink\n- [ink-link](https://github.com/sindresorhus/ink-link) - Link component for Ink\n- [ink-big-text](https://github.com/sindresorhus/ink-big-text) - Awesome text component for Ink\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n","readmeFilename":"readme.md","users":{"flumpus-dev":true}}