output-files
watcher
output-files | watcher | |
---|---|---|
1 | 1 | |
5 | 100 | |
- | - | |
5.2 | 4.4 | |
about 2 months ago | 22 days ago | |
JavaScript | JavaScript | |
GNU General Public License v3.0 or later | MIT License |
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.
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.
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.
What are some alternatives?
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.
chokidar - Minimal and efficient cross-platform file watching library
mock-fs - Configurable mock for the fs module
filer - Node-like file system for browsers
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.