Skip to content

Get Started with Crows Nest

Getting started with Crows Nest is quick and easy. Just follow the steps below and you'll be up and running in no time.

Installation

You can install @nhtio/crows-nest directly from your preferred package manager

sh
npm i @nhtio/crows-nest
sh
pnpm add @nhtio/crows-nest
sh
yarn add @nhtio/crows-nest

Initialize the Crows Nest

typescript
import { CrowsNest } from '@nhtio/crows-nest'

const nest = new CrowsNest()

Bind an Element to your nest

typescript
const toBind = document.getElementById("toBind")
nest.bindHtmlElement(bound)