Nuclear Package Magnet

    @isoden/promise-polyfill

    0.1.1 • Public • Published

    promise-polyfill

    npm

    reinventing the wheel ES6 Promise

    lightweight 4kb!

    Installation

    $ npm install @isoden/promise-polyfill --save
    

    Usage

    import Promise from '@isoden/promise-polyfill';
    
    new Promise((resolve) => {
      setTimeout(resolve, 1000);
    })
    .then(() => {
      console.log('after 1000ms');
    });

    Todo

    • [ ] Write test code! 📝
    • [ ] Write docs! 📝

    Development

    $ npm install
    $ npm start # watching src files
    $ npm test  # running test
    

    License

    MIT License http://isoden.mit-license.org
    Maintained by isoden

    Keywords

    none

    Install

    npm i @isoden/promise-polyfill

    DownloadsWeekly Downloads

    6

    Version

    0.1.1

    License

    MIT

    Last publish

    Collaborators

    • isoden