you can merge propertys to file via file.merge function
file.merge
const json = require("jsonbyte"); const file = new json("./file.json") file.merge({ firstName: "Tommy", secondName: "Jimmy" }).save();
Last updated 2 years ago