0.0.2 • Published 1 year ago

jsonfilemanager v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

jsonfilemanager

A simple package to deal with reading and writing json files

Writing example

const jsonObject = {simpleKey: "simpleValue"}; const result = JsonFiles.serializeObjectToJsonFile("simple.json", jsonObject);

Reading example

const response = JsonFiles.exists("simple.json");

Verify existance

const response = JsonFiles.exists("simple.json");

List all files in a folder

const allFiles = JsonFiles.listFiles("./");

0.0.2

1 year ago

0.0.1

1 year ago