# weboot

> Quickly and easily make a web application bootstrap program

Latest version **0.0.4** (published 2017-11-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install weboot
pnpm add weboot
yarn add weboot
bun add weboot
```

Provides the command `weboot`.

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.4 |
| Published | 2017-11-02 |
| First published | 2017-11-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | maolion |
| Maintainers | maolion |

## Links

- npm: https://www.npmjs.com/package/weboot
- Repository: https://github.com/maolion/weboot
- npm.io page: https://npm.io/package/weboot

## Dependencies (5)

- [chalk](https://npm.io/package/chalk.md) ^2.1.0
- [clime](https://npm.io/package/clime.md) ^0.5.5
- [rimraf](https://npm.io/package/rimraf.md) ^2.6.2
- [uglify-js](https://npm.io/package/uglify-js.md) ^3.1.5
- [source-map-support](https://npm.io/package/source-map-support.md) ^0.4.18

## Recent versions

- 0.0.4 (latest) — 2017-11-02
- 0.0.3 — 2017-11-02
- 0.0.2 — 2017-11-02
- 0.0.1 — 2017-11-02

## README

# Weboot

Quickly and easily make a web application bootstrap program!

## Installation

```sh
$ npm install weboot -g
# or
$ yarn global ad weboot
```

## Usage

```sh
$ weboot --help
```

## Boot script usage (if you want to do ...)

```sh
$ weboot path/to/index.html -b boot.js
```

**boot.js**

```javascript

// Invoked before resources start load
onReady(function(callback) {
  // ...
  callback(); // <-- required
});

// Invoked when the resource is loading
onProgress(function(percentage, resource) {
  // ...
});

// Invoked when the resource is load failed
onError(function(error) {
  // ...
});

// Invoked after all resources loaded
onDone(function() {
  // ...
});

```

**boot.css** [option]

```css
/* custom style code */
```

## Example

[weboot-example](https://github.com/maolion/weboot-example)

## License

MIT License.

----

**Enjoy it**

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