Package detail

@humanfs/types

humanwhocodes201Apache-2.00.15.0

The TypeScript types for the hfs project.

filesystem, fs, hfs, files

readme

@humanfs/types

by Nicholas C. Zakas

If you find this useful, please consider supporting my work with a donation or nominate me for a GitHub Star.

Description

Additional type definitions for humanfs. These are used primarily to share type definitions across packages because there is no easy way to export imported type definitions using JavaScript and JSDoc.

License

Apache 2.0

changelog

Changelog

0.15.0 (2024-09-09)

Features

0.14.0 (2024-06-12)

Features

0.13.0 (2024-03-20)

⚠ BREAKING CHANGES

  • delete/deleteAll should not throw on ENOENT (#105)

Features

  • delete/deleteAll should not throw on ENOENT (#105) (b508df1)

0.12.0 (2024-02-27)

Features

  • impl write() method only needs to handle Uint8Arrays (#92) (68bcfb5)

0.11.0 (2024-02-23)

Features

  • Impls only need bytes() method to read data (#90) (c0c3b36)

0.10.0 (2024-02-16)

⚠ BREAKING CHANGES

  • Rewrite MemoryHfsImpl to support lastModified() (#87)

Features

  • Add lastModified() method (#84) (9cbcd03)
  • Rewrite MemoryHfsImpl to support lastModified() (#87) (84e9812)

0.9.0 (2024-02-14)

Features

0.8.0 (2024-02-09)

Features

0.7.0 (2024-02-08)

Features

0.6.0 (2024-02-07)

Features

  • Allow URL file and directory paths (#62) (a767e37)

0.5.1 (2024-01-31)

Bug Fixes

  • Order of exports and engines in package.json (66204c2), closes #61

0.5.0 (2024-01-30)

⚠ BREAKING CHANGES

  • Rename fsx -> humanfs (#56)

Features

0.4.0 (2024-01-27)

Features

0.3.0 (2024-01-23)

⚠ BREAKING CHANGES

  • Safer delete(); new deleteAll() method (#37)

Features

  • Safer delete(); new deleteAll() method (#37) (2e85142)
  • write() to accept ArrayBuffer views as file contents (1fd5517)

Bug Fixes

  • types: Ensure FsxImpl methods also return undefined (14eadc6), closes #32

0.2.0 (2024-01-19)

Features

0.1.0 (2024-01-18)

Features

  • Add bytes() method, deprecate arrayBuffer() (718c9c8)

0.0.3 (2024-01-16)

Bug Fixes

  • Ensure isFile/isDirectory rethrow non-ENOENT errors. (d31ee56), closes #14

0.0.2 (2024-01-06)

Bug Fixes

  • docs: Correct package names in READMEs (6c552ac)