Gathering detailed insights and metrics for broccoli-source
Gathering detailed insights and metrics for broccoli-source
Gathering detailed insights and metrics for broccoli-source
Gathering detailed insights and metrics for broccoli-source
broccoli-concat
Fast, good-enough concatenation with source maps.
broccoli-sass-source-maps
Libsass-based Sass compiler for Broccoli
broccoli-sourcemap-concat
Fast, good-enough concatenation with source maps.
broccoli-asset-rewrite
broccoli plugin to rewrite a source tree from an asset map.
Broccoli plugin for referring to source directories on the file system
npm install broccoli-source
Typescript
Module System
Min. Node Version
Node Version
NPM Version
99.4
Supply Chain
81.3
Quality
80.3
Maintenance
100
Vulnerability
100
License
TypeScript (90.18%)
JavaScript (9.82%)
Total Downloads
138,253,117
Last Day
40,057
Last Week
661,963
Last Month
2,928,564
Last Year
30,557,453
MIT License
4 Stars
49 Commits
8 Forks
5 Watchers
12 Branches
5 Contributors
Updated on Aug 26, 2021
Minified
Minified + Gzipped
Latest Version
3.0.1
Package Id
broccoli-source@3.0.1
Size
5.13 kB
NPM Version
6.14.11
Node Version
14.16.0
Published on
Mar 11, 2021
Cumulative downloads
Total Downloads
Last Day
-13.9%
40,057
Compared to previous day
Last Week
-11.3%
661,963
Compared to previous week
Last Month
4%
2,928,564
Compared to previous month
Last Year
2.8%
30,557,453
Compared to previous year
1
Broccoli plugin for creating "source" nodes that refer to physical file system directories.
In Brocfile.js
:
1const { WatchedDir, UnwatchedDir } = require('broccoli-source'); 2 3// Refers to the ./lib directory on disk, and watches it. 4const lib = new WatchedDir('lib'); 5// Note: this is equivalent to the deprecated plain-string syntax: 6// const lib = 'lib'; 7 8// Refers to the ./bower_components/jquery directory, but does not watch it. 9const jquery = new UnwatchedDir('bower_components/jquery');
new WatchedDir(directoryPath, options)
Create a Broccoli node referring to a directory on disk. The Broccoli watcher
used by broccoli serve
will watch the directory and all subdirectories, and
trigger a rebuild whenever something changes.
directoryPath
: A path to a directory, either absolute, or relative to the
working directory (typically the directory containing Brocfile.js
).
The directory must exist, or Broccoli will abort.
options
:
annotation
: A human-readable description for this node.new UnwatchedDir(directoryPath, options)
Same as WatchedDir
, but the directory will not be watched.
This can be useful for performance reasons. For example, say you want to refer
to a large directory hierarchy of third-party code in your Brocfile.js
. Such
third-party code is rarely edited in practice. Using UnwatchedDir
instead of
WatchedDir
saves the overhead of setting up useless file system watchers.
When in doubt, use WatchedDir
instead.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 5/15 approved changesets -- score normalized to 3
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
48 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-06-30
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More