$ cnpm install @metamask/messenger
@metamask/messengerA type-safe message bus library.
The Messenger class allows registering functions as 'actions' that can be called elsewhere, and it allows publishing and subscribing to events. Both actions and events are identified by namespaced strings.
yarn add @metamask/messenger
or
npm install @metamask/messenger
This package is part of a monorepo. Instructions for contributing can be found in the monorepo README.
Copyright 2013 - present © cnpmjs.org | Home |