Sha256: 2581765d44e15c58a2b88ad7bc9cc5c9ee029b4b5013c06dc45d9e94e8cb2ba4

Contents?: true

Size: 499 Bytes

Versions: 226

Compression:

Stored size: 499 Bytes

Contents

# abbrev-js

Just like [ruby's Abbrev](http://apidock.com/ruby/Abbrev).

Usage:

    var abbrev = require("abbrev");
    abbrev("foo", "fool", "folding", "flop");
    
    // returns:
    { fl: 'flop'
    , flo: 'flop'
    , flop: 'flop'
    , fol: 'folding'
    , fold: 'folding'
    , foldi: 'folding'
    , foldin: 'folding'
    , folding: 'folding'
    , foo: 'foo'
    , fool: 'fool'
    }

This is handy for command-line scripts, or other cases where you want to be able to accept shorthands.

Version data entries

226 entries across 176 versions & 28 rubygems

Version Path
gulp_assets-1.0.0.pre.4 template/node_modules/gulp-sass/node_modules/node-sass/node_modules/pangyp/node_modules/nopt/node_modules/abbrev/README.md
gulp_assets-1.0.0.pre.4 template/node_modules/gulp-sass/node_modules/node-sass/node_modules/npmconf/node_modules/nopt/node_modules/abbrev/README.md
gulp_assets-1.0.0.pre.3 template/node_modules/gulp-sass/node_modules/node-sass/node_modules/pangyp/node_modules/nopt/node_modules/abbrev/README.md
gulp_assets-1.0.0.pre.3 template/node_modules/gulp-sass/node_modules/node-sass/node_modules/npmconf/node_modules/nopt/node_modules/abbrev/README.md
hooch-0.3.0 jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/nopt/node_modules/abbrev/README.md
hooch-0.2.1 jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/nopt/node_modules/abbrev/README.md
hooch-0.2.0 jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/nopt/node_modules/abbrev/README.md
hooch-0.1.0 jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/nopt/node_modules/abbrev/README.md
hooch-0.0.8 jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/nopt/node_modules/abbrev/README.md
hooch-0.0.7 jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/nopt/node_modules/abbrev/README.md
hooch-0.0.6 jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/nopt/node_modules/abbrev/README.md
entangled-0.0.16 spec/dummy/public/node_modules/phantomjs/node_modules/npmconf/node_modules/nopt/node_modules/abbrev/README.md
entangled-0.0.16 spec/dummy/public/node_modules/grunt/node_modules/nopt/node_modules/abbrev/README.md
entangled-0.0.16 spec/dummy/public/node_modules/grunt-cli/node_modules/nopt/node_modules/abbrev/README.md
entangled-0.0.16 spec/dummy/public/node_modules/bower/node_modules/abbrev/README.md
entangled-0.0.15 spec/dummy/public/node_modules/phantomjs/node_modules/npmconf/node_modules/nopt/node_modules/abbrev/README.md
entangled-0.0.15 spec/dummy/public/node_modules/grunt/node_modules/nopt/node_modules/abbrev/README.md
entangled-0.0.15 spec/dummy/public/node_modules/grunt-cli/node_modules/nopt/node_modules/abbrev/README.md
entangled-0.0.15 spec/dummy/public/node_modules/bower/node_modules/abbrev/README.md
entangled-0.0.14 spec/dummy/public/node_modules/grunt/node_modules/nopt/node_modules/abbrev/README.md