npm 包搜索

搜索 npm 上的 JavaScript 依赖包

搜索 "thunk" 的结果(共 14 个)
thunky

delay the evaluation of a paramless async function and cache the result

MIT
mock-property

Given an object and a property, replaces a property descriptor (or deletes it), and returns a thunk to restore it.

MIT
gen-run

Generator Async Runner. Makes it possible to yield and wait for callbacks and thunks.

MIT
thunkify-wrap

Turn callbacks, arrays, generators, generator functions, and promises into a thunk

MIT
thunk-mocha

Enable support for generators in Mocha with backward compatibility.

MIT
thunky-with-args

Delay the evaluation of a variadic async function and cache the result

MIT
oath

Thunk-based flow control with fallback support for callbacks.

promise2thunk

Convert (transform) promise to thunk, just like was in co@3

MIT
redux-thunk

Thunk middleware for Redux.

MIT
thunks

A small and magical composer for all JavaScript asynchronous.

MIT
thunky-map

A map version of thunky

MIT
vdom-thunk

A thunk optimization for virtual-dom

thunkify-or-promisify

thunkify or promisify a callback style function

MIT
co-assert-timeout

Assert a thunk or generator's timeout co-style

MIT