# storm-load

> Lightweight promise-based script loader

Latest version **1.0.4** (published 2018-06-29) · MIT license · 0 weekly downloads

## Install

```sh
npm install storm-load
pnpm add storm-load
yarn add storm-load
bun add storm-load
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2018-06-29 |
| First published | 2016-10-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 10.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | stormid |
| Maintainers | eikeco, jon-turnbull, mjbp, stormid-admin |
| Keywords | stormid, load, script, loader, utility, component |

## Links

- npm: https://www.npmjs.com/package/storm-load
- Repository: https://github.com/stormid/storm-load
- Homepage: https://github.com/stormid/storm-load#readme
- Issues: https://github.com/stormid/storm-load/issues
- npm.io page: https://npm.io/package/storm-load

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 1.0.4 (latest) — 2018-06-29
- 1.0.3 — 2018-03-09
- 1.0.2 — 2018-02-14
- 1.0.1 — 2018-01-05
- 1.0.0 — 2017-03-17
- 0.5.1 — 2017-02-10
- 0.5.0 — 2017-02-02
- 0.4.2 — 2017-01-20
- 0.4.1 — 2017-01-20
- 0.4.0 — 2017-01-11
- 0.3.1 — 2017-01-10
- 0.3.0 — 2017-01-10
- 0.2.6 — 2017-01-09
- 0.2.5 — 2016-11-29
- 0.2.4 — 2016-11-29
- … 5 more at https://npm.io/package/storm-load/versions

## README

# Storm load

[![npm version](https://badge.fury.io/js/storm-load.svg)](https://badge.fury.io/js/storm-load)

Lightweight promise-based script loader for asynchronous and synchronous JS loading

## Example
[https://stormid.github.io/storm-load](https://stormid.github.io/storm-load)

## Usage

JS
```
npm i -S storm-load
```
either using es6 import
```
import Load from 'storm-load;

//asynchronous script loading
Load('script-name.js')
    .then(() => {
        //use loaded JS
    });

//synchronous loading
Load(['script-1.js', 'script-that-depends-on-script-1.js'], false)
    .then(() => {
        //use loaded JS
    });

```

## Tests
```
npm run test
```

## Browser support
This is module has both es6 and es5 distributions. The es6 version should be used in a workflow that transpiles.

The es5 version depends upon Promises so all evergreen browsers are supported out of the box, ie9+ is supported with polyfills. ie8+ will work with even more polyfils for Array functions and eventListeners.

## Dependencies
None

## License
MIT

---
_Source: https://npm.io/package/storm-load · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
