# jsonfile-stable **Repository Path**: sparklex/jsonfile-stable ## Basic Information - **Project Name**: jsonfile-stable - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-03-19 - **Last Updated**: 2025-03-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Write JSON in Stable Format ## writeFileSync ```js import jsonfileStable from "jsonfile-stable"; const oJson = { b: 1, a: 1 } jsonfileStable.writeFileSync('test.json', oJson); // output { a: 1, b: 1 } ``` ## readFileSync Unnessessery, but keep same interface as jsonfile. ```js import jsonfileStable from "jsonfile-stable"; const oJson = jsonfileStable.readFileSync('test.json'); ```