Releases: data-uri/datauri
Releases · data-uri/datauri
v1.0.0
Very important
Module and Client are published as 2 different modules now. datauri and datauri-cli.
Module
- Run Async calls over an exposed Readable Stream
- [break] Async class as Default instead of Synchronous function
- [break] Move Synchronous function to
require('datauri').sync
- [break] Use native Promise (Node 0.12+)
- [break] Rename method .getCss method to .getCSS
- [new] getCSS config to return image dimensions #11
Client
- Moved to datauri-cli package
- Copy to clipboard option
- Image size (width, height, background-size) option for CSS
Plus
The entire code base was rewritten in ES2015, where Node 0.10-0.12 loads a full transpiled source and Node 4+ and optimized version.