Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on Apr 29, 2024 via pnpm

fb-watchman 2.0.2

Bindings for the Watchman file watching service
Package summary
Share
0
issues
2
licenses
2
Apache-2.0
1
MIT
Package created
3 Nov 2014
Version published
21 Sep 2022
Maintainers
4
Total deps
3
Direct deps
1
License
Apache-2.0

Issues

0
This package has no issues

Licenses

Apache License 2.0

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
use-patent-claims
place-warranty
Cannot
hold-liable
use-trademark
Must
include-copyright
include-license
state-changes
include-notice
2 Packages, Including:
bser@2.1.1
fb-watchman@2.0.2

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
1 Packages, Including:
node-int64@0.4.0
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

1
All Dependencies CSV
β“˜ This is a list of fb-watchman 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
bser2.1.15.44 kBApache-2.0
prod

Visualizations

Frequently Asked Questions

What does fb-watchman do?

fb-watchman is a filesystem watcher that utilizes the Watchman file watching service by Facebook. This versatile system provides file change notification services using highly efficient recursive watches. It also enables more advanced matching of modifications, and filesystem tree query operations via its robust expression syntax.

How do you use fb-watchman?

To use fb-watchman, you first need to install the Watchman file watching service. Then, the fb-watchman module can be installed using npm, by running npm install fb-watchman in your project directory.

In the context of fb-watchman, Watchman watches directories recursively. Each watched directory is referred to as a root. You must initiate a watch on a root using the watch-project command before subscribing to changes. Instead of watching multiple sibling directories individually, watch-project consolidates and re-uses existing watches relative to a project root. This project root is where your .watchmanconfig or source control repository root is located. Change notifications are always relative to this project root.

To use fb-watchman, you must become familiar with the key concepts and commands used in the module. Although a specific code usage example is not provided in the readme, understanding how to use the watch-project command and the structure of root directories is essential for successful implementation.

Where are the fb-watchman docs?

The documentation for fb-watchman and more details on how to use it are available on the NodeJS watchman documentation page. This page is a comprehensive resource that includes how to effectively integrate fb-watchman into your Node.js projects, working with Watchman commands, and how notifications of changes work. For the full advantage of the fb-watchman filesystem watching capabilities, a thorough read of the documentation is highly encouraged.