Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

metal-price-live

smamun19332MIT0.3.3TypeScript support: included

Live metal price hook for react and react native using websocket

react, react-native, ios, android

readme

metal-price-live

Live metal prices for react and react native using websocket

Installation

Using npm:

npm install metal-price-live

Using yarn:

yarn add metal-price-live

Usage

import useMetalPriceLive from 'metal-price-live';

// ...

const { status, data, error } = useMetalPriceLive(
  'wss://your-websocket-endpoint',
  'your-api-key'
);

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


Made with create-react-native-library