@koding/getscript

0.1.0 • Public • Published

getscript

async js loader for browsers.

getscript('/example.js', function (err, res) {
  if (err) throw err; // throws URIError
  res.uri; // example.js
  res.event; // onload event
});

license

mit

/@koding/getscript/

    Package Sidebar

    Install

    npm i @koding/getscript

    Weekly Downloads

    1

    Version

    0.1.0

    License

    MIT

    Last publish

    Collaborators

    • sinan
    • sz
    • koding