@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

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @koding/getscript

      Weekly Downloads

      2

      Version

      0.1.0

      License

      MIT

      Last publish

      Collaborators

      • sinan
      • sz
      • koding