Skip to content

Latest commit

 

History

History

preset-openheart

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

@kkna/preset-openheart

OpenHeart Preset for KKna.

npm version npm downloads license

Usage

NPM

install
# npm
npm install @kkna/preset-openheart

# yarn
yarn add @kkna/preset-openheart

# pnpm
pnpm install @kkna/preset-openheart

# bun
bun install @kkna/preset-openheart
use
import { provider } from '@kkna/context'
import { openheart } from '@kkna/preset-openheart'

const provide = provider(document.body, {
  initialValue: {
    presets: [
      openheart({ endpoint: 'https://api.openheart.fyi' }),
    ],
  },
})

provide.hostConnected()

License

MIT