Socket
Socket
Sign inDemoInstall

expo-use-file

Package Overview
Dependencies
518
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    expo-use-file

A collection of hooks for syncing data with files in expo apps.


Version published
Maintainers
1
Install size
142 MB
Created

Readme

Source

expo-use-file

A collection of hooks to use for file syncing in expo apps.

  1. useFile(fileName) Returns three values: [value, loadFromFile, writeToFile] Use loadFromFile to force load value from file. Use writeToFile to write new value to the file.
  2. useJSONFile(fileName) It's the same as useFile() but handles JSON conversion by itself and returns object in value

Version History

  • v1.0.0 - Initial Release
  • v1.1.0 - Fix bug when woring with several files
  • v1.1.1 - Bugfix
  • v1.1.2 - Bugfix

FAQs

Last updated on 06 Nov 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc