Socket
Socket
Sign inDemoInstall

use-media-session

Package Overview
Dependencies
6
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    use-media-session

Hooks for interacting with Media Session API


Version published
Weekly downloads
8
decreased by-27.27%
Maintainers
1
Install size
19.0 kB
Created
Weekly downloads
 

Readme

Source

NPM bundlephobia

use-media-session

Hooks for interacting with Media Session API

Demo

Install

npm install --save use-media-session

or

yarn add use-media-session

Usage

import React from 'react';
import { useMediaMeta } from 'use-media-session';

const Example = () => {
  useMediaMeta({
    title: 'A title for your media',
  });
};

License

MIT © martynaskadisa


This hook is created using create-react-hook.

Keywords

FAQs

Last updated on 27 Jul 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