UNPKG

recrawl-sync

Version:

[![npm](https://img.shields.io/npm/v/recrawl-sync.svg)](https://www.npmjs.com/package/recrawl-sync) [![ci](https://github.com/aleclarson/recrawl/actions/workflows/release.yml/badge.svg)](https://github.com/aleclarson/recrawl/actions/workflows/release.yml)

10 lines (9 loc) 275 B
/// <reference types="node" /> import * as fs from 'fs'; export interface FileAdapter { readdir(name: string): string[]; readlink(name: string): string; lstat(name: string): fs.Stats; stat(name: string): fs.Stats; } export declare const localFs: FileAdapter;