Skip to content

vorg/plask-wrap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

plask-wrap

stable

Plask wrapper for browserify.

It uses "browser" field in package.json to avoid requiring "plask" module in the browser and make using -i plask browserify unnecesary when bundling a pex app.

Usage

NPM

It's recommended to use is-plask together with this module

var plask = require('plask-wrap')
var isPlask = require('is-plask')

if (isPlask) {
  var canvas = plask.SkCanvas.create(1280, 720)
}

License

MIT, see LICENSE.md for details.

About

Plask wrapper for browserify

Resources

License

Stars

Watchers

Forks

Packages

No packages published