{"_id":"@cafeine-software/boxed-text","_rev":"6-a8f2b0ddcff52d083e25c694d6056008","name":"@cafeine-software/boxed-text","dist-tags":{"latest":"1.0.4"},"versions":{"1.0.0":{"name":"@cafeine-software/boxed-text","version":"1.0.0","keywords":["ascii","box","boxed","text","terminal","cli"],"author":{"name":"Quentin Lamamy","email":"contact@quentin-lamamy.fr"},"license":"CC BY-SA 4.0","_id":"@cafeine-software/boxed-text@1.0.0","maintainers":[{"name":"quentin_lamamy","email":"contact@quentin-lamamy.fr"}],"homepage":"https://github.com/Cafeine-Software/boxedText#readme","bugs":{"url":"https://github.com/Cafeine-Software/boxedText/issues"},"dist":{"shasum":"939942416d887d13d103ec07268aab53de353a13","tarball":"https://registry.npmjs.org/@cafeine-software/boxed-text/-/boxed-text-1.0.0.tgz","fileCount":6,"integrity":"sha512-MQvNWIMb35ft1NX2d583Ou03omvwmchRGrkenPZZB0L0wl4GqFHjvS0YRzx8nNzdpeT1yo70vjbgeeNMvtXbrw==","signatures":[{"sig":"MEQCIFw2AHp6rrJPb3d5u2soXpsEVGvoJ3ZbnEJds0BQoWGfAiAION+CUgsxkEKiEwmKorS3LIp48iOcwJYw8HNJAzH0bg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":516062},"main":"index.js","type":"module","gitHead":"03778bc2164aae72a43c56fcebaddeee7f578521","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"quentin_lamamy","email":"contact@quentin-lamamy.fr"},"repository":{"url":"git+https://github.com/Cafeine-Software/boxedText.git","type":"git"},"_npmVersion":"11.7.0","description":"Display a text in an ascii box","directories":{},"_nodeVersion":"25.2.0","dependencies":{"@cafeine-software/padcenter":"^1.0.4"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/boxed-text_1.0.0_1771842302757_0.5820786563701279","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@cafeine-software/boxed-text","version":"1.0.1","keywords":["ascii","box","boxed","text","terminal","cli"],"author":{"name":"Quentin Lamamy","email":"contact@quentin-lamamy.fr"},"license":"CC BY-SA 4.0","_id":"@cafeine-software/boxed-text@1.0.1","maintainers":[{"name":"quentin_lamamy","email":"contact@quentin-lamamy.fr"}],"homepage":"https://github.com/Cafeine-Software/boxedText#readme","bugs":{"url":"https://github.com/Cafeine-Software/boxedText/issues"},"dist":{"shasum":"2445522020fe1d4712f4821a00ae455306d5adc6","tarball":"https://registry.npmjs.org/@cafeine-software/boxed-text/-/boxed-text-1.0.1.tgz","fileCount":5,"integrity":"sha512-/FvYRF3uiVF0WgkmaJugekWO5RzZmrdQnyPy48+4fFhDQQO7dd9QilguItv4bZOzxzdo0TmcdLp9tend85N1Ag==","signatures":[{"sig":"MEUCICBtUyTHStQPEeAsIDDDweze8amwvgD4T/swuj9c5IY2AiEA1GVn+LA7N6mIQTMHXHVN9BgRTfgkncBCOd7Qo1NaYd4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":515922},"main":"index.js","type":"module","gitHead":"3571a0be62b56d9d1a081b928e3206afc230a48d","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"quentin_lamamy","email":"contact@quentin-lamamy.fr"},"repository":{"url":"git+https://github.com/Cafeine-Software/boxedText.git","type":"git"},"_npmVersion":"11.7.0","description":"Display a text in an ascii box","directories":{},"_nodeVersion":"25.2.0","dependencies":{"@cafeine-software/padcenter":"^1.0.4"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/boxed-text_1.0.1_1771842459454_0.33798303201939817","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@cafeine-software/boxed-text","version":"1.0.2","keywords":["ascii","box","boxed","text","terminal","cli"],"author":{"name":"Quentin Lamamy","email":"contact@quentin-lamamy.fr"},"license":"CC BY-SA 4.0","_id":"@cafeine-software/boxed-text@1.0.2","maintainers":[{"name":"quentin_lamamy","email":"contact@quentin-lamamy.fr"}],"homepage":"https://github.com/Cafeine-Software/boxedText#readme","bugs":{"url":"https://github.com/Cafeine-Software/boxedText/issues"},"dist":{"shasum":"f171ea2646cbe020100cef69493a76b66b75e9b5","tarball":"https://registry.npmjs.org/@cafeine-software/boxed-text/-/boxed-text-1.0.2.tgz","fileCount":5,"integrity":"sha512-aWodf60z8n7LSMdKtSdtYk6MGXRUWdhFbP+QlF4CgUj7ox0IjBPFi75wnKWXpV0eEEsETrHMqasOLvY8Hm49Yw==","signatures":[{"sig":"MEUCIQC0hq3tMsQwA8Ek4CVLLqqonbqHEItg9h4vNO7NDWBn3gIgV9KLKigXJGkv8C7W30NBkY4MY3XCZh0ccroMf/73pxk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":515939},"main":"index.js","type":"module","gitHead":"98aaff4246c5ffb1bf38aae5111dc35f1e69169c","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"quentin_lamamy","email":"contact@quentin-lamamy.fr"},"repository":{"url":"git+https://github.com/Cafeine-Software/boxedText.git","type":"git"},"_npmVersion":"11.10.1","description":"Display a text in an ascii box","directories":{},"_nodeVersion":"25.2.0","dependencies":{"@cafeine-software/padcenter":"^1.0.4"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/boxed-text_1.0.2_1771937650431_0.33947479238022904","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@cafeine-software/boxed-text","version":"1.0.3","keywords":["ascii","box","boxed","text","terminal","cli"],"author":{"name":"Quentin Lamamy","email":"contact@quentin-lamamy.fr"},"license":"MPL-2.0","_id":"@cafeine-software/boxed-text@1.0.3","maintainers":[{"name":"quentin_lamamy","email":"contact@quentin-lamamy.fr"}],"homepage":"https://github.com/Cafeine-Software/boxedText#readme","bugs":{"url":"https://github.com/Cafeine-Software/boxedText/issues"},"dist":{"shasum":"575e759c7864b4c1cbddfdf21bb61c4a80edfef7","tarball":"https://registry.npmjs.org/@cafeine-software/boxed-text/-/boxed-text-1.0.3.tgz","fileCount":4,"integrity":"sha512-aRnktSL67kohNiXMpvIETCTnGWOM6965EBsVHQMYDtE5vj0jV5w+VkyKmzlyIyAaVjVub5ROW4W8DO0bZ/cGuA==","signatures":[{"sig":"MEUCIQDqktVSzNNlPj4F9y4evKksOG1DvwEqT/6HZEYUY5QKgwIgZpPh386zdyNqdacgbS5kYggeU6V3MPrE1+ekNQPbArc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19097},"main":"index.js","type":"module","gitHead":"f11e028a3a9bd5c5fd43e03512a15f9b34f4210e","scripts":{"test":"node --test"},"_npmUser":{"name":"quentin_lamamy","email":"contact@quentin-lamamy.fr"},"repository":{"url":"git+https://github.com/Cafeine-Software/boxedText.git","type":"git"},"_npmVersion":"11.12.1","description":"Display a text in an ascii box","directories":{},"_nodeVersion":"25.9.0","dependencies":{"@cafeine-software/padcenter":"^1.0.4"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/boxed-text_1.0.3_1787048305087_0.38575316445164254","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@cafeine-software/boxed-text","version":"1.0.4","description":"Display a text in an ascii box","homepage":"https://github.com/Cafeine-Software/boxedText#readme","bugs":{"url":"https://github.com/Cafeine-Software/boxedText/issues"},"repository":{"type":"git","url":"git+https://github.com/Cafeine-Software/boxedText.git"},"author":{"name":"Quentin Lamamy","email":"contact@quentin-lamamy.fr"},"license":"MPL-2.0","type":"module","main":"boxedText.js","scripts":{"test":"node --test"},"dependencies":{"@cafeine-software/padcenter":"^1.0.4"},"keywords":["ascii","box","boxed","text","terminal","cli"],"gitHead":"8d2823ff81eb3852cee2b0551c502f9d9e0bc8de","_id":"@cafeine-software/boxed-text@1.0.4","_nodeVersion":"25.9.0","_npmVersion":"11.12.1","dist":{"integrity":"sha512-oNFTUVSXxeBmEX7KHgBOEf7nEASgOYCL6/Y2edK8F01+qY5CPLA31OpA66PhpQFC7QWuVEQeQl96x1nFGcAeXQ==","shasum":"5917f4e01ffaba7d0222599374235d279651bbd9","tarball":"https://registry.npmjs.org/@cafeine-software/boxed-text/-/boxed-text-1.0.4.tgz","fileCount":4,"unpackedSize":20446,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIBvDSXrdg77IyW6FuksQXpyOXRj0F/xEUmtLl7vr8lPqAiEAn6h/cN74oFR5XDn4W0OQaZAaxeD/Up2dwJaNJuHOTk0="}]},"_npmUser":{"name":"quentin_lamamy","email":"contact@quentin-lamamy.fr"},"directories":{},"maintainers":[{"name":"quentin_lamamy","email":"contact@quentin-lamamy.fr"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/boxed-text_1.0.4_1787334532713_0.2117321476316707"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-23T10:25:02.756Z","modified":"2026-08-21T17:48:53.011Z","1.0.0":"2026-02-23T10:25:02.968Z","1.0.1":"2026-02-23T10:27:39.641Z","1.0.2":"2026-02-24T12:54:10.595Z","1.0.3":"2026-08-18T10:18:25.231Z","1.0.4":"2026-08-21T17:48:52.841Z"},"bugs":{"url":"https://github.com/Cafeine-Software/boxedText/issues"},"author":{"name":"Quentin Lamamy","email":"contact@quentin-lamamy.fr"},"license":"MPL-2.0","homepage":"https://github.com/Cafeine-Software/boxedText#readme","keywords":["ascii","box","boxed","text","terminal","cli"],"repository":{"type":"git","url":"git+https://github.com/Cafeine-Software/boxedText.git"},"description":"Display a text in an ascii box","maintainers":[{"name":"quentin_lamamy","email":"contact@quentin-lamamy.fr"}],"readme":"<div align=\"center\">\n\n<img src=\"media/logo.png\" alt=\"boxedText Logo\" width=\"300\"/>\n    \n[![NodeJS Badge](https://img.shields.io/badge/Node.js-43853D?style=for-the-badge&logo=node.js&logoColor=white)](https://nodejs.org/en)[![Npm Badge](https://img.shields.io/badge/npm-red?style=for-the-badge&logo=npm&logoColor=white)](https://www.npmjs.com/package/@cafeine-software/boxed-text)\n\n<hr/>\n\n[Introduction](#Introduction) • [Demo](#Demo) • [Installation](#Installation) • [Usage](#Usage) • [License](#license) • [Author](#Author)<hr/>\n\n</div>\n\n<br/>\n\n## Introduction\nA lightweight utility to wrap text in customizable Unicode boxes. It automatically centers the text and can output directly to the console or return a formatted multi-line string.\n\n## Demo\n\n<img src=\"https://raw.githubusercontent.com/Cafeine-Software/boxedText/main/media/demo.png\" width=\"350\">\n\n## Installation\n```bash\nnpm i @cafeine-software/boxed-text\n```\n\n## Usage\n\n```javascript\nimport { boxedText, BOX_STYLE } from \"@cafeine-software/boxed-text\";\n\n// Display the boxed text with default style BOX_STYLE.LIGHT\nboxedText(\"Hello World\");\n\n// Get the boxed text as a string\nconst result = boxedText(\"BAR\", BOX_STYLE.HEAVY, false);\n```\n\n### Style Constant\n\nAvailable style are :\n\n* LIGHT\n* HEAVY\n* DOUBLE\n* ROUNDED\n* VERTICAL_LIGHT_&_HEAVY_TOP\n* VERTICAL_HEAVY_&_LIGHT_TOP\n* VERTICAL_LIGHT_&_DOUBLE_TOP\n* VERTICAL_DOUBLE_&_LIGHT_TOP\n\n## Test\n\n```\nnpm test\n```\n\n# Changelog\n\n- 21/08/2026 : v1.0.4 — Add test, documentation, update README\n\n# License\n\n[![Licence](https://img.shields.io/badge/MPL%202.0-00d230?style=for-the-badge&logo=mozilla&logoColor=white)](https://www.mozilla.org/en-US/MPL/2.0/)\n\n# Author\n\n[<img src=\"https://raw.githubusercontent.com/quentinlamamy/quentinlamamy/b88fe446526c98aac889c6b21611a59c41bcbc3d/media/quentinDino_opti.svg\" height=80/>](https://github.com/quentinlamamy)","readmeFilename":"README.md"}