UNPKG

wrap-ansi

Version:

Wordwrap a string with ANSI escape codes

70 lines (69 loc) 1.15 kB
{ "name": "wrap-ansi", "version": "10.0.0", "description": "Wordwrap a string with ANSI escape codes", "license": "MIT", "repository": "chalk/wrap-ansi", "funding": "https://github.com/chalk/wrap-ansi?sponsor=1", "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "https://sindresorhus.com" }, "type": "module", "exports": { "types": "./index.d.ts", "default": "./index.js" }, "engines": { "node": ">=20" }, "scripts": { "test": "xo && nyc ava && tsd" }, "files": [ "index.js", "index.d.ts" ], "keywords": [ "wrap", "break", "wordwrap", "wordbreak", "linewrap", "ansi", "styles", "color", "colour", "colors", "terminal", "console", "cli", "string", "tty", "escape", "formatting", "rgb", "256", "shell", "xterm", "log", "logging", "command-line", "text" ], "dependencies": { "ansi-styles": "^6.2.3", "string-width": "^8.2.0", "strip-ansi": "^7.1.2" }, "devDependencies": { "ava": "^6.4.1", "chalk": "^5.6.2", "coveralls": "^3.1.1", "has-ansi": "^6.0.2", "nyc": "^17.1.0", "tsd": "^0.33.0", "xo": "^1.2.3" } }