ndpack-image

3.0.0 • Public • Published

ndpack-image

Unpacks a base64 encoded string PNG. This is used for creating require-able images.

Usage

First, take your image and pack it into a module:

ndpack-image test.img > test.js

Then load the test image:

var myimage = require("./test.js")

If you want to publish your image on npm, be sure to add ndpack-image as a dependency.

Install

npm install ndpack-image

Credits

(c) 2014 Mikola Lysenko. MIT License

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 3.0.0
    12
    • latest

Version History

Package Sidebar

Install

npm i ndpack-image

Weekly Downloads

73

Version

3.0.0

License

MIT

Last publish

Collaborators

  • mikolalysenko