Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/calvein/add-script

A module that takes a url and a callback that will be run when the script is loaded
https://github.com/calvein/add-script

Last synced: 23 days ago
JSON representation

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

Awesome Lists containing this project

README

        

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

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