npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript.Learn more »

worklet

1.0.3 • Public • Published

Worklet

Use the CSS "houdini" API today with this easy wrapper!

Example

const worklet = require('worklet')
const element = document.getElementById('target')
 
worklet.registerPaint(element, (ctx, dimensions) => {
    ctx.fillRect(0, 0, 10, 10)
})

Keywords

none

install

npm i worklet

Downloadsweekly downloads

9

version

1.0.3

license

ISC

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability