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

/ndpack-image/

    Package Sidebar

    Install

    npm i ndpack-image

    Weekly Downloads

    85

    Version

    3.0.0

    License

    MIT

    Last publish

    Collaborators

    • mikolalysenko