sketch-polyfill-promise

0.1.0 • Public • Published

sketch-polyfill-promise

A Promise polyfill for sketch inspired by promise-polyfill. It is automatically included (when needed) when using skpm.

It takes care of keeping the script around so that Sketch won't crash when your Promise resolves.

Installation

npm i -S sketch-polyfill-promise

Usage

const Promise = require('sketch-polyfill-promise')

new Promise((resolve, reject) => {
  ...
})

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.0
    3
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.0
    3

Package Sidebar

Install

npm i sketch-polyfill-promise

Weekly Downloads

3

Version

0.1.0

License

MIT

Last publish

Collaborators

  • mathieudutour