A modern landing page for the imaginary coffeeshop in Bali
- Fast Copying: Lightning-fast file copying with optimized performance
- Progress Tracking: Real-time progress monitoring
- Error Handling: Robust error handling and recovery
- Cross-Platform: Works seamlessly across different operating systems
npm install kopige
import { kopige } from 'kopige';
// Simple file copy
await kopige.copy('source.txt', 'destination.txt');
// Copy with progress tracking
await kopige.copy('source.txt', 'destination.txt', {
onProgress: (progress) => {
console.log(`Progress: ${progress}%`);
}
});
Copies a file from source to destination.
source
(string): Path to the source filedestination
(string): Path to the destinationoptions
(object, optional):onProgress
: Callback function for progress updatesoverwrite
: Boolean to allow overwriting (default: false)
- Promise: Resolves when copying is complete
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Thanks to all contributors who have helped make this project better
- Special thanks to the Node.js community for inspiration
Made with ❤️ by I Wayan Dirgayusa