@repoatlasdev/core
v0.2.1
Published
Core repository scanning engine and tree model for RepoAtlas
Downloads
332
Readme
@repoatlasdev/core
High-throughput repository scanner engine and unified tree data model for RepoAtlas.
Features
- Asynchronous Concurrent Scanning: High performance folder recursion.
- GitIgnore Integration: Respects
.gitignoreand.ignorerules automatically. - Node Metadata: Calculates file sizes, directory child counts, node depth, and extensions.
Installation
npm install @repoatlasdev/coreUsage
import { scanRepository } from '@repoatlasdev/core';
const tree = await scanRepository({
rootDir: './my-project',
maxDepth: 4,
respectGitIgnore: true,
});
console.log(tree);