Displaying 1 to 20 from 25 results

node-fs-extra - Node.js: extra methods for the fs object like copy(), remove(), mkdirs()


fs-extra adds file system methods that aren't included in the native fs module and adds promise support to the fs methods. It should be a drop in replacement for fs.I got tired of including mkdirp, rimraf, and ncp in most of my projects.

deepmerge - A library for deep (recursive) merging of Javascript objects


Merge the enumerable attributes of two objects deeply. For the old array element-merging algorithm, see the arrayMerge option below.

sort-keys - Sort the keys of an object


Useful to get a deterministically ordered object, as the order of keys can vary between engines.Returns a new object with sorted keys.




node-mv - Like `fs


Like `fs.rename`, but works across devices, and works with directories. Think of the unix utility `mv`.


readdirp - Recursive version of fs.readdir with streaming api.


Recursive version of fs.readdir. Exposes a stream api. Meant to be one of the recursive versions of fs functions, e.g., like mkdirp.

node-read-dir-files - Recursively read files from a directory


Module for recursively (and non-recursively) reading all files in a directory. If you pass it the encoding, instead of buffers you'll get strings.

genData - A normalization pattern to build, query, and manipulate everything.


An iteration utility with a rich callback environment. genData iterates a queue, beginning with the first parameter, then it's non-inherited members, then their non-inherited members, and so on - recursively and in depth-first order. Below is what genData outputs when a callback simply returns the current iteration value.

mixin-deep - Deeply mix the properties of objects into the first object, while also mixing-in child objects


Deeply mix the properties of objects into the first object. Like merge-deep, but doesn't clone. Please consider following this project's author, Jon Schlinkert, and consider starring the project to show your ❤️ and support.

arr-flatten - Recursively flatten an array or arrays


Recursively flatten an array or arrays. I wanted the fastest implementation I could find, with implementation choices that should work for 95% of use cases, but no cruft to cover the other 5%.

delete-empty - Recursively delete all empty folders in a directory and child directories.


Recursively delete all empty folders in a directory and child directories. Please consider following this project's author, Jon Schlinkert, and consider starring the project to show your ❤️ and support.

tree-crawl - :leaves: Agnostic tree traversal library.


Agnostic tree traversal library. If you are really concerned about performance, you could read items from the stack directly. Each item has a node and index property that you can use. The first item in the stack can be discarded and will have a node set to null. Be aware that you should not mutate the stack, or it will break the traversal.