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

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

/@expo/json-file/

    Package Sidebar

    Install

    npm i @expo/json-file

    Weekly Downloads

    3,021,921

    Version

    9.1.4

    License

    MIT

    Unpacked Size

    39.8 kB

    Total Files

    12

    Last publish

    Collaborators

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