all-args-stringified

1.1.0 • Public • Published

Stringify all args as a resolver for memoization functions. Useful if you have more than one function, and one of them is an object. Works even if the arguments are functions!

#Usage:

import 'allArgsStringified' from 'all-args-stringified'
import 'memoize' from 'lodash.memoize'

export default memoize ((arg1, arg2) => arg1 + arg2Object, allArgsStringified)

Readme

Keywords

Package Sidebar

Install

npm i all-args-stringified

Weekly Downloads

3

Version

1.1.0

License

MIT

Last publish

Collaborators

  • georgebonnr