[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[   ]LICENSE2023-10-19 15:45 2.0Kf0d2fc9 test post-receive hook [كارل مبارك]
[   ]abbrev.js2023-10-19 15:45 1.7K 
[   ]package.json2023-10-19 15:45 509 120707f added node version q18.16 to dependincies [كارل مبارك]
[TXT]README.md2023-10-19 15:45 499 15de0e0 styling, texts [كارل مبارك]
# 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.