Skip to content

Releases: SBoudrias/file-utils

v0.2.2

06 Feb 08:09

Choose a tag to compare

Cleanup and faster imports.

0.2.0

16 Jan 21:56

Choose a tag to compare

  • Dropped Node.js 0.8 support (Node 0.10 have been out for more than a year, it's time to upgrade. Use ~0.1.0 series for 0.8 if necessary).
  • exists, isLink, isDir and isFile methods are now also scoped to their context.
  • copy now copy the source file permissions
  • write now accept a third parameter with writing options (mode for permissions and encoding if necessary)
  • destBase and base can now accept a function as value that'll be run each time we require it.

0.1.4

15 Nov 20:41

Choose a tag to compare

Reverted bits of last release - very sorry 'bout that :(

In filters file.contents is a String as long as the file is not a binary. If it is binary, then the contents is a Buffer object.

So, any filters should consider that.

0.1.3

14 Nov 22:53

Choose a tag to compare

Normalize filters to always receive a String as file.contents (Previously, you could reveive a Buffer)