/ archiveofbelonging.org / back / node_modules / abbrev /

[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[   ]LICENSE8 years ago2.0K7375cab EXHIBTION: fix overflow ellipsis cutoff [كارل مبارك]
[TXT]README.md15 years ago499 f12eb36 documentaiton updates [كارل مبارك]
[   ]abbrev.js8 years ago1.7K 
[   ]package.json2 years ago1.4K7375cab EXHIBTION: fix overflow ellipsis cutoff [كارل مبارك]
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