This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 400,000 packages pre-installed, including
ndpack-image with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
Unpacks a base64 encoded string PNG. This is used for creating
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.
npm install ndpack-image
(c) 2014 Mikola Lysenko. MIT License