{"_id":"smartwrap","_rev":"269782","name":"smartwrap","description":"Textwrap for javascript/nodejs. Correctly handles wide characters (宽字符) and emojis (😃). Wraps strings with option to break on words.","dist-tags":{"latest":"2.0.2"},"maintainers":[{"name":"tecfu","email":"help@tecfu.com"}],"time":{"modified":"2021-06-03T17:18:24.000Z","created":"2017-05-19T00:43:44.567Z","2.0.2":"2021-05-15T17:58:32.796Z","2.0.1":"2020-03-09T11:48:10.728Z","2.0.0":"2020-02-29T22:20:24.209Z","1.2.5":"2020-02-25T21:04:40.650Z","1.2.4":"2020-02-25T19:42:02.466Z","1.2.3":"2020-02-14T18:00:45.431Z","1.2.2":"2020-02-13T23:21:04.891Z","1.2.1":"2020-01-09T19:06:07.794Z","1.2.0":"2019-11-12T00:50:27.870Z","1.1.2":"2019-11-03T17:57:45.754Z","1.1.1":"2019-11-03T15:56:40.228Z","1.1.0":"2019-08-28T17:13:04.122Z","1.0.12":"2019-08-13T16:00:01.999Z","1.0.11":"2019-01-13T06:53:47.424Z","1.0.10":"2018-12-21T09:20:55.798Z","1.0.9":"2017-06-09T22:58:17.942Z","1.0.8":"2017-06-09T22:53:09.765Z","1.0.7":"2017-06-07T14:35:02.744Z","1.0.6":"2017-06-07T01:28:28.986Z","1.0.5":"2017-06-07T00:32:22.912Z","1.0.3":"2017-05-20T23:56:02.805Z","1.0.2":"2017-05-19T23:42:44.033Z","1.0.1":"2017-05-19T10:07:37.301Z","1.0.0":"2017-05-19T00:43:44.567Z"},"users":{},"author":{"name":"tecfu"},"repository":{"type":"git","url":"git+https://github.com/tecfu/smartwrap.git"},"versions":{"2.0.2":{"name":"smartwrap","version":"2.0.2","description":"Textwrap for javascript/nodejs. Correctly handles wide characters (宽字符) and emojis (😃). Wraps strings with option to break on words.","main":"src/main.js","engines":{"node":">=6"},"bin":{"smartwrap":"src/terminal-adapter.js"},"scripts":{"test":"grunt t","test-display":"grunt test-display","lint":"eslint src/*","lint-fix":"eslint src/* --fix"},"repository":{"type":"git","url":"git+https://github.com/tecfu/smartwrap.git"},"keywords":["wordwrap"],"author":{"name":"tecfu"},"license":"MIT","dependencies":{"array.prototype.flat":"^1.2.3","breakword":"^1.0.5","grapheme-splitter":"^1.0.4","strip-ansi":"^6.0.0","wcwidth":"^1.0.1","yargs":"^15.1.0"},"devDependencies":{"chai":"^4.2.0","eslint":"^6.6.0","grunt":"^1.0.4","grunt-cli":"^1.3.2","grunt-mocha-test":"^0.13.3","husky":"^4.2.3","mocha":"^5.2.0"},"gitHead":"008b5365307338776e036b3ca134b762bd00ccf7","bugs":{"url":"https://github.com/tecfu/smartwrap/issues"},"homepage":"https://github.com/tecfu/smartwrap#readme","_id":"smartwrap@2.0.2","_nodeVersion":"14.15.3","_npmVersion":"6.14.9","dist":{"shasum":"7e25d3dd58b51c6ca4aba3a9e391650ea62698a4","size":11420,"noattachment":false,"key":"/smartwrap/-/smartwrap-2.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/smartwrap/download/smartwrap-2.0.2.tgz"},"_npmUser":{"name":"tecfu","email":"help@tecfu.com"},"directories":{},"maintainers":[{"name":"tecfu","email":"help@tecfu.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smartwrap_2.0.2_1621101512664_0.0015241911938601582"},"_hasShrinkwrap":false,"publish_time":1621101512796,"_cnpm_publish_time":1621101512796},"2.0.1":{"name":"smartwrap","version":"2.0.1","description":"Textwrap for javascript/nodejs. Correctly handles wide characters (宽字符) and emojis (😃). Wraps strings with option to break on words.","main":"src/main.js","engines":{"node":">=6"},"bin":{"smartwrap":"src/terminal-adapter.js"},"scripts":{"test":"grunt t","test-display":"grunt test-display","lint":"eslint src/*","lint-fix":"eslint src/* --fix"},"repository":{"type":"git","url":"git+https://github.com/tecfu/smartwrap.git"},"keywords":["wordwrap"],"author":{"name":"tecfu"},"license":"GPL-2.0","dependencies":{"array.prototype.flat":"^1.2.3","breakword":"^1.0.5","grapheme-splitter":"^1.0.4","strip-ansi":"^6.0.0","wcwidth":"^1.0.1","yargs":"^15.1.0"},"devDependencies":{"chai":"^4.2.0","eslint":"^6.6.0","grunt":"^1.0.4","grunt-cli":"^1.3.2","grunt-mocha-test":"^0.13.3","husky":"^4.2.3","mocha":"^5.2.0"},"gitHead":"d2e16aa60fb17d4af4a74e57e9d2abbc07ecdd17","bugs":{"url":"https://github.com/tecfu/smartwrap/issues"},"homepage":"https://github.com/tecfu/smartwrap#readme","_id":"smartwrap@2.0.1","_nodeVersion":"13.8.0","_npmVersion":"6.13.2","dist":{"shasum":"f4e2fb364402207e4eac5ecec0da3864d621b423","size":16841,"noattachment":false,"key":"/smartwrap/-/smartwrap-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/smartwrap/download/smartwrap-2.0.1.tgz"},"maintainers":[{"name":"tecfu","email":"help@tecfu.com"}],"_npmUser":{"name":"tecfu","email":"help@tecfu.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smartwrap_2.0.1_1583754490621_0.08314548502225949"},"_hasShrinkwrap":false,"publish_time":1583754490728,"_cnpm_publish_time":1583754490728},"2.0.0":{"name":"smartwrap","version":"2.0.0","description":"Textwrap for javascript/nodejs. Correctly handles wide characters (宽字符) and emojis (😃). Wraps strings with option to break on words.","main":"src/main.js","engines":{"node":">=11.0.0"},"bin":{"smartwrap":"src/terminal-adapter.js"},"scripts":{"test":"grunt t","test-display":"grunt test-display","lint":"eslint src/*","lint-fix":"eslint src/* --fix"},"repository":{"type":"git","url":"git+https://github.com/tecfu/smartwrap.git"},"keywords":["wordwrap"],"author":{"name":"tecfu"},"license":"GPL-2.0","dependencies":{"breakword":"^1.0.5","grapheme-splitter":"^1.0.4","strip-ansi":"^6.0.0","wcwidth":"^1.0.1","yargs":"^15.1.0"},"devDependencies":{"chai":"^4.2.0","eslint":"^6.6.0","grunt":"^1.0.4","grunt-cli":"^1.3.2","grunt-mocha-test":"^0.13.3","husky":"^4.2.3","mocha":"^5.2.0"},"gitHead":"59e3d8d8286850e1b10289249d2089ddcb435b4d","bugs":{"url":"https://github.com/tecfu/smartwrap/issues"},"homepage":"https://github.com/tecfu/smartwrap#readme","_id":"smartwrap@2.0.0","_nodeVersion":"13.8.0","_npmVersion":"6.13.2","dist":{"shasum":"f74dedd9ebf41db63aac84a8a469a9e93b7f7e12","size":16807,"noattachment":false,"key":"/smartwrap/-/smartwrap-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/smartwrap/download/smartwrap-2.0.0.tgz"},"maintainers":[{"name":"tecfu","email":"help@tecfu.com"}],"_npmUser":{"name":"tecfu","email":"help@tecfu.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smartwrap_2.0.0_1583014823993_0.4494036246759767"},"_hasShrinkwrap":false,"publish_time":1583014824209,"_cnpm_publish_time":1583014824209,"deprecated":"Backported compatibility to node > 6"},"1.2.5":{"name":"smartwrap","version":"1.2.5","description":"Textwrap for javascript/nodejs. Correctly handles wide characters (宽字符) and emojis (😃). Wraps strings with option to break on words.","main":"src/main.js","bin":{"smartwrap":"src/terminal-adapter.js"},"scripts":{"test":"grunt t","test-display":"grunt test-display","lint":"eslint src/*","lint-fix":"eslint src/* --fix"},"repository":{"type":"git","url":"git+https://github.com/tecfu/smartwrap.git"},"keywords":["wordwrap"],"author":{"name":"tecfu"},"license":"GPL-2.0","dependencies":{"breakword":"^1.0.5","grapheme-splitter":"^1.0.4","strip-ansi":"^6.0.0","wcwidth":"^1.0.1","yargs":"^15.1.0"},"devDependencies":{"chai":"^4.2.0","eslint":"^6.6.0","grunt":"^1.0.4","grunt-cli":"^1.3.2","grunt-mocha-test":"^0.13.3","husky":"^4.2.3","mocha":"^5.2.0"},"gitHead":"7e3e1e2114ae47675be3f31ec693203f82c127d7","bugs":{"url":"https://github.com/tecfu/smartwrap/issues"},"homepage":"https://github.com/tecfu/smartwrap#readme","_id":"smartwrap@1.2.5","_nodeVersion":"13.8.0","_npmVersion":"6.13.2","dist":{"shasum":"45ee3e09ac234e5f7f17c16e916f511834f3cd23","size":17422,"noattachment":false,"key":"/smartwrap/-/smartwrap-1.2.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/smartwrap/download/smartwrap-1.2.5.tgz"},"maintainers":[{"name":"tecfu","email":"help@tecfu.com"}],"_npmUser":{"name":"tecfu","email":"help@tecfu.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smartwrap_1.2.5_1582664680503_0.9215270056533731"},"_hasShrinkwrap":false,"publish_time":1582664680650,"_cnpm_publish_time":1582664680650,"deprecated":"Backported compatibility to node > 6"},"1.2.4":{"name":"smartwrap","version":"1.2.4","description":"Textwrap for javascript/nodejs. Correctly handles wide characters (宽字符) and emojis (😃). Wraps strings with option to break on words.","main":"src/main.js","bin":{"smartwrap":"src/terminal-adapter.js"},"scripts":{"test":"grunt t","test-display":"grunt test-display","lint":"eslint src/*","lint-fix":"eslint src/* --fix"},"repository":{"type":"git","url":"git+https://github.com/tecfu/smartwrap.git"},"keywords":["wordwrap"],"author":{"name":"tecfu"},"license":"GPL-2.0","dependencies":{"breakword":"^1.0.5","grapheme-splitter":"^1.0.4","strip-ansi":"^6.0.0","wcwidth":"^1.0.1","yargs":"^15.1.0"},"devDependencies":{"chai":"^4.2.0","eslint":"^6.6.0","grunt":"^1.0.4","grunt-cli":"^1.3.2","grunt-mocha-test":"^0.13.3","husky":"^4.2.3","mocha":"^5.2.0"},"gitHead":"a50560d96d62c375e8720fec021c7c31b410264c","bugs":{"url":"https://github.com/tecfu/smartwrap/issues"},"homepage":"https://github.com/tecfu/smartwrap#readme","_id":"smartwrap@1.2.4","_nodeVersion":"13.8.0","_npmVersion":"6.13.2","dist":{"shasum":"5ca5236ec643c1a730da9743707bf6372cf06a8b","size":17418,"noattachment":false,"key":"/smartwrap/-/smartwrap-1.2.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/smartwrap/download/smartwrap-1.2.4.tgz"},"maintainers":[{"name":"tecfu","email":"help@tecfu.com"}],"_npmUser":{"name":"tecfu","email":"help@tecfu.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smartwrap_1.2.4_1582659722297_0.3255001737803187"},"_hasShrinkwrap":false,"publish_time":1582659722466,"_cnpm_publish_time":1582659722466,"deprecated":"Backported compatibility to node > 6"},"1.2.3":{"name":"smartwrap","version":"1.2.3","description":"Textwrap for javascript/nodejs. Correctly handles wide characters (宽字符) and emojis (😃). Wraps strings with option to break on words.","main":"src/main.js","bin":{"smartwrap":"src/terminal-adapter.js"},"scripts":{"test":"grunt t","test-display":"grunt test-display","lint":"eslint src/*","lint-fix":"eslint src/* --fix"},"repository":{"type":"git","url":"git+https://github.com/tecfu/smartwrap.git"},"keywords":["wordwrap"],"author":{"name":"tecfu"},"license":"GPL-2.0","dependencies":{"breakword":"^1.0.5","wcwidth":"^1.0.1","yargs":"^15.1.0"},"devDependencies":{"chai":"^4.2.0","eslint":"^6.6.0","grunt":"^1.0.4","grunt-cli":"^1.3.2","grunt-mocha-test":"^0.13.3","mocha":"^5.2.0"},"gitHead":"7cf82ea1f580c590dbe2031d16b6ad453ee44022","bugs":{"url":"https://github.com/tecfu/smartwrap/issues"},"homepage":"https://github.com/tecfu/smartwrap#readme","_id":"smartwrap@1.2.3","_nodeVersion":"12.14.1","_npmVersion":"6.13.2","dist":{"shasum":"05f6e797324be6d034465e62dc97a11601842a3b","size":15606,"noattachment":false,"key":"/smartwrap/-/smartwrap-1.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/smartwrap/download/smartwrap-1.2.3.tgz"},"maintainers":[{"name":"tecfu","email":"help@tecfu.com"}],"_npmUser":{"name":"tecfu","email":"help@tecfu.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smartwrap_1.2.3_1581703245291_0.19005961625055745"},"_hasShrinkwrap":false,"publish_time":1581703245431,"_cnpm_publish_time":1581703245431,"deprecated":"Backported compatibility to node > 6"},"1.2.2":{"name":"smartwrap","version":"1.2.2","description":"Textwrap for javascript/nodejs. Correctly handles wide characters (宽字符) and emojis (😃). Wraps strings with option to break on words.","main":"src/main.js","bin":{"smartwrap":"src/terminal-adapter.js"},"scripts":{"test":"grunt t","test-display":"grunt test-display","lint":"eslint src/*","lint-fix":"eslint src/* --fix"},"repository":{"type":"git","url":"git+https://github.com/tecfu/smartwrap.git"},"keywords":["wordwrap"],"author":{"name":"tecfu"},"license":"GPL-2.0","dependencies":{"breakword":"^1.0.5","wcwidth":"^1.0.1","yargs":"^15.1.0"},"devDependencies":{"chai":"^4.2.0","eslint":"^6.6.0","grunt":"^1.0.4","grunt-cli":"^1.3.2","grunt-mocha-test":"^0.13.3","mocha":"^5.2.0"},"gitHead":"169e25617653bdee69192f240edd01dde00d2bf4","bugs":{"url":"https://github.com/tecfu/smartwrap/issues"},"homepage":"https://github.com/tecfu/smartwrap#readme","_id":"smartwrap@1.2.2","_nodeVersion":"12.14.1","_npmVersion":"6.13.2","dist":{"shasum":"f003419acaafd52df51df3584826537eb6de4816","size":15574,"noattachment":false,"key":"/smartwrap/-/smartwrap-1.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/smartwrap/download/smartwrap-1.2.2.tgz"},"maintainers":[{"name":"tecfu","email":"help@tecfu.com"}],"_npmUser":{"name":"tecfu","email":"help@tecfu.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smartwrap_1.2.2_1581636064756_0.5232242918445937"},"_hasShrinkwrap":false,"publish_time":1581636064891,"_cnpm_publish_time":1581636064891,"deprecated":"Backported compatibility to node > 6"},"1.2.1":{"name":"smartwrap","version":"1.2.1","description":"Textwrap for javascript/nodejs. Correctly handles wide characters (宽字符) and emojis (😃). Wraps strings with option to break on words.","main":"src/main.js","bin":{"smartwrap":"src/terminal-adapter.js"},"scripts":{"test":"grunt t","test-display":"grunt test-display","lint":"eslint src/*","lint-fix":"eslint src/* --fix"},"repository":{"type":"git","url":"git+https://github.com/tecfu/smartwrap.git"},"keywords":["wordwrap"],"author":{"name":"tecfu"},"license":"GPL-2.0","dependencies":{"breakword":"^1.0.5","wcwidth":"^1.0.1","yargs":"^15.1.0"},"devDependencies":{"chai":"^4.2.0","eslint":"^6.6.0","grunt":"^1.0.4","grunt-cli":"^1.3.2","grunt-mocha-test":"^0.13.3","mocha":"^5.2.0"},"gitHead":"91001411913343da1bb083a5ecf42143b7908913","bugs":{"url":"https://github.com/tecfu/smartwrap/issues"},"homepage":"https://github.com/tecfu/smartwrap#readme","_id":"smartwrap@1.2.1","_nodeVersion":"12.9.1","_npmVersion":"6.13.2","dist":{"shasum":"d999ae117a42ab2028f5296dda2c3287e3a6b8d4","size":15186,"noattachment":false,"key":"/smartwrap/-/smartwrap-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/smartwrap/download/smartwrap-1.2.1.tgz"},"maintainers":[{"name":"tecfu","email":"help@tecfu.com"}],"_npmUser":{"name":"tecfu","email":"help@tecfu.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smartwrap_1.2.1_1578596767581_0.10480424382224429"},"_hasShrinkwrap":false,"publish_time":1578596767794,"_cnpm_publish_time":1578596767794,"deprecated":"Backported compatibility to node > 6"},"1.2.0":{"name":"smartwrap","version":"1.2.0","description":"Textwrap for javascript/nodejs. Correctly handles wide characters (宽字符) and emojis (😃). Wraps strings with option to break on words.","main":"src/main.js","bin":{"smartwrap":"src/terminal-adapter.js"},"scripts":{"test":"grunt t","test-display":"grunt test-display","lint":"eslint src/*","lint-fix":"eslint src/* --fix"},"repository":{"type":"git","url":"git+https://github.com/tecfu/smartwrap.git"},"keywords":["wordwrap"],"author":{"name":"tecfu"},"license":"GPL-2.0","dependencies":{"breakword":"^1.0.5","wcwidth":"^1.0.1","yargs":"^14.2.0"},"devDependencies":{"chai":"^4.2.0","eslint":"^6.6.0","grunt":"^1.0.4","grunt-cli":"^1.3.2","grunt-mocha-test":"^0.13.3","mocha":"^5.2.0"},"gitHead":"f6ead233ecbed3b9d6e7cb58fad1af3cf2a284f4","bugs":{"url":"https://github.com/tecfu/smartwrap/issues"},"homepage":"https://github.com/tecfu/smartwrap#readme","_id":"smartwrap@1.2.0","_nodeVersion":"12.9.1","_npmVersion":"6.10.2","dist":{"shasum":"9241ac6580326d76cde9e70ddb312cfc48a4fe00","size":15304,"noattachment":false,"key":"/smartwrap/-/smartwrap-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/smartwrap/download/smartwrap-1.2.0.tgz"},"maintainers":[{"name":"tecfu","email":"help@tecfu.com"}],"_npmUser":{"name":"tecfu","email":"help@tecfu.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smartwrap_1.2.0_1573519827750_0.33783106163552556"},"_hasShrinkwrap":false,"publish_time":1573519827870,"_cnpm_publish_time":1573519827870,"deprecated":"Backported compatibility to node > 6"},"1.1.2":{"name":"smartwrap","version":"1.1.2","description":"Textwrap for javascript/nodejs. Correctly handles wide characters (宽字符) and emojis (😃). Automatically breaks long words.","main":"src/main.js","bin":{"smartwrap":"src/terminal-adapter.js"},"scripts":{"test":"grunt t","lint":"eslint src/*","lint-fix":"eslint src/* --fix"},"repository":{"type":"git","url":"git+https://github.com/tecfu/smartwrap.git"},"keywords":["wordwrap"],"author":{"name":"tecfu"},"license":"GPL-2.0","dependencies":{"breakword":"^1.0.5","wcwidth":"^1.0.1","yargs":"^14.2.0"},"devDependencies":{"chai":"^4.2.0","eslint":"^6.6.0","grunt":"^1.0.4","grunt-cli":"^1.3.2","grunt-mocha-test":"^0.13.3","mocha":"^5.2.0"},"gitHead":"864c6c6f87633e0e3a565b83829bbe0856e5c1c2","bugs":{"url":"https://github.com/tecfu/smartwrap/issues"},"homepage":"https://github.com/tecfu/smartwrap#readme","_id":"smartwrap@1.1.2","_nodeVersion":"12.9.1","_npmVersion":"6.10.2","dist":{"shasum":"4cd43df96a6faadeeffb4a57ae1d20933f4a34db","size":14883,"noattachment":false,"key":"/smartwrap/-/smartwrap-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/smartwrap/download/smartwrap-1.1.2.tgz"},"maintainers":[{"name":"tecfu","email":"help@tecfu.com"}],"_npmUser":{"name":"tecfu","email":"help@tecfu.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smartwrap_1.1.2_1572803865637_0.42653993066933626"},"_hasShrinkwrap":false,"publish_time":1572803865754,"_cnpm_publish_time":1572803865754,"deprecated":"Backported compatibility to node > 6"},"1.1.1":{"name":"smartwrap","version":"1.1.1","description":"Textwrap for javascript/nodejs. Correctly handles wide characters (宽字符) and emojis (😃). Automatically breaks long words.","main":"src/main.js","bin":{"smartwrap":"src/terminal-adapter.js"},"scripts":{"test":"grunt t","lint":"eslint src/*","lint-fix":"eslint src/* --fix"},"repository":{"type":"git","url":"git+https://github.com/tecfu/smartwrap.git"},"keywords":["wordwrap"],"author":{"name":"tecfu"},"license":"GPL-2.0","dependencies":{"breakword":"^1.0.3","wcwidth":"^1.0.1","yargs":"^14.2.0"},"devDependencies":{"chai":"^4.2.0","eslint":"^6.6.0","grunt":"^1.0.4","grunt-cli":"^1.3.2","grunt-mocha-test":"^0.13.3","mocha":"^5.2.0"},"gitHead":"7bc7db15ee24fce1eb3f2813c40b6a5021fdd147","bugs":{"url":"https://github.com/tecfu/smartwrap/issues"},"homepage":"https://github.com/tecfu/smartwrap#readme","_id":"smartwrap@1.1.1","_nodeVersion":"12.9.1","_npmVersion":"6.10.2","dist":{"shasum":"83d34f4c72fdf2f09251fdbfed6f2e3bcc8fdd1a","size":14881,"noattachment":false,"key":"/smartwrap/-/smartwrap-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/smartwrap/download/smartwrap-1.1.1.tgz"},"maintainers":[{"name":"tecfu","email":"help@tecfu.com"}],"_npmUser":{"name":"tecfu","email":"help@tecfu.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smartwrap_1.1.1_1572796600102_0.5361645402144777"},"_hasShrinkwrap":false,"publish_time":1572796600228,"_cnpm_publish_time":1572796600228,"deprecated":"Backported compatibility to node > 6"},"1.1.0":{"name":"smartwrap","version":"1.1.0","description":"Textwrap for javascript/nodejs. Correctly handles wide characters (宽字符) and emojis (😃). Automatically breaks long words.","main":"src/main.js","bin":{"smartwrap":"src/terminal-adapter.js"},"scripts":{"test":"grunt t"},"repository":{"type":"git","url":"git+https://github.com/tecfu/smartwrap.git"},"keywords":["wordwrap"],"author":{"name":"tecfu"},"license":"GPL-2.0","dependencies":{"breakword":"^1.0.3","wcwidth":"^1.0.1","yargs":"^13.3.0"},"devDependencies":{"chai":"^4.2.0","grunt":"^1.0.4","grunt-cli":"^1.3.2","grunt-mocha-test":"^0.13.3","mocha":"^5.2.0"},"gitHead":"12fc5806556a7ffaffd2f1654dd35967db50c8a9","bugs":{"url":"https://github.com/tecfu/smartwrap/issues"},"homepage":"https://github.com/tecfu/smartwrap#readme","_id":"smartwrap@1.1.0","_nodeVersion":"12.6.0","_npmVersion":"6.9.0","dist":{"shasum":"99d9dfe9be1b3beff88114a991567f523d3eab26","size":14583,"noattachment":false,"key":"/smartwrap/-/smartwrap-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/smartwrap/download/smartwrap-1.1.0.tgz"},"maintainers":[{"name":"tecfu","email":"help@tecfu.com"}],"_npmUser":{"name":"tecfu","email":"help@tecfu.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smartwrap_1.1.0_1567012383987_0.6261629706622949"},"_hasShrinkwrap":false,"publish_time":1567012384122,"_cnpm_publish_time":1567012384122,"deprecated":"Backported compatibility to node > 6"},"1.0.12":{"name":"smartwrap","version":"1.0.12","description":"Textwrap for javascript/nodejs. Correctly handles wide characters (宽字符) and emojis (😃). Automatically breaks long words.","main":"src/main.js","bin":{"smartwrap":"src/terminal-adapter.js"},"scripts":{"test":"grunt t"},"repository":{"type":"git","url":"git+https://github.com/tecfu/smartwrap.git"},"keywords":["wordwrap"],"author":{"name":"tecfu"},"license":"GPL-2.0","dependencies":{"breakword":"^1.0.3","wcwidth":"^1.0.1","yargs":"^13.3.0"},"devDependencies":{"chai":"^4.2.0","grunt":"^1.0.4","grunt-cli":"^1.3.2","grunt-mocha-test":"^0.13.3","mocha":"^5.2.0"},"gitHead":"cb2dcc7d26ba79b8fd6e415095799bb03a21f389","bugs":{"url":"https://github.com/tecfu/smartwrap/issues"},"homepage":"https://github.com/tecfu/smartwrap#readme","_id":"smartwrap@1.0.12","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"tecfu","email":"help@tecfu.com"},"dist":{"shasum":"5daa9cb00dd26ed4f8b088ac8466edb313281d85","size":14369,"noattachment":false,"key":"/smartwrap/-/smartwrap-1.0.12.tgz","tarball":"http://registry.cnpm.dingdandao.com/smartwrap/download/smartwrap-1.0.12.tgz"},"maintainers":[{"name":"tecfu","email":"help@tecfu.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smartwrap_1.0.12_1565712001788_0.6613277530613828"},"_hasShrinkwrap":false,"publish_time":1565712001999,"_cnpm_publish_time":1565712001999,"deprecated":"Backported compatibility to node > 6"},"1.0.11":{"name":"smartwrap","version":"1.0.11","description":"Textwrap for javascript/nodejs. Correctly handles wide characters (宽字符) and emojis (😃). Automatically breaks long words.","main":"src/main.js","bin":{"smartwrap":"src/terminal-adapter.js"},"scripts":{"test":"grunt t"},"repository":{"type":"git","url":"git+https://github.com/tecfu/smartwrap.git"},"keywords":["wordwrap"],"author":{"name":"tecfu"},"license":"GPL-2.0","dependencies":{"breakword":"^1.0.3","wcwidth":"^1.0.1","yargs":"^12.0.5"},"devDependencies":{"chai":"^4.2.0","grunt":"^1.0.3","grunt-cli":"^1.3.2","grunt-mocha-test":"^0.13.3","mocha":"^5.2.0"},"gitHead":"f6369b48ffd13a3a0b76fdedc334cef509fb8245","bugs":{"url":"https://github.com/tecfu/smartwrap/issues"},"homepage":"https://github.com/tecfu/smartwrap#readme","_id":"smartwrap@1.0.11","_npmVersion":"6.5.0","_nodeVersion":"10.6.0","_npmUser":{"name":"tecfu","email":"help@tecfu.com"},"dist":{"shasum":"ee8f85878bfac89c1fa4da33e0877f729a8e2a74","size":15207,"noattachment":false,"key":"/smartwrap/-/smartwrap-1.0.11.tgz","tarball":"http://registry.cnpm.dingdandao.com/smartwrap/download/smartwrap-1.0.11.tgz"},"maintainers":[{"name":"tecfu","email":"help@tecfu.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smartwrap_1.0.11_1547362427293_0.29489819440435694"},"_hasShrinkwrap":false,"publish_time":1547362427424,"_cnpm_publish_time":1547362427424,"deprecated":"Backported compatibility to node > 6"},"1.0.10":{"name":"smartwrap","version":"1.0.10","description":"Textwrap for javascript/nodejs. Correctly handles wide characters (宽字符) and emojis (😃). Automatically breaks long words.","main":"src/main.js","bin":{"smartwrap":"src/terminal-adapter.js"},"scripts":{"test":"grunt t"},"repository":{"type":"git","url":"https://www.github.com/tecfu/smartwrap.git"},"keywords":["wordwrap"],"author":{"name":"tecfu"},"license":"GPL-2.0","dependencies":{"breakword":"^1.0.3","wcwidth":"^1.0.1","yargs":"^8.0.1"},"devDependencies":{"chai":"^4.0.2","grunt":"^1.0.1","grunt-cli":"^1.2.0","grunt-mocha-test":"^0.13.2","mocha":"^3.4.1"},"gitHead":"c4b22641eeac69cc787c347c56cdae3d0465818d","_id":"smartwrap@1.0.10","_npmVersion":"6.1.0","_nodeVersion":"10.6.0","_npmUser":{"name":"tecfu","email":"help@tecfu.com"},"dist":{"shasum":"873ef350d4ee1262fed4a80a55634d86ae1faf48","size":18616,"noattachment":false,"key":"/smartwrap/-/smartwrap-1.0.10.tgz","tarball":"http://registry.cnpm.dingdandao.com/smartwrap/download/smartwrap-1.0.10.tgz"},"maintainers":[{"name":"tecfu","email":"help@tecfu.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smartwrap_1.0.10_1545384055609_0.2238030026757094"},"_hasShrinkwrap":false,"publish_time":1545384055798,"_cnpm_publish_time":1545384055798,"deprecated":"Backported compatibility to node > 6"},"1.0.9":{"name":"smartwrap","version":"1.0.9","description":"Textwrap for javascript/nodejs. Correctly handles wide characters (宽字符) and emojis (😃). Automatically breaks long words.","main":"src/main.js","bin":{"smartwrap":"src/terminal-adapter.js"},"scripts":{"test":"grunt t"},"repository":{"type":"git","url":"https://www.github.com/tecfu/smartwrap.git"},"keywords":["wordwrap"],"author":{"name":"tecfu"},"license":"GPL-2.0","dependencies":{"breakword":"^1.0.3","merge":"^1.2.0","wcwidth":"^1.0.1","yargs":"^8.0.1"},"devDependencies":{"chai":"^4.0.2","grunt":"^1.0.1","grunt-cli":"^1.2.0","grunt-mocha-test":"^0.13.2","mocha":"^3.4.1"},"gitHead":"ab058c22a171f43d6663cb09e6f95bfafc369b19","_id":"smartwrap@1.0.9","_shasum":"7001aa8331482b6fc5021574d68ef04460bb21ca","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.6.0","_npmUser":{"name":"tecfu","email":"help@tecfu.com"},"dist":{"shasum":"7001aa8331482b6fc5021574d68ef04460bb21ca","size":16244,"noattachment":false,"key":"/smartwrap/-/smartwrap-1.0.9.tgz","tarball":"http://registry.cnpm.dingdandao.com/smartwrap/download/smartwrap-1.0.9.tgz"},"maintainers":[{"name":"tecfu","email":"help@tecfu.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smartwrap-1.0.9.tgz_1497049097839_0.10545061505399644"},"directories":{},"publish_time":1497049097942,"_cnpm_publish_time":1497049097942,"_hasShrinkwrap":false,"deprecated":"Backported compatibility to node > 6"},"1.0.8":{"name":"smartwrap","version":"1.0.8","description":"Textwrap for javascript/nodejs. Correctly handles wide characters (宽字符) and emojis (😃). Automatically breaks long words.","main":"dist/main.js","bin":{"smartwrap":"dist/terminal-adapter.js"},"scripts":{"test":"grunt t"},"repository":{"type":"git","url":"https://www.github.com/tecfu/smartwrap.git"},"keywords":["wordwrap"],"author":{"name":"tecfu"},"license":"GPL-2.0","dependencies":{"breakword":"^1.0.3","merge":"^1.2.0","wcwidth":"^1.0.1","yargs":"^8.0.1"},"devDependencies":{"chai":"^4.0.2","grunt":"^1.0.1","grunt-cli":"^1.2.0","grunt-mocha-test":"^0.13.2","mocha":"^3.4.1"},"gitHead":"1f15b04132e98e58c26039a7e7712bcfae9377f3","_id":"smartwrap@1.0.8","_shasum":"da05d48c6aac8aafe9c265c71071b18e1b69c5fd","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.6.0","_npmUser":{"name":"tecfu","email":"help@tecfu.com"},"dist":{"shasum":"da05d48c6aac8aafe9c265c71071b18e1b69c5fd","size":16232,"noattachment":false,"key":"/smartwrap/-/smartwrap-1.0.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/smartwrap/download/smartwrap-1.0.8.tgz"},"maintainers":[{"name":"tecfu","email":"help@tecfu.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smartwrap-1.0.8.tgz_1497048789630_0.6567838962655514"},"directories":{},"publish_time":1497048789765,"_hasShrinkwrap":false,"_cnpm_publish_time":1497048789765,"deprecated":"Backported compatibility to node > 6"},"1.0.7":{"name":"smartwrap","version":"1.0.7","description":"Wordwrap that doesn't split words unless the word length is greater that the line width.","main":"src/main.js","bin":{"smartwrap":"src/terminal-adapter.js"},"scripts":{"test":"grunt t"},"repository":{"type":"git","url":"https://www.github.com/tecfu/smartwrap.git"},"keywords":["wordwrap"],"author":{"name":"tecfu"},"license":"ISC","dependencies":{"breakword":"^1.0.3","merge":"^1.2.0","yargs":"^8.0.1"},"devDependencies":{"grunt-mocha-test":"^0.13.2","mocha":"^3.4.1"},"gitHead":"4c244c38a7fa3f910a4a5bb02b6b8429d601e949","_id":"smartwrap@1.0.7","_shasum":"cd142bf3249e38955823ce23961e10dca3f47433","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.6.0","_npmUser":{"name":"tecfu","email":"help@tecfu.com"},"dist":{"shasum":"cd142bf3249e38955823ce23961e10dca3f47433","size":14483,"noattachment":false,"key":"/smartwrap/-/smartwrap-1.0.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/smartwrap/download/smartwrap-1.0.7.tgz"},"maintainers":[{"name":"tecfu","email":"help@tecfu.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smartwrap-1.0.7.tgz_1496846102678_0.34531401470303535"},"directories":{},"publish_time":1496846102744,"_hasShrinkwrap":false,"_cnpm_publish_time":1496846102744,"deprecated":"Backported compatibility to node > 6"},"1.0.6":{"name":"smartwrap","version":"1.0.6","description":"Wordwrap that doesn't split words unless the word length is greater that the line width.","main":"src/main.js","bin":{"smartwrap":"src/terminal-adapter.js"},"scripts":{"test":"grunt t"},"repository":{"type":"git","url":"https://www.github.com/tecfu/smartwrap.git"},"keywords":["wordwrap"],"author":{"name":"tecfu"},"license":"ISC","dependencies":{"breakword":"^1.0.3","merge":"^1.2.0","yargs":"^8.0.1"},"devDependencies":{"grunt-mocha-test":"^0.13.2","mocha":"^3.4.1"},"gitHead":"db65901757644bab846ab9dd2dbbb3138d77998a","_id":"smartwrap@1.0.6","_shasum":"89ff1fb26f5591349890ab7bd87426ef728f980b","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.6.0","_npmUser":{"name":"tecfu","email":"help@tecfu.com"},"dist":{"shasum":"89ff1fb26f5591349890ab7bd87426ef728f980b","size":14464,"noattachment":false,"key":"/smartwrap/-/smartwrap-1.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/smartwrap/download/smartwrap-1.0.6.tgz"},"maintainers":[{"name":"tecfu","email":"help@tecfu.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smartwrap-1.0.6.tgz_1496798908688_0.24006615742109716"},"directories":{},"publish_time":1496798908986,"_hasShrinkwrap":false,"_cnpm_publish_time":1496798908986,"deprecated":"Backported compatibility to node > 6"},"1.0.5":{"name":"smartwrap","version":"1.0.5","description":"Wordwrap that doesn't split words unless the word length is greater that the line width.","main":"src/main.js","bin":{"smartwrap":"src/terminal-adapter.js"},"scripts":{"test":"grunt t"},"repository":{"type":"git","url":"https://www.github.com/tecfu/smartwrap.git"},"keywords":["wordwrap"],"author":{"name":"tecfu"},"license":"ISC","dependencies":{"breakword":"^1.0.3","merge":"^1.2.0","yargs":"^8.0.1"},"devDependencies":{"grunt-mocha-test":"^0.13.2","mocha":"^3.4.1"},"gitHead":"78df458b79cfa6b1f2026766a91e7d92d2872cf3","_id":"smartwrap@1.0.5","_shasum":"40d7792fe98fe44031b3082d2b78c62f27181961","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.6.0","_npmUser":{"name":"tecfu","email":"help@tecfu.com"},"dist":{"shasum":"40d7792fe98fe44031b3082d2b78c62f27181961","size":14166,"noattachment":false,"key":"/smartwrap/-/smartwrap-1.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/smartwrap/download/smartwrap-1.0.5.tgz"},"maintainers":[{"name":"tecfu","email":"help@tecfu.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smartwrap-1.0.5.tgz_1496795542770_0.5436942770611495"},"directories":{},"publish_time":1496795542912,"_hasShrinkwrap":false,"_cnpm_publish_time":1496795542912,"deprecated":"Backported compatibility to node > 6"},"1.0.3":{"name":"smartwrap","version":"1.0.3","description":"Wordwrap that doesn't split words unless the word length is greater that the line width.","main":"index.js","scripts":{"test":"grunt t"},"repository":{"type":"git","url":"https://www.github.com/tecfu/smartwrap.git"},"keywords":["wordwrap"],"author":{"name":"tecfu"},"license":"ISC","dependencies":{"breakword":"^1.0.3","merge":"^1.2.0"},"devDependencies":{"grunt-mocha-test":"^0.13.2","mocha":"^3.4.1"},"gitHead":"99dfd8f1f42d02a821b30ec7669b2aed15997d7c","_id":"smartwrap@1.0.3","_shasum":"4bb39a3fb0aa8446e37e5daaccfea080240ca227","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.6.0","_npmUser":{"name":"tecfu","email":"help@tecfu.com"},"dist":{"shasum":"4bb39a3fb0aa8446e37e5daaccfea080240ca227","size":12964,"noattachment":false,"key":"/smartwrap/-/smartwrap-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/smartwrap/download/smartwrap-1.0.3.tgz"},"maintainers":[{"name":"tecfu","email":"help@tecfu.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smartwrap-1.0.3.tgz_1495324562713_0.834256220376119"},"directories":{},"publish_time":1495324562805,"_hasShrinkwrap":false,"_cnpm_publish_time":1495324562805,"deprecated":"Backported compatibility to node > 6"},"1.0.2":{"name":"smartwrap","version":"1.0.2","description":"Wordwrap that doesn't split words unless the word length is greater that the line width.","main":"index.js","scripts":{"test":"grunt t"},"repository":{"type":"git","url":"https://www.github.com/tecfu/smartwrap.git"},"keywords":["wordwrap"],"author":{"name":"tecfu"},"license":"ISC","dependencies":{"breakword":"^1.0.2","merge":"^1.2.0"},"devDependencies":{"grunt-mocha-test":"^0.13.2","mocha":"^3.4.1"},"gitHead":"e9cb975ea2af54a62d788d028d7babb47415e0ed","_id":"smartwrap@1.0.2","_shasum":"c6d887e831606110bdba29a36f5fb3a55903cc38","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.6.0","_npmUser":{"name":"tecfu","email":"help@tecfu.com"},"dist":{"shasum":"c6d887e831606110bdba29a36f5fb3a55903cc38","size":12840,"noattachment":false,"key":"/smartwrap/-/smartwrap-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/smartwrap/download/smartwrap-1.0.2.tgz"},"maintainers":[{"name":"tecfu","email":"help@tecfu.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smartwrap-1.0.2.tgz_1495237363916_0.3507771643344313"},"directories":{},"publish_time":1495237364033,"_hasShrinkwrap":false,"_cnpm_publish_time":1495237364033,"deprecated":"Backported compatibility to node > 6"},"1.0.1":{"name":"smartwrap","version":"1.0.1","description":"Wordwrap that doesn't split words unless the word length is greater that the line width.","main":"index.js","scripts":{"test":"grunt t"},"repository":{"type":"git","url":"https://www.github.com/tecfu/smartwrap.git"},"keywords":["wordwrap"],"author":{"name":"tecfu"},"license":"ISC","dependencies":{"breakword":"^1.0.2","merge":"^1.2.0"},"devDependencies":{"grunt-mocha-test":"^0.13.2","mocha":"^3.4.1"},"gitHead":"a6a427b518cb0ab24f9b170502fe09ea2034490c","_id":"smartwrap@1.0.1","_shasum":"ffaeaf7b444be35b1e3893f2c3473dc41585ecc7","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.6.0","_npmUser":{"name":"tecfu","email":"help@tecfu.com"},"dist":{"shasum":"ffaeaf7b444be35b1e3893f2c3473dc41585ecc7","size":11132,"noattachment":false,"key":"/smartwrap/-/smartwrap-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/smartwrap/download/smartwrap-1.0.1.tgz"},"maintainers":[{"name":"tecfu","email":"help@tecfu.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/smartwrap-1.0.1.tgz_1495188455013_0.5342071875929832"},"directories":{},"publish_time":1495188457301,"_cnpm_publish_time":1495188457301,"_hasShrinkwrap":false,"deprecated":"Backported compatibility to node > 6"},"1.0.0":{"name":"smartwrap","version":"1.0.0","description":"Wordwrap that doesn't split words unless the word length is greater that the line width.","main":"index.js","scripts":{"test":"grunt t"},"repository":{"type":"git","url":"https://www.github.com/tecfu/smartwrap.git"},"keywords":["wordwrap"],"author":{"name":"tecfu"},"license":"ISC","dependencies":{"breakword":"^1.0.2","merge":"^1.2.0"},"devDependencies":{"grunt-mocha-test":"^0.13.2","mocha":"^3.4.1"},"gitHead":"b32c8eee600ce4518f4ffc3385cd12b1c4cce618","_id":"smartwrap@1.0.0","_shasum":"4854c4951874f04f6410f5f81469be5d7367aab9","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.6.0","_npmUser":{"name":"tecfu","email":"help@tecfu.com"},"dist":{"shasum":"4854c4951874f04f6410f5f81469be5d7367aab9","size":10960,"noattachment":false,"key":"/smartwrap/-/smartwrap-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/smartwrap/download/smartwrap-1.0.0.tgz"},"maintainers":[{"name":"tecfu","email":"help@tecfu.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/smartwrap-1.0.0.tgz_1495154624296_0.4640426516998559"},"directories":{},"publish_time":1495154624567,"_hasShrinkwrap":false,"_cnpm_publish_time":1495154624567,"deprecated":"Backported compatibility to node > 6"}},"readme":"# smartwrap\n\n[![Build Status](https://travis-ci.org/tecfu/smartwrap.svg?branch=master)](https://travis-ci.org/tecfu/smartwrap) [![Dependency Status](https://david-dm.org/tecfu/smartwrap.png)](https://david-dm.org/tecfu/smartwrap) [![NPM version](https://badge.fury.io/js/smartwrap.svg)](http://badge.fury.io/js/smartwrap)\n\nTextwrap for javascript/nodejs. Correctly handles wide characters (宽字符) and emojis (????). Optionally break words when wrapping strings.\n## Why? \n\nI needed a javascript package to correctly wrap wide characters - which have a \"length\" property value of 1 but occupy 2 or more spaces in the terminal.\n\n## Example Usages:\n\n### Terminal:\n```sh\nnpm i -g smartwrap\necho somestring you want to wrap | smartwrap --width=3 --paddingLeft=1\n```\n\n#### Output:\n```\n so\n me\n st\n ri\n ng\n yo\n u\n wa\n nt\n to\n wr\n ap\n```\n\n## Node module:\n\n### Wide Character Wrapping\n\n```js\nvar Smartwrap = require('smartwrap');\nvar exampleText1 = '宽字符';\nconsole.log(Smartwrap(exampleText1,{\n  width: 2\n}));\n```\n\n- Output:\n```\n宽\n字\n符\n```\n\n### String Wrapping\n\n```js\nlet exampleText2 = \"break at word\"\n\nconsole.log(smartwrap(exampleText2,{\n  width: 10,\n  breakword: false //default\n}))\n```\n\n- Output:\n\n```\nbreak at\nword\n```\n\n### Breaking Words When Wrapping Strings\n\n```js\nconsole.log(smartwrap(exampleText2,{\n  width: 10,\n  breakword: true\n}))\n```\n\n- Output:\n\n```\nbreak at w\nord\n```\n\n## Options\n\n```sh\n--breakword       Choose whether or not to break words when wrapping a string\n                                                                 [default: false]\n--errorChar       Placeholder for wide characters when minWidth < 2\n                                                                 [default: �]\n--minWidth        Never change this unless you are certin you are not using\n                  wide characters and you want a column 1 space wide. Then\n                  change to 1.                   [choices: 1, 2] [default: 2]\n--paddingLeft     Set the left padding of the output             [default: 0]\n--paddingRight    Set the right padding of the output            [default: 0]\n--splitAt         Characters at which to split input    [default: [\" \",\"\\t\"]]\n--trim            Trim the whitespace from end of input       [default: true]\n--width, -w       Set the line width of the output (in spaces)\n                                                     [required] [default: 10]\n```\n\n## Compatibility \n\nnode 6.0 <\n\n## License\n\n[MIT](https://opensource.org/licenses/MIT)\n\n","_attachments":{},"homepage":"https://github.com/tecfu/smartwrap#readme","bugs":{"url":"https://github.com/tecfu/smartwrap/issues"},"license":"MIT"}