{"_id":"abbreviate","_rev":"5-f37950088b073fb646bd0b2ad3ff4276","name":"abbreviate","description":"abbreviate strings in style of R: Abbreviate","dist-tags":{"latest":"0.0.3"},"versions":{"0.0.1":{"name":"abbreviate","description":"abbreviate strings in style of R: Abbreviate","version":"0.0.1","homepage":"https://github.com/paulpflug/","author":{"name":"Paul Pflugradt","email":"paul.pflugradt@gmail.com"},"repository":{"type":"git","url":"git://github.com/paulpflug/abbreviate"},"engines":{"node":"*"},"main":"lib/index.js","dependencies":{},"devDependencies":{"atom-ui-reporter":"0.0.1","chai":"^3.0.0","coffee-script":"^1.9.3","mocha":"^2.2.5","rimraf":"^2.3.1"},"keywords":["atom","log","debug"],"scripts":{"clean":"rimraf lib/ && mkdir lib","test":"mocha","prebuild":"npm run clean","build":"coffee --compile --output lib/ src/*.coffee","watch":"coffee --compile --watch --output lib/ src/*.coffee"},"gitHead":"24fa5bf48ca5fd6b3ae0b78acdfbe2f99ca85c84","bugs":{"url":"https://github.com/paulpflug/abbreviate/issues"},"_id":"abbreviate@0.0.1","_shasum":"36862eb9f49a0eaf2612943a2720e595afa56f43","_from":".","_npmVersion":"2.4.1","_nodeVersion":"1.1.0","_npmUser":{"name":"paulpflug","email":"paulpflugradt@googlemail.com"},"maintainers":[{"name":"paulpflug","email":"paulpflugradt@googlemail.com"}],"dist":{"shasum":"36862eb9f49a0eaf2612943a2720e595afa56f43","tarball":"https://registry.npmjs.org/abbreviate/-/abbreviate-0.0.1.tgz","integrity":"sha512-zHzW9Su0uGr69zUsO4CO59FeN1j4l2/rTBGWfvf+PnaWskj23yHotzBtymSt/q0EPJYk+KzdKI48IxHau+N9SQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD9itcwCwmRhR3h9t7qnlKBgajBMzSJD6/x0MfDzk70DAIgIQEgtX/L2+P47jwL4OwdrOPiQYHU/IzWvBWm0mvZme0="}]}},"0.0.2":{"name":"abbreviate","description":"abbreviate strings in style of R: Abbreviate","version":"0.0.2","homepage":"https://github.com/paulpflug/","author":{"name":"Paul Pflugradt","email":"paul.pflugradt@gmail.com"},"repository":{"type":"git","url":"git://github.com/paulpflug/abbreviate"},"engines":{"node":"*"},"main":"lib/index.js","dependencies":{},"devDependencies":{"atom-ui-reporter":"0.0.1","chai":"^3.0.0","coffee-script":"^1.9.3","mocha":"^2.2.5","rimraf":"^2.3.1"},"keywords":["atom","log","debug"],"scripts":{"clean":"rimraf lib/ && mkdir lib","test":"mocha","prebuild":"npm run clean","build":"coffee --compile --output lib/ src/*.coffee","watch":"coffee --compile --watch --output lib/ src/*.coffee"},"gitHead":"c8508b4e4ef37f3cb03f66e63f2f698fca355701","bugs":{"url":"https://github.com/paulpflug/abbreviate/issues"},"_id":"abbreviate@0.0.2","_shasum":"43d42af76ea2b99cdc21cda247e21b3caea29da8","_from":".","_npmVersion":"2.4.1","_nodeVersion":"1.1.0","_npmUser":{"name":"paulpflug","email":"paulpflugradt@googlemail.com"},"maintainers":[{"name":"paulpflug","email":"paulpflugradt@googlemail.com"}],"dist":{"shasum":"43d42af76ea2b99cdc21cda247e21b3caea29da8","tarball":"https://registry.npmjs.org/abbreviate/-/abbreviate-0.0.2.tgz","integrity":"sha512-xa5xqf1ERxN/lunmE2UeFU8AMF+nB78PjNIcuMYuYjxChvOfGvAXxKcSoJLrjebU9tAgZ2hJHEqfXRHW0pvSYQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBXdyPHcyZRQEBM2f1WzDW/xAnyU7riPT0hHvYk3FwQsAiA4QpG2PxLy/zNfXWmAlH6GI+tnzOqxOJ5vI0rLN4+GeA=="}]}},"0.0.3":{"name":"abbreviate","description":"abbreviate strings in style of R: Abbreviate","version":"0.0.3","homepage":"https://github.com/paulpflug/","author":{"name":"Paul Pflugradt","email":"paul.pflugradt@gmail.com"},"repository":{"type":"git","url":"git://github.com/paulpflug/abbreviate"},"engines":{"node":"*"},"main":"lib/index.js","dependencies":{},"devDependencies":{"atom-ui-reporter":"0.0.1","chai":"^3.0.0","coffee-script":"^1.9.3","mocha":"^2.2.5","rimraf":"^2.3.1"},"keywords":["atom","log","debug"],"scripts":{"clean":"rimraf lib/ && mkdir lib","test":"mocha","prebuild":"npm run clean","build":"coffee --compile --output lib/ src/*.coffee","watch":"coffee --compile --watch --output lib/ src/*.coffee"},"gitHead":"38081afcd989b159e43bdc8d5f7466b995580458","bugs":{"url":"https://github.com/paulpflug/abbreviate/issues"},"_id":"abbreviate@0.0.3","_shasum":"867534e515ea444f2605c08600cde35ef1bace77","_from":".","_npmVersion":"2.4.1","_nodeVersion":"1.1.0","_npmUser":{"name":"paulpflug","email":"paulpflugradt@googlemail.com"},"maintainers":[{"name":"paulpflug","email":"paulpflugradt@googlemail.com"}],"dist":{"shasum":"867534e515ea444f2605c08600cde35ef1bace77","tarball":"https://registry.npmjs.org/abbreviate/-/abbreviate-0.0.3.tgz","integrity":"sha512-8ILQXlfAxgTCxkUiGHNx3A44J8iVm4gubNBcJs005x/IQKaGNOqXQKNZYvFLSCD+M0oylsS7Yp8sg7QSFMVH1g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC7VtpmL7lxb32Wol10sNM4P0h2deasN6LT+/zqeGtI2wIhAIkQ7cqsasRbrxVsOM29uvTdmMm4v/89KNjc74V+bQ9S"}]}}},"readme":"# abbreviate\n\nabbreviate strings in style of\n[R: Abbreviate](http://stat.ethz.ch/R-manual/R-patched/library/base/html/abbreviate.html)\n\n## Install\n\n```sh\nnpm install --save abbreviate\n```\n\n## Usage\n\n```js\nabbreviate = require('abbreviate')\n\n// abbreviate(string, opts)\n// opts:\n// length (default 3)\n// keepSeparators (default false) - keeps all separators between words\n// strict (default true) - if false, overwrites length to include all words\nabbr = abbreviate('Some Important String', {length: 8})\n// abbr: 'SmImpStr'\n// which chars will be included for varying length?\n// [S,o ,m,e ,  ,I,m,p,o ,r,t ,a ,n ,t ,  ,S,t,r,i ,n ,g ]\n// [1,16,6,17,20,2,7,8,18,9,10,19,11,12,21,3,4,5,13,14,15]\n```\n## What it does\nIn this order:\n - trims the string\n - removes word separators (`/\\s\\-_,/`) (unless keepSeparators is true)\n - removes lowercase vocals\n - removes lowercase consonants\n - removes uppercase vocals\n - removes uppercase consonants and numbers\n - removes word beginnings (looks for digraphs, trigraphs and blends)\n\n## License\nCopyright (c) 2015 Paul Pflugradt\nLicensed under the MIT license.\n","maintainers":[{"name":"paulpflug","email":"paulpflugradt@googlemail.com"}],"time":{"modified":"2022-06-13T02:19:14.300Z","created":"2015-07-08T10:27:52.002Z","0.0.1":"2015-07-08T10:27:52.002Z","0.0.2":"2015-07-08T10:53:24.324Z","0.0.3":"2015-07-28T10:15:14.537Z"},"homepage":"https://github.com/paulpflug/","keywords":["atom","log","debug"],"repository":{"type":"git","url":"git://github.com/paulpflug/abbreviate"},"author":{"name":"Paul Pflugradt","email":"paul.pflugradt@gmail.com"},"bugs":{"url":"https://github.com/paulpflug/abbreviate/issues"},"readmeFilename":"README.md"}