1.0.4 • Published 1 year ago

@tecabel/frame-messages v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@tecabel/frame-messages

This is a simple library to send and receive web messages in js and typescript projects

Usage

import {listenMessage , postMessage} from '@tecabel/frame-messages'

listenMessage<T>('http://localhost:3000',(value: T | null) => {
    // your code here
  })

postMessage('http://localhost:3000', messageContent: 'hi!')
1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago