`It's not Postmessage` provides an API to simplify the us of the Postmessage API.
To use @itsnot/postmessageb, all you need to do is install the
@itsnot/postmessage package:
$ yarn add @itsnot/postmessage
# or
$ npm i @itsnot/postmessageTo start using, follow these steps:
- Import Postmessage from
@itsnot/postmessagethen use it:
import { PostMessage } from '@itsnot/postmessage'
PostMessage.listen((event) => {
console.log(event)
})Under construction... 👨🏻🏭
More on (Documentation).