# file-scan-class

> A simple file scanning implementation

Latest version **0.1.0** (published 2022-09-20) · ISC license · 0 weekly downloads

## Install

```sh
npm install file-scan-class
pnpm add file-scan-class
yarn add file-scan-class
bun add file-scan-class
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2022-09-20 |
| First published | 2022-09-20 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 1.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | chenchenjun |
| Maintainers | chenchenjun |
| Keywords | filescan, file |

## Links

- npm: https://www.npmjs.com/package/file-scan-class
- Repository: https://github.com/2670637999/file-scan-class
- Homepage: https://github.com/2670637999/file-scan-class#readme
- Issues: https://github.com/2670637999/file-scan-class/issues
- npm.io page: https://npm.io/package/file-scan-class

## Dependencies (1)

- [@types/node](https://npm.io/package/@types/node.md) ^18.7.18

## Alternatives

- [unionfs](https://npm.io/package/unionfs.md) — 2.2M weekly downloads
- [path-starts-with](https://npm.io/package/path-starts-with.md) — 35.9K weekly downloads
- [redzip](https://npm.io/package/redzip.md) — 1.2K weekly downloads
- [vscode-anymatch](https://npm.io/package/vscode-anymatch.md) — 848 weekly downloads
- [@ledgerhq/coin-filecoin](https://npm.io/package/@ledgerhq/coin-filecoin.md) — 793 weekly downloads

## Recent versions

- 0.1.0 (latest) — 2022-09-20

## README

filescan 是一个用于归类文件/扫描指定扩展名文件的极简实现

使用方法：

shell
```
npm install --save file-scan-class
```
js 案例
```
const { FileScan } = require('file-scan-class')
let array = new FileScan('/home/user/Source/','js')
console.log(array)
console.log(`总共扫描了 ${array.files.length} 个文件`)
```

FileScan 参数和返回值
```
new FileSacn(扫描路径,文件类型) return： array
```

---
_Source: https://npm.io/package/file-scan-class · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
