you can get property value via file.get function
file.get
const json = require("jsonbyte"); const file = new json("./file.json") const username = file.get("username") console.log(username) // Output: jsob
Last updated 2 years ago