@expo/json-file
TypeScript icon, indicating that this package has built-in type declarations

8.3.3 • Public • Published

👋 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' });

Readme

Keywords

Package Sidebar

Install

npm i @expo/json-file

Weekly Downloads

1,432,643

Version

8.3.3

License

MIT

Unpacked Size

27.1 kB

Total Files

9

Last publish

Collaborators

  • radoslawkrzemien
  • pkham
  • szdziedzic
  • tsapeta
  • ide
  • lukmccall
  • douglowder
  • betoatexpo
  • philpl
  • expo-bot
  • alanhughes
  • kadikraman
  • aleqsio
  • marklawlor
  • gabrieldonadel
  • simek
  • keith-kurak
  • fiber-god
  • brentvatne
  • evanbacon
  • quinlanj
  • expoadmin
  • exponent
  • wschurman
  • bycedric
  • jonsamp
  • princefleaswallow
  • kudochien