/ c4f / front / node_modules / abbrev /

[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[   ]LICENSE8 months ago2.0K 
[TXT]README.md8 months ago499  
[   ]abbrev.js8 months ago1.7K 
[   ]package.json8 months ago509  
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