Collapse Decorator
A decorator to collapse promises into a single pending promise to be used with async api calls.
Install
npm install collapse-decorator
Usage
; @ { return { // do something }; }
Custom Hash-Builder
Sometimes it is necessary to use a custom hash builder function, especially if objects are passed as parameters.
; @ { return { // do something }; }
This will create a hash string for an object, this is not supported by the default hash function.