@puffmeow/rusty-walkdir
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

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

property default required description
followSymlinks false × follow symlinks
maxDepth 2^32 - 1 x maximum depth to traverse
minDepth 0 x minimum depth

Readme

Keywords

none

Package Sidebar

Install

npm i @puffmeow/rusty-walkdir

Weekly Downloads

0

Version

0.0.4

License

MIT

Unpacked Size

17.9 kB

Total Files

17

Last publish

Collaborators

  • ji_quan