0.0.6 • Published 9 years ago

promised-help v0.0.6

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

promised-help

Promised help is a series of helpers for native es6 promises, each helper returns another promise which can use another helper or you can resolve yourself.

This helper is great when you want to handle the resolution of your promises somewhere else in your stack (like in your page renderer).

Install

Avaliable helpers

.key(promise, key)

.key is a method which will take a promise and a key and return the value of the key.

Usage

.slice(promise, start, end)

.slice is a method which allows you to get a slice of an array that is returned by the promise

.first(promise)

.first is a method which allows you to get a the first item in an array.

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago