node2

Makes node.js/fs handy, consistent and fixes legacy bugs.

Usage no npm install needed!

<script type="module">
  import node2 from 'https://cdn.skypack.dev/node2';
</script>

README

Tiny wrapper over node fs module that makes its API handy, consistent and fixes legacy bugs.

By handy I mean that it automatically creates parent directories, deletes not empty directories and other frequently needed things.

Copyright (c) Alexey Petrushin, http://petrush.in, released under the MIT license.