Catalog npm
Back to packageRELEASE DETAILS

1.0.2

npm

2dpixels-canvas

render pixels to a canvas element

Published28 Mar 2016
Direct dependencies13
Transitive dependenciesNot calculated

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.

Declared dependencies 13

Native requirements
13 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
generate-function
Environment
{
  "local_name": "generate-function",
  "alias": false,
  "peer_metadata": null
}
^2.0.0runtime
pixel-to-css-color
Environment
{
  "local_name": "pixel-to-css-color",
  "alias": false,
  "peer_metadata": null
}
^1.0.0runtime
browserify
Environment
{
  "local_name": "browserify",
  "alias": false,
  "peer_metadata": null
}
^10.0.0development
budo
Environment
{
  "local_name": "budo",
  "alias": false,
  "peer_metadata": null
}
^4.0.0development
gh-pages
Environment
{
  "local_name": "gh-pages",
  "alias": false,
  "peer_metadata": null
}
^0.3.0development
pull-raf
Environment
{
  "local_name": "pull-raf",
  "alias": false,
  "peer_metadata": null
}
^1.0.1development
pull-stream
Environment
{
  "local_name": "pull-stream",
  "alias": false,
  "peer_metadata": null
}
^3.2.3development
rainbow-pixels
Environment
{
  "local_name": "rainbow-pixels",
  "alias": false,
  "peer_metadata": null
}
^4.0.0development
smokestack
Environment
{
  "local_name": "smokestack",
  "alias": false,
  "peer_metadata": null
}
^3.3.0development
tap-spec
Environment
{
  "local_name": "tap-spec",
  "alias": false,
  "peer_metadata": null
}
^4.0.2development
tape
Environment
{
  "local_name": "tape",
  "alias": false,
  "peer_metadata": null
}
^4.0.0development
uglifyify
Environment
{
  "local_name": "uglifyify",
  "alias": false,
  "peer_metadata": null
}
^3.0.1development
watchify
Environment
{
  "local_name": "watchify",
  "alias": false,
  "peer_metadata": null
}
^3.1.0development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "shasum": "602f2d7e7860358475f5483f7af17fa8d5c758a6",
  "tarball": "https://registry.npmjs.org/2dpixels-canvas/-/2dpixels-canvas-1.0.2.tgz",
  "integrity": "sha512-rNBIvKaXZ2CVVfK40CmIdi5Fo3FtRCGWA/CljF5rUndPIgaveFupXl72zZpTqleN8fjkcR5xVpwwEeHM1IoG9A==",
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEQCIFtOEn7ArCIwmJEYpvgivElwfM2iCwFpRzfHcIJIib/cAiBa9ReUd+RyPV/hAb9CdsUs889BV+LfmhQyqX2rVo8C7Q=="
    }
  ]
}

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_version:9f5b98badc8bda517f5ee64f0c4a88ac0788714790ebdb4e1cf2029ff0ba6381

Other collected versions

1.0.130 JulView all collected versions →