watcher
output-files
Our great sponsors
watcher | output-files | |
---|---|---|
1 | 1 | |
97 | 5 | |
- | - | |
4.4 | 5.2 | |
10 days ago | about 1 month ago | |
JavaScript | JavaScript | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
watcher
-
Have you ever thought, how ‘nodemon’ works internally? Let’s build our own ‘nodemon’ in under 10 minutes!
I haven't looked into memory usage in chokidar too much, but it'd guess it's just wasting a lot of memory keeping useless data out of Stats objects into memory. You can check out my filesystem watcher (https://github.com/fabiospampinato/watcher) to see how it only keeps in memory that bits that it needs.
output-files
-
How to Write File-Based Tests With Real Files
I also wrote another helper package output-files that creates a whole file tree at once by passing an object. It's much easier than writing a lot of fs.writeFile calls to create many files.
What are some alternatives?
chokidar - Minimal and efficient cross-platform file watching library
with-local-tmp-dir - Creates a temporary folder inside cwd, cds inside the folder, runs a function, and removes the folder. Especially useful for testing.
filer - Node-like file system for browsers
mock-fs - Configurable mock for the fs module
jest - Delightful JavaScript Testing.
endent - ⬅️ An ES6 string tag makes indentation better
sequentially-generate-planet-mbtiles - Generate vector tiles for the entire planet on relatively low spec hardware.
fs-extra - Node.js: extra methods for the fs object like copy(), remove(), mkdirs()
mocha - ☕️ simple, flexible, fun javascript test framework for node.js & the browser
expect - Write better assertions
directory-structure - :package: Print a directory tree structure in your Python code.
atomically - Read and write files atomically and reliably.