GitShow/sindresorhus/copy-file
sindresorhus

copy-file

Copy a file

by sindresorhus
Star on GitHubForknpm

JavaScript

123 stars23 forks14 contributorsQuiet · 10mo agoSince 2014v11.1.0MIT

Meet the team

See all 14 on GitHub →
sindresorhus
sindresorhus84 contributions
schnittstabil
schnittstabil12 contributions
coreyfarrell
coreyfarrell3 contributions
jopemachine
jopemachine3 contributions
BendingBender
BendingBender2 contributions
kevva
kevva2 contributions
YurySolovyov
YurySolovyov2 contributions
fitiskin
fitiskin1 contribution

Languages

View on GitHub →
JavaScript95.5%
TypeScript4.5%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

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

Recent fixes

View closed PRs →
YurySolovyov
Use native fs.copyFile when available and no progress listeners were addedClosedIssue

Will likely be faster on most systems. Need to detect and use it when possible. Ref: https://github.com/nodejs/node/pull/15034

YurySolovyov · 1mo ago
spidgorny
EPERM: operation not permitted, utime '/mnt/windows/...'ClosedIssue

The way my Samba share is mounted I can copy the files, but changing utime is not permitted. This leads to error. I'd like to ask for an option to disable calling after copying. This may be related to #22 but instead of I need disabled.

spidgorny · 10mo ago
maxhub-fe
【BUG REPORT】windows copy file to root directory errorClosedIssue

stack: $ node index.js { NestedError: Cannot create directory : EPERM: operation not permitted, mkdir 'D:\' at makeDir.catch.error (d:\code\tset\node_modules\cp-file\fs.js:82:8) Caused By: Error: EPERM: operation not permitted, mkdir 'D:\' nested: { Error: EPERM: operation not permitted, mkdir 'D:\' errno: -4048, code: 'EPERM', syscall: 'mkdir', path: 'D:\\' }, errno: -4048, code: 'EPERM', syscall: 'mkdir', path: 'D:\\', name: 'CpFileError' } I found that it was 'make-dir' cause error mkdir @sindresorhus help plz !!!

maxhub-fe · 10mo ago
Structured data for AI agents

Repository: sindresorhus/copy-file. Description: Copy a file Stars: 123, Forks: 23. Primary language: JavaScript. Languages: JavaScript (95.5%), TypeScript (4.5%). License: MIT. Latest release: v11.1.0 (10mo ago). Open PRs: 0, open issues: 0. Last activity: 10mo ago. Community health: 85%. Top contributors: sindresorhus, schnittstabil, coreyfarrell, jopemachine, BendingBender, kevva, YurySolovyov, fitiskin, boneskull, feross and others.

·@ofershap

Replace github.com with gitshow.dev