Closed ducksoupdev closed 8 years ago
Why change the entire API and break the standard Node.js convention of having the callback as the last parameter?
I did it that way because in Typescript, optional parameters cannot follow required ones. However, there is another way so I'll close the PR and send again after refactoring.
I am using your module in a typescript project and added the definition for the API. If anyone is writing typescript for node then this is a helpful addition.