{"_id":"wordwrapjs","_rev":"579515","name":"wordwrapjs","description":"Word-wrapping for javascript.","dist-tags":{"latest":"5.1.0","next":"2.0.0-0"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"time":{"modified":"2021-08-18T09:50:47.000Z","created":"2015-08-26T21:38:49.257Z","5.1.0":"2021-08-18T09:46:08.510Z","5.0.2":"2021-03-29T18:17:47.754Z","5.0.1":"2021-03-23T11:18:21.481Z","5.0.0":"2021-03-23T11:16:42.751Z","4.0.1":"2021-03-13T21:29:45.243Z","4.0.0":"2019-06-26T09:03:54.797Z","3.0.0":"2017-08-09T22:28:40.004Z","2.0.0":"2016-12-04T14:33:16.970Z","2.0.0-0":"2016-11-20T19:19:05.208Z","1.2.1":"2016-08-06T15:08:58.969Z","1.2.0":"2015-11-02T22:01:53.233Z","1.1.3":"2015-10-30T23:22:32.446Z","1.1.2":"2015-10-23T16:46:51.653Z","1.1.1":"2015-10-19T18:16:04.382Z","1.1.0":"2015-10-18T14:09:20.787Z","1.0.1":"2015-10-16T13:28:53.619Z","1.0.0":"2015-10-04T15:02:55.077Z","0.2.0":"2015-09-20T19:31:52.608Z","0.1.0":"2015-08-26T21:38:49.257Z"},"users":{},"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/75lb/wordwrapjs.git"},"versions":{"5.1.0":{"name":"wordwrapjs","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"5.1.0","description":"Word-wrapping for javascript.","repository":{"type":"git","url":"git+https://github.com/75lb/wordwrapjs.git"},"license":"MIT","type":"module","exports":{"import":"./index.js","require":"./dist/index.cjs"},"keywords":["word","line","wrap","text","columns","wordwrap"],"engines":{"node":">=12.17"},"scripts":{"test":"npm run dist && npm run test:ci","test:ci":"test-runner test/test.?js","docs":"jsdoc2md -t README.hbs index.js > README.md","dist":"rollup -c"},"devDependencies":{"jsdoc-to-markdown":"^7.0.1","rollup":"^2.56.2","rollup-plugin-node-resolve":"^5.2.0","test-runner":"^0.9.8"},"standard":{"ignore":["dist","tmp"],"envs":[]},"gitHead":"a56f25b228eb7bece43a8174d5574fde4bb353ff","bugs":{"url":"https://github.com/75lb/wordwrapjs/issues"},"homepage":"https://github.com/75lb/wordwrapjs#readme","_id":"wordwrapjs@5.1.0","_nodeVersion":"16.6.2","_npmVersion":"7.20.6","dist":{"shasum":"4c4d20446dcc670b14fa115ef4f8fd9947af2b3a","size":4859,"noattachment":false,"key":"/wordwrapjs/-/wordwrapjs-5.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/wordwrapjs/download/wordwrapjs-5.1.0.tgz"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"directories":{},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wordwrapjs_5.1.0_1629279968353_0.6306622538858959"},"_hasShrinkwrap":false,"publish_time":1629279968510,"_cnpm_publish_time":1629279968510},"5.0.2":{"name":"wordwrapjs","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"5.0.2","description":"Word-wrapping for javascript.","repository":{"type":"git","url":"git+https://github.com/75lb/wordwrapjs.git"},"license":"MIT","main":"index.mjs","keywords":["word","line","wrap","text","columns","wordwrap"],"engines":{"node":">=14"},"scripts":{"test":"npm run dist && test-runner test.mjs","docs":"jsdoc2md -c jsdoc.conf -t README.hbs index.mjs > README.md; echo","dist":"rollup -c"},"devDependencies":{"jsdoc-to-markdown":"^7.0.1","rollup":"^2.44.0","rollup-plugin-node-resolve":"^5.2.0","test-runner":"~0.8.14"},"dependencies":{"reduce-flatten":"^3.0.0","typical":"^6.0.1"},"gitHead":"48c3c32208c35e78dbf70a989a5a2aab69bac2ed","bugs":{"url":"https://github.com/75lb/wordwrapjs/issues"},"homepage":"https://github.com/75lb/wordwrapjs#readme","_id":"wordwrapjs@5.0.2","_nodeVersion":"15.12.0","_npmVersion":"7.6.3","dist":{"shasum":"4454587ec2bbbe9f7de138ebe23eaa21450d8593","size":6778,"noattachment":false,"key":"/wordwrapjs/-/wordwrapjs-5.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/wordwrapjs/download/wordwrapjs-5.0.2.tgz"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"directories":{},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wordwrapjs_5.0.2_1617041867583_0.10016422030491046"},"_hasShrinkwrap":false,"publish_time":1617041867754,"_cnpm_publish_time":1617041867754},"5.0.1":{"name":"wordwrapjs","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"5.0.1","description":"Word-wrapping for javascript.","repository":{"type":"git","url":"git+https://github.com/75lb/wordwrapjs.git"},"license":"MIT","main":"index.mjs","keywords":["word","line","wrap","text","columns","wordwrap"],"engines":{"node":">=14"},"scripts":{"test":"test-runner test.mjs","docs":"jsdoc2md -c jsdoc.conf -t README.hbs index.mjs > README.md; echo","dist":"rollup -c"},"devDependencies":{"jsdoc-to-markdown":"^7.0.0","rollup-plugin-node-resolve":"^5.2.0","test-runner":"~0.8.14"},"dependencies":{"reduce-flatten":"^3.0.0","typical":"^6.0.1"},"gitHead":"9b2c58cccc6925430cee290c35bb595bd2557e15","bugs":{"url":"https://github.com/75lb/wordwrapjs/issues"},"homepage":"https://github.com/75lb/wordwrapjs#readme","_id":"wordwrapjs@5.0.1","_nodeVersion":"15.12.0","_npmVersion":"7.6.3","dist":{"shasum":"44d6a332473932d71e5ea19e0c46b08bf989f8a2","size":6783,"noattachment":false,"key":"/wordwrapjs/-/wordwrapjs-5.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/wordwrapjs/download/wordwrapjs-5.0.1.tgz"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"directories":{},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wordwrapjs_5.0.1_1616498301311_0.9059258109769144"},"_hasShrinkwrap":false,"publish_time":1616498301481,"_cnpm_publish_time":1616498301481},"5.0.0":{"name":"wordwrapjs","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"5.0.0","description":"Word-wrapping for javascript.","repository":{"type":"git","url":"git+https://github.com/75lb/wordwrapjs.git"},"license":"MIT","main":"index.mjs","keywords":["word","line","wrap","text","columns","wordwrap"],"engines":{"node":">=14"},"scripts":{"test":"test-runner test.mjs","docs":"jsdoc2md -c jsdoc.conf -t README.hbs index.mjs > README.md; echo","dist":"rollup -c"},"devDependencies":{"jsdoc-to-markdown":"^7.0.0","rollup-plugin-node-resolve":"^5.2.0","test-runner":"~0.8.14"},"dependencies":{"reduce-flatten":"^3.0.0","typical":"^6.0.1"},"gitHead":"613911c56c1eb24004bef0952d47fd60b8008bce","bugs":{"url":"https://github.com/75lb/wordwrapjs/issues"},"homepage":"https://github.com/75lb/wordwrapjs#readme","_id":"wordwrapjs@5.0.0","_nodeVersion":"15.12.0","_npmVersion":"7.6.3","dist":{"shasum":"6ccd0678ccc31021edceabcb0f282640bca9bb4b","size":4021,"noattachment":false,"key":"/wordwrapjs/-/wordwrapjs-5.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/wordwrapjs/download/wordwrapjs-5.0.0.tgz"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"directories":{},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wordwrapjs_5.0.0_1616498202603_0.7853994805931896"},"_hasShrinkwrap":false,"publish_time":1616498202751,"_cnpm_publish_time":1616498202751},"4.0.1":{"name":"wordwrapjs","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"4.0.1","description":"Word-wrapping for javascript.","repository":{"type":"git","url":"git+https://github.com/75lb/wordwrapjs.git"},"license":"MIT","keywords":["word","line","wrap","text","columns","wordwrap"],"engines":{"node":">=8.0.0"},"scripts":{"test":"test-runner test.js","docs":"jsdoc2md -t README.hbs index.js > README.md; echo"},"devDependencies":{"jsdoc-to-markdown":"^7.0.0","test-runner":"~0.6.3"},"dependencies":{"reduce-flatten":"^2.0.0","typical":"^5.2.0"},"gitHead":"24bb80ff87116457e35aeda8343778818c1b7e3c","bugs":{"url":"https://github.com/75lb/wordwrapjs/issues"},"homepage":"https://github.com/75lb/wordwrapjs#readme","_id":"wordwrapjs@4.0.1","_nodeVersion":"15.11.0","_npmVersion":"7.6.0","dist":{"shasum":"d9790bccfb110a0fc7836b5ebce0937b37a8b98f","size":3723,"noattachment":false,"key":"/wordwrapjs/-/wordwrapjs-4.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/wordwrapjs/download/wordwrapjs-4.0.1.tgz"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"directories":{},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wordwrapjs_4.0.1_1615670985079_0.39869392560386663"},"_hasShrinkwrap":false,"publish_time":1615670985243,"_cnpm_publish_time":1615670985243},"4.0.0":{"name":"wordwrapjs","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"4.0.0","description":"Word-wrapping for javascript.","repository":{"type":"git","url":"git+https://github.com/75lb/wordwrapjs.git"},"license":"MIT","keywords":["word","line","wrap","text","columns","wordwrap"],"engines":{"node":">=8.0.0"},"scripts":{"test":"test-runner test.js","docs":"jsdoc2md -t README.hbs index.js > README.md; echo"},"devDependencies":{"jsdoc-to-markdown":"^5.0.0","test-runner":"~0.6.0"},"dependencies":{"reduce-flatten":"^2.0.0","typical":"^5.0.0"},"gitHead":"c1582633b330ec19779d0d05d71eb07a2d3cf954","bugs":{"url":"https://github.com/75lb/wordwrapjs/issues"},"homepage":"https://github.com/75lb/wordwrapjs#readme","_id":"wordwrapjs@4.0.0","_nodeVersion":"12.4.0","_npmVersion":"6.9.0","dist":{"shasum":"9aa9394155993476e831ba8e59fb5795ebde6800","size":3679,"noattachment":false,"key":"/wordwrapjs/-/wordwrapjs-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/wordwrapjs/download/wordwrapjs-4.0.0.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wordwrapjs_4.0.0_1561539834699_0.6719159943537396"},"_hasShrinkwrap":false,"publish_time":1561539834797,"_cnpm_publish_time":1561539834797},"3.0.0":{"name":"wordwrapjs","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"3.0.0","description":"Word-wrapping for javascript.","repository":{"type":"git","url":"git+https://github.com/75lb/wordwrapjs.git"},"license":"MIT","keywords":["word","line","wrap","text","columns","wordwrap"],"engines":{"node":">=4.0.0"},"scripts":{"test":"node test.js","docs":"jsdoc2md -t jsdoc2md/README.hbs index.js > README.md; echo"},"devDependencies":{"jsdoc-to-markdown":"^3.0.0","test-runner":"~0.4.0"},"dependencies":{"reduce-flatten":"^1.0.1","typical":"^2.6.1"},"gitHead":"c52d6e08bd6bf43deff0db6b6dc60af5e4814869","bugs":{"url":"https://github.com/75lb/wordwrapjs/issues"},"homepage":"https://github.com/75lb/wordwrapjs#readme","_id":"wordwrapjs@3.0.0","_npmVersion":"5.3.0","_nodeVersion":"8.2.1","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"dist":{"shasum":"c94c372894cadc6feb1a66bff64e1d9af92c5d1e","size":4823,"noattachment":false,"key":"/wordwrapjs/-/wordwrapjs-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/wordwrapjs/download/wordwrapjs-3.0.0.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wordwrapjs-3.0.0.tgz_1502317719034_0.4964396345894784"},"directories":{},"publish_time":1502317720004,"_hasShrinkwrap":false,"_cnpm_publish_time":1502317720004},"2.0.0":{"name":"wordwrapjs","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"2.0.0","description":"Word-wrapping for javascript.","repository":{"type":"git","url":"git+https://github.com/75lb/wordwrapjs.git"},"license":"MIT","main":"index.js","keywords":["word","line","wrap","text","columns"],"engines":{"node":">=0.12.0"},"scripts":{"test":"node test.js","docs":"jsdoc2md -t jsdoc2md/README.hbs src/lib/*.js > README.md; echo","es5":"rm -rf es5 && babel --presets babel-preset-es2015 --no-comments src --out-dir es5"},"devDependencies":{"babel-preset-es2015":"^6.18.0","core-assert":"^0.2.1","jsdoc-to-markdown":"^2.0.1","test-runner":"~0.2.5"},"dependencies":{"array-back":"^1.0.3","feature-detect-es6":"^1.3.1","reduce-flatten":"^1.0.1","typical":"^2.6.0"},"gitHead":"a2c68cf3ad0b3718000898edf63b15cebce1a47b","bugs":{"url":"https://github.com/75lb/wordwrapjs/issues"},"homepage":"https://github.com/75lb/wordwrapjs#readme","_id":"wordwrapjs@2.0.0","_shasum":"ab55f695e6118da93858fdd70c053d1c5e01ac20","_from":".","_npmVersion":"3.10.9","_nodeVersion":"7.2.0","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"dist":{"shasum":"ab55f695e6118da93858fdd70c053d1c5e01ac20","size":6384,"noattachment":false,"key":"/wordwrapjs/-/wordwrapjs-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/wordwrapjs/download/wordwrapjs-2.0.0.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/wordwrapjs-2.0.0.tgz_1480861996362_0.39469355694018304"},"directories":{},"publish_time":1480861996970,"_cnpm_publish_time":1480861996970,"_hasShrinkwrap":false},"2.0.0-0":{"name":"wordwrapjs","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"2.0.0-0","description":"Word-wrapping for javascript.","repository":{"type":"git","url":"git+https://github.com/75lb/wordwrapjs.git"},"license":"MIT","main":"index.js","keywords":["word","line","wrap","text","columns"],"engines":{"node":">=0.12.0"},"scripts":{"test":"node test.js","docs":"jsdoc2md -t jsdoc2md/README.hbs src/lib/*.js > README.md; echo","es5":"rm -rf es5 && babel --presets babel-preset-es2015 --no-comments src --out-dir es5"},"devDependencies":{"babel-preset-es2015":"^6.18.0","core-assert":"^0.2.1","jsdoc-to-markdown":"^2.0.1","test-runner":"~0.2.5"},"dependencies":{"array-back":"^1.0.3","feature-detect-es6":"^1.3.1","reduce-flatten":"^1.0.1","typical":"^2.6.0"},"gitHead":"d2dbe4eb3ba351ebfefd7a69f01e589ba05a0267","bugs":{"url":"https://github.com/75lb/wordwrapjs/issues"},"homepage":"https://github.com/75lb/wordwrapjs#readme","_id":"wordwrapjs@2.0.0-0","_shasum":"9a5ce5eaea81a9a6c867df0297cbc96ab0f58e8c","_from":".","_npmVersion":"3.10.9","_nodeVersion":"7.1.0","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"dist":{"shasum":"9a5ce5eaea81a9a6c867df0297cbc96ab0f58e8c","size":6438,"noattachment":false,"key":"/wordwrapjs/-/wordwrapjs-2.0.0-0.tgz","tarball":"http://registry.cnpm.dingdandao.com/wordwrapjs/download/wordwrapjs-2.0.0-0.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/wordwrapjs-2.0.0-0.tgz_1479669544660_0.8098076628521085"},"directories":{},"publish_time":1479669545208,"_cnpm_publish_time":1479669545208,"_hasShrinkwrap":false},"1.2.1":{"name":"wordwrapjs","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"1.2.1","description":"Word-wrapping for javascript.","repository":{"type":"git","url":"git+https://github.com/75lb/wordwrapjs.git"},"license":"MIT","main":"./lib/wordwrapjs.js","keywords":["word","line","wrap","text","columns"],"engines":{"node":">=0.10.0"},"scripts":{"test":"test-runner test/*.js","docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo"},"devDependencies":{"core-assert":"^0.2.0","jsdoc-to-markdown":"^2.0.0-alpha","test-runner":"~0.1.9"},"dependencies":{"array-back":"^1.0.3","typical":"^2.5.0"},"gitHead":"0198fc8494a794c8d8b099b9d7f7d82cc68bbbb6","bugs":{"url":"https://github.com/75lb/wordwrapjs/issues"},"homepage":"https://github.com/75lb/wordwrapjs#readme","_id":"wordwrapjs@1.2.1","_shasum":"754a5ea0664cfbff50540dc32d67bda3289fc34b","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.1","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"dist":{"shasum":"754a5ea0664cfbff50540dc32d67bda3289fc34b","size":4635,"noattachment":false,"key":"/wordwrapjs/-/wordwrapjs-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/wordwrapjs/download/wordwrapjs-1.2.1.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/wordwrapjs-1.2.1.tgz_1470496137052_0.24865823611617088"},"directories":{},"publish_time":1470496138969,"_cnpm_publish_time":1470496138969,"_hasShrinkwrap":false},"1.2.0":{"name":"wordwrapjs","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"1.2.0","description":"Word-wrapping for javascript.","repository":{"type":"git","url":"git+https://github.com/75lb/wordwrapjs.git"},"license":"MIT","main":"./lib/wordwrapjs.js","bin":{"wordwrapjs":"bin/cli.js"},"keywords":["word","line","wrap","text","columns"],"engines":{"node":">=0.10.0"},"scripts":{"test":"tape test/*.js","docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo"},"devDependencies":{"jsdoc-to-markdown":"^1.1.1","tape":"^4.2.0"},"dependencies":{"array-back":"^1.0.2","typical":"^2.3.2"},"gitHead":"1b8c9c8c46f52d6c4b75b12d57427180bb87f042","bugs":{"url":"https://github.com/75lb/wordwrapjs/issues"},"homepage":"https://github.com/75lb/wordwrapjs#readme","_id":"wordwrapjs@1.2.0","_shasum":"2aec7eda9c7bbb9cbb55cf23dde7218c3f5311e9","_from":".","_npmVersion":"3.3.11","_nodeVersion":"5.0.0","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"dist":{"shasum":"2aec7eda9c7bbb9cbb55cf23dde7218c3f5311e9","size":4677,"noattachment":false,"key":"/wordwrapjs/-/wordwrapjs-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/wordwrapjs/download/wordwrapjs-1.2.0.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"directories":{},"publish_time":1446501713233,"_cnpm_publish_time":1446501713233,"_hasShrinkwrap":false},"1.1.3":{"name":"wordwrapjs","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"1.1.3","description":"Word-wrapping for javascript.","repository":{"type":"git","url":"git+https://github.com/75lb/wordwrapjs.git"},"license":"MIT","main":"./lib/wordwrapjs.js","bin":{"wordwrapjs":"bin/cli.js"},"keywords":["word","line","wrap","text","columns"],"engines":{"node":">=0.10.0"},"scripts":{"test":"tape test/*.js","docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo"},"devDependencies":{"jsdoc-to-markdown":"^1.1.1","tape":"^4.2.0"},"dependencies":{"array-back":"^1.0.2","typical":"^2.3.2"},"gitHead":"009de52a77fd8525bb8130bbd5bdf7e2f1acd58d","bugs":{"url":"https://github.com/75lb/wordwrapjs/issues"},"homepage":"https://github.com/75lb/wordwrapjs#readme","_id":"wordwrapjs@1.1.3","_shasum":"8df2ad754dd733ac9e51b2465bb3aa90a7744b6e","_from":".","_npmVersion":"3.3.11","_nodeVersion":"5.0.0","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"dist":{"shasum":"8df2ad754dd733ac9e51b2465bb3aa90a7744b6e","size":4457,"noattachment":false,"key":"/wordwrapjs/-/wordwrapjs-1.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/wordwrapjs/download/wordwrapjs-1.1.3.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"directories":{},"publish_time":1446247352446,"_cnpm_publish_time":1446247352446,"_hasShrinkwrap":false},"1.1.2":{"name":"wordwrapjs","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"1.1.2","description":"Word-wrapping for javascript.","repository":{"type":"git","url":"git+https://github.com/75lb/wordwrapjs.git"},"license":"MIT","main":"./lib/wordwrapjs.js","bin":{"wordwrapjs":"bin/cli.js"},"keywords":["word","line","wrap","text","columns"],"engines":{"node":">=0.10.0"},"scripts":{"test":"tape test/*.js","docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo"},"devDependencies":{"jsdoc-to-markdown":"^1.1.1","tape":"^4.2.0"},"dependencies":{"array-back":"^1.0.2","typical":"^2.3.2"},"gitHead":"124d6274fbe355bdaebf902ce274557bc2a5c148","bugs":{"url":"https://github.com/75lb/wordwrapjs/issues"},"homepage":"https://github.com/75lb/wordwrapjs#readme","_id":"wordwrapjs@1.1.2","_shasum":"a7f9df51de25bd5c7059a5054ce8aa6b46f10fa0","_from":".","_npmVersion":"3.3.9","_nodeVersion":"4.2.1","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"dist":{"shasum":"a7f9df51de25bd5c7059a5054ce8aa6b46f10fa0","size":4212,"noattachment":false,"key":"/wordwrapjs/-/wordwrapjs-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/wordwrapjs/download/wordwrapjs-1.1.2.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"directories":{},"publish_time":1445618811653,"_cnpm_publish_time":1445618811653,"_hasShrinkwrap":false},"1.1.1":{"name":"wordwrapjs","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"1.1.1","description":"Word-wrapping for javascript.","repository":{"type":"git","url":"git+https://github.com/75lb/wordwrapjs.git"},"license":"MIT","main":"./lib/wordwrapjs.js","bin":{"wordwrapjs":"bin/cli.js"},"keywords":["word","line","wrap","text","columns"],"engines":{"node":">=0.10.0"},"scripts":{"test":"tape test/*.js","docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo"},"devDependencies":{"jsdoc-to-markdown":"^1.1.1","tape":"^4.2.0"},"dependencies":{"array-back":"^1.0.2","typical":"^2.3.2"},"gitHead":"36c76d8f39146e16fa93e43565cc3e9efddae151","bugs":{"url":"https://github.com/75lb/wordwrapjs/issues"},"homepage":"https://github.com/75lb/wordwrapjs#readme","_id":"wordwrapjs@1.1.1","_shasum":"ef58787f16884d60ba591fcdcac8b4577029877c","_from":".","_npmVersion":"3.3.9","_nodeVersion":"4.2.1","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"dist":{"shasum":"ef58787f16884d60ba591fcdcac8b4577029877c","size":4173,"noattachment":false,"key":"/wordwrapjs/-/wordwrapjs-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/wordwrapjs/download/wordwrapjs-1.1.1.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"directories":{},"publish_time":1445278564382,"_cnpm_publish_time":1445278564382,"_hasShrinkwrap":false},"1.1.0":{"name":"wordwrapjs","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"1.1.0","description":"Word-wrapping for javascript.","repository":{"type":"git","url":"git+https://github.com/75lb/wordwrapjs.git"},"license":"MIT","main":"./lib/wordwrapjs.js","bin":{"wordwrapjs":"bin/cli.js"},"keywords":["word","wrap","text","columns"],"engines":{"node":">=0.10.0"},"scripts":{"test":"tape test/*.js","lint":"jshint lib/*.js bin/*.js test/*.js; echo","docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo"},"devDependencies":{"jsdoc-to-markdown":"^1.1.1","tape":"^4.2.0"},"dependencies":{"array-back":"^1.0.2","typical":"^2.3.2"},"gitHead":"bab806a58f9e57b22af5329b1cf34cfa181554b9","bugs":{"url":"https://github.com/75lb/wordwrapjs/issues"},"homepage":"https://github.com/75lb/wordwrapjs#readme","_id":"wordwrapjs@1.1.0","_shasum":"c82f11077490e2f3872e58f61c5c69cfcae22add","_from":".","_npmVersion":"3.3.9","_nodeVersion":"4.2.1","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"dist":{"shasum":"c82f11077490e2f3872e58f61c5c69cfcae22add","size":3867,"noattachment":false,"key":"/wordwrapjs/-/wordwrapjs-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/wordwrapjs/download/wordwrapjs-1.1.0.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"directories":{},"publish_time":1445177360787,"_cnpm_publish_time":1445177360787,"_hasShrinkwrap":false},"1.0.1":{"name":"wordwrapjs","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"1.0.1","description":"Word-wrapping for javascript.","repository":{"type":"git","url":"git+https://github.com/75lb/wordwrapjs.git"},"license":"MIT","main":"./lib/wordwrapjs.js","bin":{"wordwrapjs":"bin/cli.js"},"keywords":["word","wrap","text","columns"],"engines":{"node":">=0.10.0"},"scripts":{"test":"tape test/*.js","lint":"jshint lib/*.js bin/*.js test/*.js; echo","docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo"},"devDependencies":{"jsdoc-to-markdown":"^1.1.1","tape":"^4.2.0"},"dependencies":{"array-back":"^1.0.2","typical":"^2.3.2"},"gitHead":"06e3b94e1185f3ad919a6e9316cd7002ea80f346","bugs":{"url":"https://github.com/75lb/wordwrapjs/issues"},"homepage":"https://github.com/75lb/wordwrapjs#readme","_id":"wordwrapjs@1.0.1","_shasum":"65d2fcc5a554065b34f08cf7b7dbd64eba76a1d5","_from":".","_npmVersion":"3.3.8","_nodeVersion":"4.2.1","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"dist":{"shasum":"65d2fcc5a554065b34f08cf7b7dbd64eba76a1d5","size":3623,"noattachment":false,"key":"/wordwrapjs/-/wordwrapjs-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/wordwrapjs/download/wordwrapjs-1.0.1.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"directories":{},"publish_time":1445002133619,"_cnpm_publish_time":1445002133619,"_hasShrinkwrap":false},"1.0.0":{"name":"wordwrapjs","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"1.0.0","description":"Word-wrapping for javascript.","repository":{"type":"git","url":"git+https://github.com/75lb/wordwrapjs.git"},"license":"MIT","main":"./lib/wordwrapjs.js","bin":{"wordwrapjs":"bin/cli.js"},"keywords":["word","wrap","text","columns"],"engines":{"node":">=0.10.0"},"scripts":{"test":"tape test/*.js","lint":"jshint lib/*.js bin/*.js test/*.js; echo","docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo"},"devDependencies":{"jsdoc-to-markdown":"^1.1.1","tape":"^4.2.0"},"dependencies":{"array-back":"^1.0.2"},"gitHead":"bf1765bc8ad99674ac8004719e47e28b3d0de57d","bugs":{"url":"https://github.com/75lb/wordwrapjs/issues"},"homepage":"https://github.com/75lb/wordwrapjs#readme","_id":"wordwrapjs@1.0.0","_shasum":"f948d62440e2bf21b2547bcfbc1b18721486f63e","_from":".","_npmVersion":"3.3.6","_nodeVersion":"4.1.1","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"dist":{"shasum":"f948d62440e2bf21b2547bcfbc1b18721486f63e","size":3348,"noattachment":false,"key":"/wordwrapjs/-/wordwrapjs-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/wordwrapjs/download/wordwrapjs-1.0.0.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"directories":{},"publish_time":1443970975077,"_cnpm_publish_time":1443970975077,"_hasShrinkwrap":false},"0.2.0":{"name":"wordwrapjs","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"0.2.0","description":"Word-wrapping for javascript.","repository":{"type":"git","url":"git+https://github.com/75lb/wordwrapjs.git"},"license":"MIT","main":"./lib/wordwrapjs.js","bin":{"wordwrapjs":"bin/cli.js"},"keywords":["word","wrap","text","columns"],"engines":{"node":">=0.10.0"},"scripts":{"test":"tape test/*.js","lint":"jshint lib/*.js bin/*.js test/*.js; echo","docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo"},"devDependencies":{"jsdoc-to-markdown":"^1.1.1","tape":"^4.2.0"},"dependencies":{"array-back":"^1.0.2"},"gitHead":"42f775310788bb4d2d372b2d769d0ff091b96413","bugs":{"url":"https://github.com/75lb/wordwrapjs/issues"},"homepage":"https://github.com/75lb/wordwrapjs#readme","_id":"wordwrapjs@0.2.0","_shasum":"83254f004c4b6bd0a75fc343beed88567e974af2","_from":".","_npmVersion":"3.3.4","_nodeVersion":"4.1.0","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"dist":{"shasum":"83254f004c4b6bd0a75fc343beed88567e974af2","size":2922,"noattachment":false,"key":"/wordwrapjs/-/wordwrapjs-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/wordwrapjs/download/wordwrapjs-0.2.0.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"directories":{},"publish_time":1442777512608,"_cnpm_publish_time":1442777512608,"_hasShrinkwrap":false},"0.1.0":{"name":"wordwrapjs","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"0.1.0","description":"wordwrapjs","repository":{"type":"git","url":"git+https://github.com/75lb/wordwrapjs.git"},"license":"MIT","main":"./lib/wordwrapjs.js","bin":{"wordwrapjs":"bin/cli.js"},"keywords":["word","wrap","text","columns"],"engines":{"node":">=0.10.0"},"scripts":{"test":"tape test/*.js","lint":"jshint lib/*.js bin/*.js test/*.js; echo","docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo"},"devDependencies":{"jsdoc-to-markdown":"^1.1.1","tape":"^4.2.0"},"gitHead":"a74454e3bca3d27aec8d23e6b387e9914ecaa296","bugs":{"url":"https://github.com/75lb/wordwrapjs/issues"},"homepage":"https://github.com/75lb/wordwrapjs#readme","_id":"wordwrapjs@0.1.0","_shasum":"f9ab607ae338029514a1b3b1a2d2ae025de0f172","_from":".","_npmVersion":"2.13.5","_nodeVersion":"0.12.7","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"dist":{"shasum":"f9ab607ae338029514a1b3b1a2d2ae025de0f172","size":2080,"noattachment":false,"key":"/wordwrapjs/-/wordwrapjs-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/wordwrapjs/download/wordwrapjs-0.1.0.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"directories":{},"publish_time":1440625129257,"_cnpm_publish_time":1440625129257,"_hasShrinkwrap":false}},"readme":"[![view on npm](https://badgen.net/npm/v/wordwrapjs)](https://www.npmjs.org/package/wordwrapjs)\n[![npm module downloads](https://badgen.net/npm/dt/wordwrapjs)](https://www.npmjs.org/package/wordwrapjs)\n[![Gihub repo dependents](https://badgen.net/github/dependents-repo/75lb/wordwrapjs)](https://github.com/75lb/wordwrapjs/network/dependents?dependent_type=REPOSITORY)\n[![Gihub package dependents](https://badgen.net/github/dependents-pkg/75lb/wordwrapjs)](https://github.com/75lb/wordwrapjs/network/dependents?dependent_type=PACKAGE)\n[![Node.js CI](https://github.com/75lb/wordwrapjs/actions/workflows/node.js.yml/badge.svg)](https://github.com/75lb/wordwrapjs/actions/workflows/node.js.yml)\n[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](https://github.com/feross/standard)\n\n# wordwrapjs\n\nWord wrapping for plain text.\n\n## Synopsis\n\nWrap some text in a 20 character column.\n\n```js\nimport wordwrap from 'wordwrapjs'\n\nconst text = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.'\nconst result = wordwrap.wrap(text, { width: 20 })\n```\n\n`result` now looks like this:\n```\nLorem ipsum dolor\nsit amet,\nconsectetur\nadipiscing elit, sed\ndo eiusmod tempor\nincididunt ut labore\net dolore magna\naliqua.\n```\n\nForce long words to wrap by setting the `break` flag.\n\n```\nWelcome to Node.js v16.6.2.\n> wrap = require('wordwrapjs')\n\n> url = 'https://github.com/75lb/wordwrapjs'\n> wrap.lines(url, { width: 18 })\n[ 'https://github.com/75lb/wordwrapjs' ]\n\n> wrap.lines(url, { width: 18, break: true })\n[ 'https://github.com', '/75lb/wordwrapjs' ]\n```\n\n## Load anywhere\n\nThis library is compatible with Node.js, the Web and any style of module loader. It can be loaded anywhere, natively without transpilation.\n\nNode.js:\n\n```js\nconst wordwrap = require('wordwrapjs')\n```\n\nWithin Node.js with ECMAScript Module support enabled:\n\n```js\nimport wordwrap from 'wordwrapjs'\n```\n\nWithin an modern browser ECMAScript Module:\n\n```js\nimport wordwrap from './node_modules/wordwrapjs/dist/index.mjs'\n```\n\nOld browser (adds `window.wordwrapjs`):\n\n```html\n<script nomodule src=\"./node_modules/wordwrapjs/dist/index.js\"></script>\n```\n\n## API Reference\n\n\n* [wordwrapjs](#module_wordwrapjs)\n    * [Wordwrap](#exp_module_wordwrapjs--Wordwrap) ⏏\n        * [new Wordwrap(text, [options])](#new_module_wordwrapjs--Wordwrap_new)\n        * _static_\n            * [.wrap(text, [options])](#module_wordwrapjs--Wordwrap.wrap)\n            * [.lines(text, [options])](#module_wordwrapjs--Wordwrap.lines)\n            * [.isWrappable(text)](#module_wordwrapjs--Wordwrap.isWrappable) ⇒ <code>boolean</code>\n            * [.getChunks(text)](#module_wordwrapjs--Wordwrap.getChunks) ⇒ <code>Array.&lt;string&gt;</code>\n        * _inner_\n            * [~WordwrapOptions](#module_wordwrapjs--Wordwrap..WordwrapOptions) : <code>Object</code>\n\n<a name=\"exp_module_wordwrapjs--Wordwrap\"></a>\n\n### Wordwrap ⏏\n**Kind**: Exported class  \n<a name=\"new_module_wordwrapjs--Wordwrap_new\"></a>\n\n#### new Wordwrap(text, [options])\n\n| Param | Type | Description |\n| --- | --- | --- |\n| text | <code>string</code> | The input text to wrap. |\n| [options] | [<code>WordwrapOptions</code>](#module_wordwrapjs--Wordwrap..WordwrapOptions) |  |\n\n<a name=\"module_wordwrapjs--Wordwrap.wrap\"></a>\n\n#### Wordwrap.wrap(text, [options])\n**Kind**: static method of [<code>Wordwrap</code>](#exp_module_wordwrapjs--Wordwrap)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| text | <code>string</code> | the input text to wrap |\n| [options] | [<code>WordwrapOptions</code>](#module_wordwrapjs--Wordwrap..WordwrapOptions) |  |\n\n<a name=\"module_wordwrapjs--Wordwrap.lines\"></a>\n\n#### Wordwrap.lines(text, [options])\nWraps the input text, returning an array of strings (lines).\n\n**Kind**: static method of [<code>Wordwrap</code>](#exp_module_wordwrapjs--Wordwrap)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| text | <code>string</code> | input text |\n| [options] | [<code>WordwrapOptions</code>](#module_wordwrapjs--Wordwrap..WordwrapOptions) |  |\n\n<a name=\"module_wordwrapjs--Wordwrap.isWrappable\"></a>\n\n#### Wordwrap.isWrappable(text) ⇒ <code>boolean</code>\nReturns true if the input text would be wrapped if passed into `.wrap()`.\n\n**Kind**: static method of [<code>Wordwrap</code>](#exp_module_wordwrapjs--Wordwrap)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| text | <code>string</code> | input text |\n\n<a name=\"module_wordwrapjs--Wordwrap.getChunks\"></a>\n\n#### Wordwrap.getChunks(text) ⇒ <code>Array.&lt;string&gt;</code>\nSplits the input text into an array of words and whitespace.\n\n**Kind**: static method of [<code>Wordwrap</code>](#exp_module_wordwrapjs--Wordwrap)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| text | <code>string</code> | input text |\n\n<a name=\"module_wordwrapjs--Wordwrap..WordwrapOptions\"></a>\n\n#### Wordwrap~WordwrapOptions : <code>Object</code>\nWordwrap options.\n\n**Kind**: inner typedef of [<code>Wordwrap</code>](#exp_module_wordwrapjs--Wordwrap)  \n**Properties**\n\n| Name | Type | Default | Description |\n| --- | --- | --- | --- |\n| [width] | <code>number</code> | <code>30</code> | The max column width in characters. |\n| [break] | <code>boolean</code> | <code>false</code> | If true, words exceeding the specified `width` will be forcefully broken |\n| [noTrim] | <code>boolean</code> | <code>false</code> | By default, each line output is trimmed. If `noTrim` is set, no line-trimming occurs - all whitespace from the input text is left in. |\n| [eol] | <code>string</code> | <code>&quot;&#x27;\\\\n&#x27;&quot;</code> | The end of line character to use. Defaults to `\\n`. |\n\n\n* * *\n\n&copy; 2015-21 Lloyd Brookes \\<75pound@gmail.com\\>. Documented by [jsdoc-to-markdown](https://github.com/jsdoc2md/jsdoc-to-markdown).\n","_attachments":{},"homepage":"https://github.com/75lb/wordwrapjs#readme","bugs":{"url":"https://github.com/75lb/wordwrapjs/issues"},"license":"MIT"}