Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (20 sloc) 0.947 kb
"name": "abbrev",
"version": "1.0.3",
"description": "Like ruby's abbrev module, but in js",
"author": {
"name": "Isaac Z. Schlueter",
"email": ""
"main": "./lib/abbrev.js",
"scripts": {
"test": "node lib/abbrev.js"
"repository": {
"type": "git",
"url": ""
"readme": "# abbrev-js\n\nJust like [ruby's Abbrev](\n\nUsage:\n\n var abbrev = require(\"abbrev\");\n abbrev(\"foo\", \"fool\", \"folding\", \"flop\");\n \n // returns:\n { fl: 'flop'\n , flo: 'flop'\n , flop: 'flop'\n , fol: 'folding'\n , fold: 'folding'\n , foldi: 'folding'\n , foldin: 'folding'\n , folding: 'folding'\n , foo: 'foo'\n , fool: 'fool'\n }\n\nThis is handy for command-line scripts, or other cases where you want to be able to accept shorthands.\n",
"_id": "abbrev@1.0.3",
"_from": "abbrev@1"
Jump to Line
Something went wrong with that request. Please try again.