1.2.0 • Published 9 years ago

duri v1.2.0

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

data-uri

NPM version build status

Convert a given file into Data URI scheme.

Installation

$ make install
$ data-uri -f hello.png

or via npm (as duri):

$ npm install duri -g
$ duri -f hello.png

Usage

$ datauri -f /path/to/image.png > image.datauri
$ echo "<img src=\"$(datauri -f /path/to/image.png)\">" > image_tag.html
$ datauri -f /path/to/image.png | pbcopy

Tests

$ make test

License

MIT

1.2.0

9 years ago

1.1.0

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago