An open API service indexing awesome lists of open source software.

https://github.com/tillhub/highframe

JavaScript utilities to integrate iframes into other apps.
https://github.com/tillhub/highframe

iframe microfrontend microfrontends postmessage

Last synced: 4 months ago
JSON representation

JavaScript utilities to integrate iframes into other apps.

Awesome Lists containing this project

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

```bash
npm install highframe
```

## Features

## Importing library

You can import the generated bundle

```javascript
import * as tillhub from 'highframe'

```

## Development

- `npm t`: Run test suite
- `npm start`: Run `npm run build` in watch mode
- `npm run test:watch`: Run test suite in [interactive watch mode](http://facebook.github.io/jest/docs/cli.html#watch)
- `npm run test:prod`: Run linting and generate coverage
- `npm run build`: Generate bundles and typings, create docs
- `npm run lint`: Lints code
- `npm run commit`: Commit using conventional commit style ([husky](https://github.com/typicode/husky) will tell you to use it if you haven't :wink:)

## LICENSE

MIT