{"name":"fast-wrap-ansi","version":"0.0.1","keywords":["wrap","ansi","term","colors"],"author":{"url":"https://github.com/43081j","name":"James Garbutt"},"license":"MIT","_id":"fast-wrap-ansi@0.0.1","maintainers":[{"name":"43081j","email":"43081james@gmail.com"}],"homepage":"https://github.com/43081j/fast-wrap-ansi#readme","bugs":{"url":"https://github.com/43081j/fast-wrap-ansi/issues"},"dist":{"shasum":"b577c59298938af2e9338ce537d7cca2834a1f41","tarball":"http://registry-npm.ywwl.com/fast-wrap-ansi/download/fast-wrap-ansi-0.0.1.tgz","fileCount":5,"integrity":"sha512-HC7MXCmirEHbw+P5E9rmpIZVfQ/md3p8hJaAoZDAcjACtiOLOSxAzDUBE+GpvmbxkNdgyD2Qf2518jEXgYYZnw==","signatures":[{"sig":"MEUCID3Iz5uHkbAQycNapog93JLkYyTRkK+frEWxI293zZYUAiEA+V3FYWL9v+Ahpf7iUZfRhtLDuLAkmFtRbOXkr7SF+IQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17162,"size":4830,"noattachment":false,"key":"/fast-wrap-ansi/-/fast-wrap-ansi-0.0.1.tgz"},"main":"lib/main.js","type":"module","types":"./lib/main.d.ts","gitHead":"da332931896737db83a2e1287b0c7046d788f689","scripts":{"lint":"eslint src && prettier --check src","test":"node --test","build":"tsc","format":"prettier --write src"},"_npmUser":{"name":"43081j","email":"43081james@gmail.com"},"repository":{"url":"git+https://github.com/43081j/fast-wrap-ansi.git","type":"git"},"_npmVersion":"11.3.0","description":"A tiny and fast text wrap library which takes ANSI escapes into account.","directories":{},"_nodeVersion":"24.2.0","dependencies":{"ansi-purge":"^1.0.1","fast-string-width":"^1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.32.0","globals":"^16.3.0","prettier":"^3.6.2","@eslint/js":"^9.32.0","typescript":"^5.8.3","@types/node":"^24.1.0","typescript-eslint":"^8.38.0"},"_npmOperationalInternal":{"tmp":"tmp/fast-wrap-ansi_0.0.1_1754263703927_0.745674707005525","host":"s3://npm-registry-packages-npm-production"},"readme":"# fast-wrap-ansi\n\nWordwrap a string, taking ANSI escape codes into account.\n\nA fast, light fork of the `wrap-ansi` package.\n\n\n## Install\n\n```bash\nnpm i -S fast-wrap-ansi\n```\n\n## Usage\n\n```ts\nimport {wrapAnsi} from 'fast-wrap-ansi';\n\nconst str = 'This is a string with some \\x1b[31mANSI\\x1b[39m codes.';\nconst wrapped = wrapAnsi(str, 20);\nconsole.log(wrapped);\n```\n\n## License\n\nMIT\n","publish_time":1754263704107,"_cnpm_publish_time":1754263704107,"dist-tags":{"latest":"0.2.2"}}