Catalog npm
PACKAGE EXPLORERView in registry

2dpixels-canvas

npm

render pixels to a canvas element

Versions collected2
Direct dependencies13From release 1.0.2
Last observed20 Oct, 19:11 UTC

README

Current package documentation

pixels-canvas

canvas renderer for pixels

npm install --save pixels-canvas

usage

toCanvas = require('pixels-canvas')

pixelsToCanvas = toCanvas(canvas)

canvas: required canvas dom element

pixelsToCanvas(pixels)

pixels: required 2d pixels

example

var toCanvas = require('pixels-canvas')

var pixelsToCanvas = toCanvas(canvas)

document.body.appendChild(canvas)

pixelsToCanvas(pixels)

for a full example, see ./example

License

The Apache License

Copyright © 2016 Michael Williams (@ahdinosaur)

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 2

Collected releases
VersionPublishedDirect dependenciesOpen version
1.0.2Registry latest28 Mar 201613
1.0.130 Jul 201513

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
ahdinosaur/2dpixels-canvas

Shared repository data · GitHub

License detected in repository
Not collected

Repository

PENDING
livejs/pixels-canvas

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 19:11 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:2533225d731f443c66670cf845cb6fc50d2b8c6fa677505b65063b9fc9158e28