add-script

1.0.1 • Public • Published

A module that takes a url and a callback that will be run when the script is loaded.

var addScript = require('add-script')
addScript(script, function() {
    // script is loaded
})

Readme

Keywords

Package Sidebar

Install

npm i add-script

Weekly Downloads

16

Version

1.0.1

License

ISC

Last publish

Collaborators

  • calvein