/ student-intifada / node_modules / abbrev /

[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[   ]LICENSEa year ago2.0K 
[TXT]README.mda year ago499 595aea1 more query options + view options [كارل مبارك]
[   ]abbrev.jsa year ago1.7K 
[   ]package.jsona year ago509 afd0ccc remove unused [كارل مبارك]
README.md

abbrev-js

Just like ruby's 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.

Apache/2.4.38 (Debian) Server at www.karls.computer Port 80