thunkous

1.0.0 • Public • Published

thunkous

Monkeypatch that lets you easily turn any async function or method into a thunk

Loosely based on fibrous

Ex:

    fs.thunk.readFile("/tmp/hello.txt", "utf8")

is the same as

    require("thunkify")(fs.readFile)("/tmp/hello.txt", "utf8")

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    0

Package Sidebar

Install

npm i thunkous

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • ccheever