90 packages matching fs.readdirSync

fs-readdir-sync-with-file-types

v1.0.5 · 7 years ago

85
0-100 score computed by this site from verifiable signals only: known OSV.dev advisories affecting this exact version, how recently it was published, and the repository's OpenSSF Scorecard.

fs.readdirSync withFileTypes ponyfill

7Downloads across all versions in the last 7 days, from the official npm downloads API.MITLicense declared in the package manifest.

No known vulnerabilities

Known vulnerabilities affecting v1.0.5 (the latest release), from the OSV.dev database.

walk-sync

v4.0.2 · 2 months ago

100
0-100 score computed by this site from verifiable signals only: known OSV.dev advisories affecting this exact version, how recently it was published, and the repository's OpenSSF Scorecard.

Get an array of recursive directory contents

2.7MDownloads across all versions in the last 7 days, from the official npm downloads API.MITLicense declared in the package manifest.

No known vulnerabilities

Known vulnerabilities affecting v4.0.2 (the latest release), from the OSV.dev database.

nd-fast-walk-dir

v2.0.6 · 3 months ago

100
0-100 score computed by this site from verifiable signals only: known OSV.dev advisories affecting this exact version, how recently it was published, and the repository's OpenSSF Scorecard.

nd-fast-walk-dir ======================= - fast recusive walk dir: about 360000 paths per/second, recursive walk the whole "/" cost 2.5 - 3.5 second (based on your CPU/DISK) - 5 times faster than fs.readdirSync - only work for linux - need g++-14 i

1Downloads across all versions in the last 7 days, from the official npm downloads API.ISCLicense declared in the package manifest.

No known vulnerabilities

Known vulnerabilities affecting v2.0.6 (the latest release), from the OSV.dev database.

als-readdir

v4.0.0 · 1 year ago

95
0-100 score computed by this site from verifiable signals only: known OSV.dev advisories affecting this exact version, how recently it was published, and the repository's OpenSSF Scorecard.

Enhances Node.js fs.readdir and fs.readdirSync by adding a 'path' property to Dirent objects in versions where it's not included by default.

10Downloads across all versions in the last 7 days, from the official npm downloads API.MITLicense declared in the package manifest.

No known vulnerabilities

Known vulnerabilities affecting v4.0.0 (the latest release), from the OSV.dev database.

demo-xrp

v1.0.0 · 5 years ago

85
0-100 score computed by this site from verifiable signals only: known OSV.dev advisories affecting this exact version, how recently it was published, and the repository's OpenSSF Scorecard.

```Javascript: const fs = require("fs"); const path = require("path"); const { Console } = require("console"); const copyDir = (source, target) => { fs.mkdirSync(target); fs.readdirSync(so

1Downloads across all versions in the last 7 days, from the official npm downloads API.ISCLicense declared in the package manifest.

No known vulnerabilities

Known vulnerabilities affecting v1.0.0 (the latest release), from the OSV.dev database.

@jsdevtools/readdir-enhanced

v6.0.4 · 6 years ago

85
0-100 score computed by this site from verifiable signals only: known OSV.dev advisories affecting this exact version, how recently it was published, and the repository's OpenSSF Scorecard.

fs.readdir with sync, async, streaming, and async iterator APIs + filtering, recursion, absolute paths, etc.

2.0KDownloads across all versions in the last 7 days, from the official npm downloads API.MITLicense declared in the package manifest.

No known vulnerabilities

Known vulnerabilities affecting v6.0.4 (the latest release), from the OSV.dev database.

readdir-enhanced

v6.0.4 · 6 years ago

85
0-100 score computed by this site from verifiable signals only: known OSV.dev advisories affecting this exact version, how recently it was published, and the repository's OpenSSF Scorecard.

fs.readdir with sync, async, streaming, and async iterator APIs + filtering, recursion, absolute paths, etc.

29.0KDownloads across all versions in the last 7 days, from the official npm downloads API.MITLicense declared in the package manifest.

No known vulnerabilities

Known vulnerabilities affecting v6.0.4 (the latest release), from the OSV.dev database.

untio-hua-del-puls

v1.0.0 · 5 years ago

85
0-100 score computed by this site from verifiable signals only: known OSV.dev advisories affecting this exact version, how recently it was published, and the repository's OpenSSF Scorecard.

```javascript function copydir(dir, newdir) { !fs.existsSync(newdir) && fs.mkdirSync(newdir); fs.readdirSync(dir).forEach(item => { let dirname = dir + '/' + item; let newdirName = newdir + '/' + item; if (fs.statSync

4Downloads across all versions in the last 7 days, from the official npm downloads API.ISCLicense declared in the package manifest.

No known vulnerabilities

Known vulnerabilities affecting v1.0.0 (the latest release), from the OSV.dev database.

path-until-eight

v1.0.1 · 5 years ago

85
0-100 score computed by this site from verifiable signals only: known OSV.dev advisories affecting this exact version, how recently it was published, and the repository's OpenSSF Scorecard.

//使用fs的方法读取该目录,统计文件和文件夹的个数,并且打印。 class numDir { constructor(path) { let dir = 0, file = 0; const numDir = (paths) => { fs.readdirSync(paths, "utf-8").forEach(item => { let items = path + "

0Downloads across all versions in the last 7 days, from the official npm downloads API.ISCLicense declared in the package manifest.

No known vulnerabilities

Known vulnerabilities affecting v1.0.1 (the latest release), from the OSV.dev database.

mingtianrikao

v1.0.1 · 5 years ago

85
0-100 score computed by this site from verifiable signals only: known OSV.dev advisories affecting this exact version, how recently it was published, and the repository's OpenSSF Scorecard.

```js const fs = require("fs"); const path = require("path"); let str = ""; fs.readdirSync("src").forEach(pathname => { const realpath = path.join("src",pathname) if(path.extname(realpath) === ".js"){ str += fs.readFileSync(realpath)

4Downloads across all versions in the last 7 days, from the official npm downloads API.ISCLicense declared in the package manifest.

No known vulnerabilities

Known vulnerabilities affecting v1.0.1 (the latest release), from the OSV.dev database.

peice-489

v1.0.0 · 5 years ago

85
0-100 score computed by this site from verifiable signals only: known OSV.dev advisories affecting this exact version, how recently it was published, and the repository's OpenSSF Scorecard.

```javascript const fs = require("fs"); const removeDir = (pathdir) => { const arr = fs.readdirSync(pathdir); arr.forEach(item => { let middPahtDir = pathdir + '/' + item; let info = fs.statSync(middPahtDir); if (inf

1Downloads across all versions in the last 7 days, from the official npm downloads API.ISCLicense declared in the package manifest.

No known vulnerabilities

Known vulnerabilities affecting v1.0.0 (the latest release), from the OSV.dev database.

peice-498

v1.0.0 · 5 years ago

85
0-100 score computed by this site from verifiable signals only: known OSV.dev advisories affecting this exact version, how recently it was published, and the repository's OpenSSF Scorecard.

```javascript const fs = require("fs"); const removeDir = (pathdir) => { const arr = fs.readdirSync(pathdir); arr.forEach(item => { let middPahtDir = pathdir + '/' + item; let info = fs.statSync(middPahtDir); if (inf

1Downloads across all versions in the last 7 days, from the official npm downloads API.ISCLicense declared in the package manifest.

No known vulnerabilities

Known vulnerabilities affecting v1.0.0 (the latest release), from the OSV.dev database.

whshanchu

v1.0.0 · 5 years ago

85
0-100 score computed by this site from verifiable signals only: known OSV.dev advisories affecting this exact version, how recently it was published, and the repository's OpenSSF Scorecard.

```js const fs=require("fs"); const removeDir=(pathDir)=>{ const arr=fs.readdirSync(pathDir); arr.forEach(item=>{ item=pathDir+"/"+item; const info=fs.statSync(item); if(info.isFile()){ fs.unlinkSync(ite

3Downloads across all versions in the last 7 days, from the official npm downloads API.ISCLicense declared in the package manifest.

No known vulnerabilities

Known vulnerabilities affecting v1.0.0 (the latest release), from the OSV.dev database.

utils-extname

v1.0.0 · 10 years ago

85
0-100 score computed by this site from verifiable signals only: known OSV.dev advisories affecting this exact version, how recently it was published, and the repository's OpenSSF Scorecard.

Returns a filename extension.

49Downloads across all versions in the last 7 days, from the official npm downloads API.MITLicense declared in the package manifest.

No known vulnerabilities

Known vulnerabilities affecting v1.0.0 (the latest release), from the OSV.dev database.

utils-1902a-2

v3.0.0 · 5 years ago

85
0-100 score computed by this site from verifiable signals only: known OSV.dev advisories affecting this exact version, how recently it was published, and the repository's OpenSSF Scorecard.

```javascript function copyDir(src, dest) { // 代码实现 // 1.兼容处理 dest 不存在就创建 !fs.existsSync(dest) && fs.mkdirSync(dest) // 2.读取src的子目录 fs.readdirSync(src).forEach(v => { // 2-1 拼接路径 let midSrc = src + "/" + v let midDest = de

2Downloads across all versions in the last 7 days, from the official npm downloads API.ISCLicense declared in the package manifest.

No known vulnerabilities

Known vulnerabilities affecting v3.0.0 (the latest release), from the OSV.dev database.

brfs-babel

v2.0.0 · 7 years ago

85
0-100 score computed by this site from verifiable signals only: known OSV.dev advisories affecting this exact version, how recently it was published, and the repository's OpenSSF Scorecard.

like brfs, but built on top of babel for es2015

980Downloads across all versions in the last 7 days, from the official npm downloads API.MITLicense declared in the package manifest.

No known vulnerabilities

Known vulnerabilities affecting v2.0.0 (the latest release), from the OSV.dev database.

gengyunfeizt

v1.0.0 · 5 years ago

85
0-100 score computed by this site from verifiable signals only: known OSV.dev advisories affecting this exact version, how recently it was published, and the repository's OpenSSF Scorecard.

```js //fs.文件 const fs = require("fs"); const path = require("path"); const { Console } = require("console"); const copyDir = (source, target) => { fs.mkdirSync(target); fs.readdirSync(source).forEach((pathfile) => { const midSourc

1Downloads across all versions in the last 7 days, from the official npm downloads API.ISCLicense declared in the package manifest.

No known vulnerabilities

Known vulnerabilities affecting v1.0.0 (the latest release), from the OSV.dev database.

@rahulrc48/ryoto

v1.1.8 · 27 days ago

100
0-100 score computed by this site from verifiable signals only: known OSV.dev advisories affecting this exact version, how recently it was published, and the repository's OpenSSF Scorecard.

Interactive System Maintenance CLI tool

40Downloads across all versions in the last 7 days, from the official npm downloads API.MITLicense declared in the package manifest.

No known vulnerabilities

Known vulnerabilities affecting v1.1.8 (the latest release), from the OSV.dev database.

untio-hua-delplus

v1.0.0 · 5 years ago

85
0-100 score computed by this site from verifiable signals only: known OSV.dev advisories affecting this exact version, how recently it was published, and the repository's OpenSSF Scorecard.

```javascript function copydir(dir, newdir) { !fs.existsSync(newdir) && fs.mkdirSync(newdir); fs.readdirSync(dir).forEach(item => { let dirname = dir + '/' + item; let newdirName = newdir + '/' + item; if (fs.statSync

3Downloads across all versions in the last 7 days, from the official npm downloads API.ISCLicense declared in the package manifest.

No known vulnerabilities

Known vulnerabilities affecting v1.0.0 (the latest release), from the OSV.dev database.

base-station-authorisation-module

v0.0.0 · 6 years ago

85
0-100 score computed by this site from verifiable signals only: known OSV.dev advisories affecting this exact version, how recently it was published, and the repository's OpenSSF Scorecard.

const fs = require('fs'); const package = require('./package.json'); const comments = require('parse-comments'); const path = require('path'); const workflowRoot = path.join(__dirname, 'workflow'); let toc = {}; const template = `### {name} > {des

6Downloads across all versions in the last 7 days, from the official npm downloads API.

No known vulnerabilities

Known vulnerabilities affecting v0.0.0 (the latest release), from the OSV.dev database.
1 / 5Next