# @john-yuan/dev-browserify-watcher

> A browserify watcher

Latest version **1.0.6** (published 2019-02-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install @john-yuan/dev-browserify-watcher
pnpm add @john-yuan/dev-browserify-watcher
yarn add @john-yuan/dev-browserify-watcher
bun add @john-yuan/dev-browserify-watcher
```

## 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.6 |
| Published | 2019-02-18 |
| First published | 2019-01-31 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 6 |
| Unpacked size | 5.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | JOHN YUAN |
| Maintainers | john-yuan |
| Keywords | browserify, watcher |

## Links

- npm: https://www.npmjs.com/package/@john-yuan/dev-browserify-watcher
- Repository: https://github.com/john-yuan/dev-browserify-watcher
- Homepage: https://github.com/john-yuan/dev-browserify-watcher#readme
- Issues: https://github.com/john-yuan/dev-browserify-watcher/issues
- npm.io page: https://npm.io/package/@john-yuan/dev-browserify-watcher

## Dependencies (6)

- [colors](https://npm.io/package/colors.md) ^1.3.3
- [chokidar](https://npm.io/package/chokidar.md) ^2.0.4
- [fs-extra](https://npm.io/package/fs-extra.md) ^7.0.1
- [timepoint](https://npm.io/package/timepoint.md) ^0.0.2
- [browserify](https://npm.io/package/browserify.md) ^16.2.3
- [@john-yuan/dev-simple-logger](https://npm.io/package/@john-yuan/dev-simple-logger.md) ^1.0.0

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 1.0.6 (latest) — 2019-02-18
- 1.0.5 — 2019-02-02
- 1.0.4 — 2019-02-02
- 1.0.3 — 2019-02-02
- 1.0.2 — 2019-01-31
- 1.0.1 — 2019-01-31
- 1.0.0 — 2019-01-31

## README

# Browserify Watcher

This module helps you compile your files with browserify when the files changed. I try to make the API as simple as possiable so that I can start a new project quickly with the help of this module. I have published this module to [npm][npm-repo] with the scope of my user name. You can treat it as a private module with the public access. This module is not tested so carefully. Keep this in mind, before you may use it. Below is an example:

[npm-repo]: https://www.npmjs.com/package/@john-yuan/dev-browserify-watcher

```js
var watcher = require('@john-yuan/dev-browserify-watcher');

// This function retruns an instance of `FSWatcher` that chokidar returned to it
var fsWatcher = watcher.watch({
    // The input file of browserify
    entry: 'lib/index.js',
    // The output file
    output: 'dist/bundle.js',
    // The files to watch
    paths: 'lib/**/*.js',
    // The options pass to browserify (optional)
    browserifyOptions: {
        debug: true
    },
    // The options pass to choidar (optional)
    chokidarOptions: {},
});
```

---
_Source: https://npm.io/package/@john-yuan/dev-browserify-watcher · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
