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
trans-0.5.10 template/node_modules/grunt-contrib-nodeunit/node_modules/nodeunit/node_modules/tap/node_modules/nopt/node_modules/abbrev/README.md
trans-0.5.9 template/node_modules/grunt-contrib-nodeunit/node_modules/nodeunit/node_modules/tap/node_modules/nopt/node_modules/abbrev/README.md
trans-0.5.9 template/node_modules/grunt/node_modules/nopt/node_modules/abbrev/README.md
embeditor-rails-2.0.0.beta lib/node_modules/npm/node_modules/abbrev/README.md
cssesc-source-0.1.0 vendor/node_modules/grunt/node_modules/nopt/node_modules/abbrev/README.md
cssesc-source-0.1.0 vendor/node_modules/istanbul/node_modules/abbrev/README.md