0.0.1 • Published 1 year ago

@cntwg/file-helper v0.0.1

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
1 year ago
rev.:0.0.2
date:2025-04-08

Introduction

This module provide a small helper library for load and save file content.

Content

  • Functions

    • checkFsError;
    • loadFromFileSync;
    • saveToFileSync;
    • loadJSONFromFileSync;
    • saveJSONToFileSync.
  • Functions (async)

    • loadFromFile;
    • saveToFile;
    • loadJSONFromFile;
    • saveJSONToFile.

For more details see file-helper.md in the module doc directory.

Use cases

Installation

npm install @cntwg/file-helper

0.0.1

1 year ago