open-index/open-npm huggingface dataset:
npm package: @lorikeetai/web-sdk
Description: Lorikeetcx.ai Web SDK
Author: Lorikeetcx.ai
Latest version: 1.10.0

# Lorikeet Widget

This is the source for chat widget the Lorikeet platform.

The widget is split over two parts of the codebase currently. The first part is the widget itself, which is a minimal script that generates an iframe and initialisation configuration. The second part is the iframe itself found at `apps/chat`.

Depending on what you're trying to iterate on might change what you need to run.

```typescript
import { Lorikeet } from '@lorikeetai/web-sdk'
// include the environment types correctly
declare global {
  interface Window {
    lorikeet: Lorikeet
  }
}
```

## Development

To develop locally you'll need to have the iframe/chat instance running locally.

```bash
# at minimum you'll need to have the chat instance running
pnpm --filter @lorikeetai/chat dev
```

To have this running an actual conversation you'll need the support server running too.

```bash
# in root
docker compose up
```

## Development of the widget init script

To start the development server, run:

```bash
# run the dev server that mounts the widget in a minimal local index.html
pnpm dev
```

To build the widget, run:

```bash
# this will make the widget available in the dist folder for usage in the web app
pnpm build
```

## Production

To build the widget for production and release it, run:

```bash
pnpm run release
```

### You will need to be logged in to gcloud to release the widget

```bash
gcloud auth login
```
npm package: @loris-lka/happytwinkle
Description: ## Install
Latest version: 1.1.1
Deprecated: pour suppresion

# [Happy-Twinkle](https://happytwinkle.com/)

## Install

```
$ npm i happy-twinkle
```

## Usage

```js
const happytwinkle = require("happy-twinkle");

happytwinkle("unephrasemoinslisible");
//=> "unephrasemoinslisible"
```