GitShow/sindresorhus/vinyl-paths
sindresorhus

vinyl-paths

Get the file paths in a `vinyl` stream

by sindresorhus
Star on GitHubForknpm

JavaScript

61 stars5 forks4 contributorsQuiet · 3y agoSince 2014v5.0.0MIT

Meet the team

See all 4 on GitHub →
sindresorhus
sindresorhus17 contributions
jonatanlinden
jonatanlinden1 contribution
Richienb
Richienb1 contribution
wbinnssmith
wbinnssmith1 contribution

Languages

View on GitHub →
JavaScript100%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
71
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template

Recent fixes

View closed PRs →
SamuelMiller
Help: How to use vinyl-paths in gulpfile.js to avoid [ERR_REQUIRE_ESM]?ClosedIssue

I am getting "Error [ERR_REQUIRE_ESM]: require() of ES Module" error when I do the following in my gulpfile.js, following older tutorials online: I suspect the error is occurring because vinyl paths is now an ESM module. Reading online, I seem to have three options: Switch the project to an ESM module, dynamically import an ESM module into a CommonJS module using let, await, import, or use an older version of the plugin. Besides downgrading the vinyl-plugin , I am using, I have absolutely no idea how to do the other options--what does using an ESM module look like in gulpfile.js? Is there a way, I can use vinyl-paths using a somewhat similar format to the above, so I can use my other gulp plugins in my gulpfile.js?

SamuelMiller · 4y ago
baryon
Please support require at 4.0ClosedIssue

Use got

baryon · 4y ago
Richienb
Move to GitHub ActionsMergedPR
Richienb · 5y ago
Structured data for AI agents

Repository: sindresorhus/vinyl-paths. Description: Get the file paths in a `vinyl` stream Stars: 61, Forks: 5. Primary language: JavaScript. Languages: JavaScript (100%). License: MIT. Latest release: v5.0.0 (3y ago). Open PRs: 0, open issues: 0. Last activity: 3y ago. Community health: 71%. Top contributors: sindresorhus, jonatanlinden, Richienb, wbinnssmith.

·@ofershap

Replace github.com with gitshow.dev