@ende/fs/unstable-read-file

ende add jsr:@ende/fs

Version 2026.10.15 on JSR.

Exports

  • readFile — Reads and resolves to the entire contents of a file as an array of bytes. `TextDecoder` can be used to transform the bytes to string if required.
  • readFileSync — Synchronously reads and returns the entire contents of a file as an array of bytes. `TextDecoder` can be used to transform the bytes to string if required.