Skip to content

@kkna/preset-hatsu ​

Hatsu Preset for KKna.

npm versionnpm downloadslicense

Usage ​

NPM ​

install ​
sh
# npm
npm install @kkna/preset-hatsu

# yarn
yarn add @kkna/preset-hatsu

# pnpm
pnpm install @kkna/preset-hatsu

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

const provide = provider(document.body, {
  initialValue: {
    presets: [
      hatsu({ instance: 'https://hatsu.local' }),
    ],
  },
})

provide.hostConnected()

License ​

MIT