0.0.4 • Published 5 months ago

@puffmeow/rusty-walkdir v0.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

Introduction

Walkdir for Node.js developed by Rust.

Installation

npm

npm install @puffmeow/rusty-walkdir

pnpm

pnpm install @puffmeow/rusty-walkdir

Usage

const { walkdir } = require('@puffmeow/rusty-walkdir');

// Traverse your node_modules directory
walkdir('node_modules', (path) => {
  console.log(path);
});

walkdir('../', { followSymlinks: true }, (path) => {
  console.log(path);
});

Config

propertydefaultrequireddescription
followSymlinksfalse×follow symlinks
maxDepth2^32 - 1xmaximum depth to traverse
minDepth0xminimum depth
0.0.4

5 months ago

0.0.3

5 months ago