smartwrap @1.0.11
MIT
License
No
Install Scripts
3
Dependencies
5
Dev Dependencies
14.9 KB
Package Size
Published
Textwrap for javascript/nodejs. Correctly handles wide characters (åŪ―åįŽĶ) and emojis (ð). Wraps strings with option to break on words.
Maintainers
tecfu
Keywords
wordwrap
Dependencies (3)
| Package | Constraint | Registry Status |
|---|---|---|
| yargs | ^12.0.5 | auto_approved |
| wcwidth | ^1.0.1 | auto_approved |
| breakword | ^1.0.3 | auto_approved |
Dev Dependencies (5)
| Package | Constraint | Registry Status |
|---|---|---|
| chai | ^4.2.0 | auto_approved |
| grunt | ^1.0.3 | auto_approved |
| mocha | ^5.2.0 | auto_approved |
| grunt-cli | ^1.3.2 | auto_approved |
| grunt-mocha-test | ^0.13.3 | Not imported |
Transitive Dependency Tree
53 transitive deps
max depth 8
├─
breakword
^1.0.3
â 1.0.6
├─
wcwidth
^1.0.1
â 1.0.1
├─
yargs
^12.0.5
â 12.0.5
├─
cliui
^4.0.0
â 4.1.0
├─
decamelize
^1.2.0
â 1.2.0
├─
defaults
^1.0.3
â 1.0.4
├─
find-up
^3.0.0
â 3.0.0
├─
get-caller-file
^1.0.1
├─
os-locale
^3.0.0
â 3.1.0
├─
require-directory
^2.1.1
â 2.1.1
├─
require-main-filename
^1.0.1
â 1.0.1
├─
set-blocking
^2.0.0
â 2.0.0
├─
string-width
^2.0.0
â 2.1.1
├─
wcwidth
^1.0.1
â 1.0.1
├─
which-module
^2.0.0
â 2.0.1
├─
y18n
^3.2.1 || ^4.0.0
├─
yargs-parser
^11.1.1
├─
clone
^1.0.2
â 1.0.4
├─
defaults
^1.0.3
â 1.0.4
├─
execa
^1.0.0
â 1.0.0
├─
is-fullwidth-code-point
^2.0.0
├─
lcid
^2.0.0
â 2.0.0
├─
locate-path
^3.0.0
â 3.0.0
├─
mem
^4.0.0
â 4.3.0
├─
string-width
^2.1.1
â 2.1.1
├─
strip-ansi
^4.0.0
â 4.0.0
├─
wrap-ansi
^2.0.0
â 2.1.0
├─
ansi-regex
^3.0.0
â 3.0.1
├─
clone
^1.0.2
â 1.0.4
├─
cross-spawn
^6.0.0
â 6.0.6
├─
get-stream
^4.0.0
â 4.1.0
├─
invert-kv
^2.0.0
â 2.0.0
├─
is-fullwidth-code-point
^2.0.0
├─
is-stream
^1.1.0
â 1.1.0
├─
map-age-cleaner
^0.1.1
â 0.1.3
├─
mimic-fn
^2.0.0
â 2.1.0
├─
npm-run-path
^2.0.0
├─
p-finally
^1.0.0
├─
p-is-promise
^2.0.0
â 2.1.0
├─
p-locate
^3.0.0
â 3.0.0
├─
path-exists
^3.0.0
â 3.0.0
├─
signal-exit
^3.0.0
â 3.0.7
├─
string-width
^1.0.1
â 1.0.2
├─
strip-ansi
^3.0.1
â 3.0.1
├─
strip-ansi
^4.0.0
â 4.0.0
├─
strip-eof
^1.0.0
â 1.0.0
├─
ansi-regex
^2.0.0
â 2.1.1
├─
ansi-regex
^3.0.0
â 3.0.1
├─
code-point-at
^1.0.0
â 1.1.0
├─
is-fullwidth-code-point
^1.0.0
â 1.0.0
├─
nice-try
^1.0.4
â 1.0.5
├─
p-defer
^1.0.0
├─
p-limit
^2.0.0
â 2.2.2
├─
path-key
^2.0.1
â 2.0.1
├─
pump
^3.0.0
â 3.0.4
├─
semver
^5.5.0
â 5.7.2
├─
shebang-command
^1.2.0
├─
strip-ansi
^3.0.0
â 3.0.1
├─
which
^1.2.9
â 1.3.0
├─
ansi-regex
^2.0.0
â 2.1.1
├─
end-of-stream
^1.1.0
â 1.4.5
├─
isexe
^2.0.0
â 2.0.0
├─
number-is-nan
^1.0.0
â 1.0.1
├─
once
^1.3.1
â 1.4.0
├─
p-try
^2.0.0
â 2.2.0
├─
once
^1.4.0
â 1.4.0
├─
wrappy
1
â 1.0.2
├─
wrappy
1
â 1.0.2
Changes from v1.0.10
Dependency Changes
| Change | Package | Version |
|---|---|---|
| changed | yargs | ^8.0.1 â ^12.0.5 |
File Changes
1 added
2 removed
5 modified
size delta: -8.8 KB
Commit: f6369b48ffd1 Browse source
Published to npm: