thunkifyer

0.0.3 • Public • Published

Thunkifyer

Convert stuff (arrays, objects and promises) to thunks

API

  • thunkifyer(val) - Convert val to a thunk (works for arrays, objects and promises, otherwise throws an error)
  • thunkifyer.can(val) - Returns whether val can be converted to a thunk
  • thunkifyer.is(val) - Returns if val is a thunk

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i thunkifyer

      Weekly Downloads

      3

      Version

      0.0.3

      License

      none

      Last publish

      Collaborators

      • coderpuppy
      • drewyoung1