node-prepend-file

Prepend data to a file.

MIT License

Downloads
136.7K
Stars
34
Committers
6
node-prepend-file - Latest Release

Published by Richienb almost 3 years ago

  • Remove path-exists dependency (#17) e544fe8
  • Improve performance c8fc43d

https://github.com/hemanth/node-prepend-file/compare/v2.0.0...v2.0.1

node-prepend-file -

Published by Richienb about 4 years ago

Changes

  • BREAKING Instead of accepting a callback, prependFile() now returns a promise.
  • BREAKING The options parameter is no longer supported.
  • BREAKING Node.js ^10.17 or >=11.14 is now required.
  • Properly handle BOM characters #13

Commits

  • Meta tweaks ebca463
  • Remove unneeded build config 387dbfc
  • Only import stream once 9d6922e
  • Add remove bom character if present at the top of the file (#13) b065614
  • Refactor 90a23cb e660df7 c74ac10

https://github.com/hemanth/node-prepend-file/compare/v1.3.1...v2.0.0