{"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":"http://registry-npm.ywwl.com/ink-box/download/ink-box-2.0.0.tgz","fileCount":4,"unpackedSize":5295,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD4ZG2t01XcT7MuQ70Debd/aA+8vl4z+DYiqwHfQMXUmgIhANSE1RE0r5PPpaqV/I8Hgv3WvdzTpqyUxDmOh5BS9xaY"}],"size":2318,"noattachment":false,"key":"/ink-box/-/ink-box-2.0.0.tgz"},"_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.","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","publish_time":1686402466407,"_cnpm_publish_time":1686402466407,"dist-tags":{"latest":"2.0.0"}}