https://github.com/karan/oldblog
My old blog
https://github.com/karan/oldblog
Last synced: 25 days ago
JSON representation
My old blog
- Host: GitHub
- URL: https://github.com/karan/oldblog
- Owner: karan
- Created: 2013-12-31T16:13:12.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2015-11-16T15:07:56.000Z (about 10 years ago)
- Last Synced: 2025-02-12T07:10:55.936Z (11 months ago)
- Language: CSS
- Homepage:
- Size: 6.59 MB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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.