Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

deferred-regl

1.2.0 • Public • Published

deferred-regl

defer operations to a regl instance

api

var defregl = require('deferred-regl')

var dregl = defregl()

Create a new fake regl instance dregl that queues all operations.

dregl.setRegl(regl)

Provide a real regl implementation and run all operations from the queue.

install

npm install deferred-regl

license

BSD

install

npm i deferred-regl

Downloadsweekly downloads

2

version

1.2.0

license

BSD

last publish

collaborators

  • avatar