Comparing version 2.0.1 to 2.0.2
@@ -11,6 +11,20 @@ declare module "fdir" { | ||
function sync(dir: String, options: Options): Array<String>; | ||
function async(dir: String, options: Options): Promise<Array<String>>; | ||
export = sync; | ||
export = async; | ||
/** | ||
* Synchronously walks the directory recursively | ||
* @param directoryPath Path to the directory | ||
* @param options Options | ||
*/ | ||
function sync(directoryPath: String, options: Options): Array<String>; | ||
/** | ||
* Asynchronously walks the directory recursively | ||
* @param directoryPath Path to the directory | ||
* @param options Options | ||
*/ | ||
function async( | ||
directoryPath: String, | ||
options: Options | ||
): Promise<Array<String>>; | ||
export { sync, async }; | ||
} |
{ | ||
"name": "fdir", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "The fastest directory crawler for NodeJS. Crawls 10k files in 13ms.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -10,2 +10,5 @@ <p align="center"> | ||
<a href="https://coveralls.io/github/thecodrr/fdir?branch=master"><img src="https://img.shields.io/coveralls/github/thecodrr/fdir?style=for-the-badge"/></a> | ||
<a href="https://www.npmjs.com/package/fdir"><img src="https://img.shields.io/bundlephobia/minzip/fdir?style=for-the-badge"/></a> | ||
<a href="https://www.producthunt.com/posts/fdir-every-millisecond-matters"><img src="https://img.shields.io/badge/ProductHunt-Upvote-red?style=for-the-badge&logo=product-hunt"/></a> | ||
<a href="https://dev.to/thecodrr/how-i-wrote-the-fastest-directory-crawler-ever-3p9c"><img src="https://img.shields.io/badge/dev.to-Read%20Blog-black?style=for-the-badge&logo=dev.to"/></a> | ||
<a href="./LICENSE"><img src="https://img.shields.io/github/license/thecodrr/fdir?style=for-the-badge"/></a> | ||
@@ -12,0 +15,0 @@ </p> |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13948
7
99
191