https://github.com/sparkpost/on-prem-api-documentation-v4.2
This is a backup copy of the Momentum v4.2 API Documentation.
https://github.com/sparkpost/on-prem-api-documentation-v4.2
Last synced: 4 months ago
JSON representation
This is a backup copy of the Momentum v4.2 API Documentation.
- Host: GitHub
- URL: https://github.com/sparkpost/on-prem-api-documentation-v4.2
- Owner: SparkPost
- License: apache-2.0
- Created: 2015-10-05T17:23:21.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-10-05T19:51:17.000Z (over 10 years ago)
- Last Synced: 2025-05-21T08:48:51.426Z (about 1 year ago)
- Language: API Blueprint
- Size: 12.8 MB
- Stars: 0
- Watchers: 38
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: docs/CONTRIBUTING.markdown
- License: LICENSE
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.