Why?
#78 changed the API slightly: it will always return a promise where previously it would throw early.
It's a breaking change so it's also a good time to update the API to be easier to work with.
What?
Change hash signature to be:
hash(filepath: string, {
format: string,
bits: number
})
Why?
#78 changed the API slightly: it will always return a promise where previously it would throw early.
It's a breaking change so it's also a good time to update the API to be easier to work with.
What?
Change
hashsignature to be: