Socket
Book a DemoInstallSign in
Socket

wrap-words

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wrap-words

A word wrapping utility which correctly handles graphemes and ANSI escape codes.

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

wrap-words

Travis Codecov GitHub issues GitHub pull requests MIT License Version Try on RunKit

npm install wrap-words

A word wrapping utility which correctly handles graphemes and ANSI escape codes.

wrap-words is a little different from other word wrapping utilities in that it treats all passed in whitespace as collapsible (like HTML). This means is can also be used to re-wrap a string that had previously been wrapped.

Live Example

API Docs

FAQs

Package last updated on 08 Feb 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts