ssap_app/node_modules/@expo/json-file
ananyak19 f0453fc9f0 first commit 2026-01-18 17:57:34 +05:30
..
build first commit 2026-01-18 17:57:34 +05:30
LICENSE first commit 2026-01-18 17:57:34 +05:30
README.md first commit 2026-01-18 17:57:34 +05:30
package.json first commit 2026-01-18 17:57:34 +05:30

README.md

👋 Welcome to
@expo/json-file

A library for reading and writing JSON files.

🏁 Setup

Install @expo/json-file in your project.

yarn add @expo/json-file

Usage

import JsonFile, { JSONObject } from '@expo/json-file';

// Create a file instance
const jsonFile = new JsonFile<JSONObject>(filePath);

// Interact with the file
await jsonFile.readAsync();
await jsonFile.writeAsync({ some: 'data' });