Socket
Socket
Sign inDemoInstall

app-hooks

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

app-hooks

React hooks for creating native feels for web


Version published
Maintainers
1
Created
Source

app hooks

React hooks for creating native feels for web

Why

Web has been evolving fast. PWA is coming closer and closer to native since Trusted Web Activitiy (TWA). It would be great if we can easily make PWA to feels more like native.

This library is a collection for just that encapsulated in React Hooks.

Outline

  • useShare
    • Hook for OS native share
  • useInstall
    • hook for controlling and displaying PWA installation prompt.
  • usePwa
    • Hook for determine open as web or PWA detection.
  • useMedia
    • Hook for capturing video and audio for Web RTC
  • useCaptureImage
    • Hook for capture image
    • (Best use with useMedia hook)
  • useBadge
    • Hook for controlling app badge

FAQs

Package last updated on 22 Oct 2020

Did you know?

Socket

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
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc