New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-extended-hooks

Package Overview
Dependencies
Maintainers
0
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-extended-hooks

A collection of React custom hooks providing extended functionality for geolocation, platform details, battery status, and more.

  • 0.0.7
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

React Util Hooks

A collection of utility hooks for React that leverage browser APIs to enhance your application with minimal effort.

Features

  • useBatteryDetails
    Provides detailed battery status, including charge level, charging status, and time to full/empty.

  • useGeolocationDetails
    Fetches the user's geolocation details, including latitude, longitude, and other related information.

  • useSpeechSynthesis
    Enables text-to-speech functionality with adjustable pitch, rate, volume, and voice selection.

  • usePlatformDetails
    Retrieves platform-specific information such as user agent, browser language, and online status.

  • useClipBoardDetails
    Allows interaction with the clipboard, enabling copying text to the clipboard and reading clipboard content with built-in state tracking.

Installation

npm install react-extended-hooks

Peer Dependencies

Ensure the following peer dependencies are installed in your project:

  • react
  • react-dom
  • lodash

You can install them using:

npm install react react-dom lodash

Documentation

Comprehensive documentation and usage examples are available at:
https://react-extended-hooks-storybook.vercel.app/


Contributions and feedback are welcome! 🚀

Keywords

FAQs

Package last updated on 27 Dec 2024

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

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc