watchpack
npmv2.5.2TypeScriptWrapper library for directory and file watching.
Safe to adopt
Yes — watchpack scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 90 days ago. 5 releases in the last 2 years.
- ?Adoption: grade ?, Not reported by this registry.
No download data reported for this package yet.
- AMaintenance: grade A, Excellent.
Last published 90 days ago. 5 releases in the last 2 years.
- AWeight: grade A, Excellent.
Pulls in 1 transitive package, about 138 KB installed.
- ASupply chain: grade A, Excellent.
No install scripts, 6 maintainers, and a contained dependency surface.
- ALicense: grade A, Excellent.
MIT — permissive, with no copyleft found in the dependency tree.
Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.
Install cost
What you actually take on by adding watchpack to a project.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
Longest resolved dependency chain below this package.
Licenses in the dependency tree
Every license you inherit by installing watchpack, not just its own. Check this before a legal review, not after.
Compatibility
- Node.js
- node >=10.13.0
- Module format
- CommonJS only
- TypeScript
- Types included
- Install scripts
- None
Quick start
A usage example from the watchpack README.
const Watchpack = require("watchpack");
const wp = new Watchpack({
// options:
aggregateTimeout: 1000,
// fire "aggregated" event when after a change for 1000ms no additional change occurred
// aggregated defaults to undefined, which doesn't fire an "aggregated" event
poll: true,
// poll: true - use polling with the default interval
// poll: 10000 - use polling with an interval of 10s
// poll defaults to undefined, which prefer native watching methods
// Note: enable polling when watching on a network path
// When WATCHPACK_POLLING environment variable is set it will override this optionDependencies
Declared by watchpack v2.5.2. Runtime dependencies are installed with the package; dev dependencies are not.
Runtime (1)
Dev (14)
Used by
Popular packages that depend on watchpack.
Relationship graph
Dependencies (left) and dependents (right) of watchpack.
Frequently installed together
ECMAScript parser
Share target browsers between different front-end tools, like Autoprefixer, Stylelint and babel-env-preset
React is a JavaScript library for building user interfaces.
TypeScript definitions for estree
Lodash modular utilities.
React package for working with the DOM.
An AST-based pattern checker for JavaScript.
Prettier is an opinionated code formatter
Node's event emitter for all engines.
Delightful JavaScript Testing.
A library to create a trace of your node app per Google's Trace Event format.
WebAssembly binary format parser
Release history
5 releases in the last two years, typically about 44 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 2.5.2latest | 3 months ago | 106 KB | MIT |
| 2.5.1 | 7 months ago | 93 KB | MIT |
| 2.5.0 | 8 months ago | 93 KB | MIT |
| 2.4.4 | 1 year ago | 56 KB | MIT |
| 2.4.3 | 1 year ago | 56 KB | MIT |
| 2.4.2 | 2 years ago | 55 KB | MIT |
| 2.4.1 | 2 years ago | 55 KB | MIT |
| 2.4.0 | 4 years ago | 56 KB | MIT |
| 2.3.1 | 4 years ago | 56 KB | MIT |
| 2.3.0 | 4 years ago | 55 KB | MIT |
| 2.2.0 | 5 years ago | 55 KB | MIT |
| 2.1.1 | 5 years ago | 54 KB | MIT |
| 2.1.0 | 5 years ago | 54 KB | MIT |
| 1.7.5 | 5 years ago | 22 KB | MIT |
| 2.0.1 | 5 years ago | 54 KB | MIT |
Overview
watchpack is an npm package that wrapper library for directory and file watching. It has 1 known dependents in the graph. The latest version is 2.5.2, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need wrapper library for directory and file watching and value a focused solution.
When not to use it
Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.
Pros
- Ships TypeScript type definitions.
- Clear open-source license (MIT).
Cons
- No significant drawbacks detected from available metadata.
Auto-generated from collected registry metadata. No external claims are inferred.
Frequently asked questions
Should I use watchpack?
Yes — watchpack scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 90 days ago. 5 releases in the last 2 years.
How do I install watchpack?
Run `npm install watchpack` to add watchpack to your npm project.
How many dependencies does watchpack have?
watchpack declares 15 direct dependencies and pulls in 1 packages in total once its runtime tree is resolved totalling about 138 KB on disk.
What license is watchpack released under?
watchpack is distributed under the MIT license.
How popular is watchpack?
npm does not publish download counts. Within PackageGraph's crawl, 1 known packages depend on watchpack.
Is watchpack still maintained?
The most recent release of watchpack (v2.5.2) was published 3 months ago.
Does watchpack run install scripts?
No. watchpack does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.