GitXplorerGitXplorer
k

oboe-promise

public
1 stars
0 forks
1 issues

Commits

List of commits on branch master.
Unverified
c5a4861cb7d0cfc7d22c358306a9a27187191c31

bump: 1.0.1

kkinday committed 9 years ago
Unverified
17b630fd9117094155b86937b99cd77f797505f3

chore: don’t test against Node.js v0.10

kkinday committed 9 years ago
Unverified
d1276def3207a002247a8abcc73a56c8316999a2

docs: fix tiny-es-nm link

kkinday committed 9 years ago
Unverified
f6d903feff058f107ffba8f7e470b4b4e3d2ea94

feat: oboe-promise

kkinday committed 9 years ago
Unverified
d0b8a0f1500f511fcac385fa09eadf7d6c1ca5bc

chore: init

kkinday committed 9 years ago

README

The README file for this repository.

oboe-promise

NPM version Build Status Coveralls Status Dependency Status

Oboe.js with promises

Install

npm install --save oboe-promise

Usage

The API is almost similar to original. Replace done with then and fail with catch and put run() before them.

import oboe from 'oboe-promise';

// { "apple": "banana", "foo": "bar" }
oboe('http://example.com/data.json')
	.node('foo', foo => 'baz')
	.node('apple', oboe.drop)
	.run()
	.then(console.log); // { foo: 'baz' }

Thanks

Scaffolded with the help of awesome tiny-es-nm generator.

License

MIT © Leonard Kinday