Skip to content

Typescript support

Compare
Choose a tag to compare
@heldr heldr released this 03 May 20:36

Fixes #21 #24

New Feature

  • Typescript support

Changes

  • datauri is no longer a class, but a promise based function
  • Stream/Event was removed in lieu of promise async/await
  • encodeSync was moved to datauri/sync
  • Minimum support is now Node 8+

More info: https://npmjs.com/datauri