Skip to content

0.1.0-beta.2

Pre-release
Pre-release

Choose a tag to compare

@aallali aallali released this 22 Mar 23:32

0.1.0-beta.2 - 2025-03-22

Added

  • copy(source: string, destination: string, options?: { recursive?: boolean, silent?: boolean }): Copy files or directories
  • move(source: string, destination: string, options?: { recursive?: boolean, silent?: boolean, overwrite?: boolean }): Move files or directories with fallback to copy+delete when cross-device operations occur
  • rename(oldPath: string, newPath: string, options?: { silent?: boolean }): Rename files or directories
  • readFile(path: string, options?: { encoding?: BufferEncoding }): Read file contents with encoding options

Changed

  • delete: Improved error handling logic
  • mkdir: Enhanced to support silent error option
  • touch: Updated to support Buffer content for file creation
  • Logger: Reworked logic with beautified colorized output

Documentation

  • Added comprehensive JSDoc comments to all methods
  • Updated example usage in test files for better demonstration
  • Added examples folder with usage examples

Full Changelog: https://github.com/aallali/Sysify/commits/v0.1.0-beta.2