🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

ndpack-image

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ndpack-image

Package an image into a requireable module

latest
Source
npmnpm
Version
3.0.0
Version published
Maintainers
1
Created
Source

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

Keywords

ndarray

FAQs

Package last updated on 15 Nov 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts