highframe
v1.5.0
Published
JavaScript utilities to integrate iframes into other apps.
Downloads
230
Maintainers
Readme
Highframe
JavaScript utilities to integrate iframes into other apps.
Use cases:
- can be used extensively in breaking up large UIs into microfrontends
- normalizes the
postMessage
API - share data between frames
- use integrations to make full use of iframes in frameworks (Vue, React) and their paradigms
Usage
npm install highframe
Features
Importing library
You can import the generated bundle
import * as tillhub from 'highframe'
Development
npm t
: Run test suitenpm start
: Runnpm run build
in watch modenpm run test:watch
: Run test suite in interactive watch modenpm run test:prod
: Run linting and generate coveragenpm run build
: Generate bundles and typings, create docsnpm run lint
: Lints codenpm run commit
: Commit using conventional commit style (husky will tell you to use it if you haven't :wink:)
LICENSE
MIT