fs-temp

Temporary files and directories in Node.js

MIT License

Downloads
225.6K
Stars
4
Committers
4

Bot releases are visible (Hide)

fs-temp - 🚢 2.0.1 / 2021-11-02 Latest Release

Published by LinusU almost 3 years ago

🐛 Fixes

  • Make sure path property is always present

🌹 Internal Changes

  • Add path assertions to stream tests
  • Add testing on latest Node.js 17
fs-temp - 🚢 2.0.0 / 2021-07-24

Published by LinusU about 3 years ago

💥 Breaking Changes

  • Add initial path value on TempWriteStream

    Migration Guide:

    From now on, the WriteStream provided from this module will have path set from the start. With this change the path event have been removed. You can now read the path property directly on the returned stream.

  • Change promise import to promises

    Migration Guide:

    The promise file have been renamed to promises to closer match the upstream fs module. Instead of importing fs-temp/promise, import fs-temp/promises.

  • Convert package to ESM

    Migration Guide:

    This relases changes the package from a Common JS module to an EcmaScript module, and drops support for older versions of Node.

    • The minimum version of Node.js supported is now: 12.20.0, 14.13.1, and 16.0.0
    • The package must now be imported using the native import syntax instead of with require

🌹 Internal Changes

  • Remove package lock file
  • Cleanup package metadata
fs-temp - 🚢 1.2.0 / 2020-05-28

Published by LinusU over 4 years ago

🎉 Enhancements

  • Add TypeScript type definitions
fs-temp - 🚢 1.2.1 / 2020-05-28

Published by LinusU over 4 years ago

🐛 Fixes

  • Include type definitions in published package
Package Rankings
Top 3.7% on Npmjs.org