chipbot-wrapper
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

chipbot-wrapper



A lightweight wrapper for chipbot.

Usage

  1. Install package.

    npm i chipbot-wrapper
  2. Add it to your project.

    import { defineChipbot } from 'chipbot-wrapper'
    
    const chipbot = defineChipbot({
      id: 'my-chipbot-id',
      domainId: 'my-chipbot-domain-id',
      onload() {
        this.hide()
        // Or
        chipbot.hide()
      }
    })
  3. Usage in other files Important: chipbot has to be defined first (Follow step #2)

    import { chipbot } from 'chipbot-wrapper'
    
    chipbot.hide()
  4. Profit 🎉

Readme

Keywords

Package Sidebar

Install

npm i chipbot-wrapper

Weekly Downloads

1

Version

0.0.3

License

MIT

Unpacked Size

7.42 kB

Total Files

6

Last publish

Collaborators

  • dapotatoman