open-index/open-npm huggingface dataset:
npm package: @hastearcade/models
Description: The @hastearcade/models package includes common domain models and services used across the client SDK, server SDK, and the Haste CLI.
Latest version: 2.2.1

# @hastearcade/models

[![npm version](https://badge.fury.io/js/%40hastearcade%2Fmodels.svg)](https://badge.fury.io/js/%40hastearcade%2Fmodels)

## Overview

The `@hastearcade/models` package includes common domain models and services used in the SDK. Eventually it will also be used to support tooling such as a CLI tool. At the current time this package should not be used on its own. Please use the `@hastearcade/server` and `@hastearcade/web` packages.

See [here](https://github.com/playhaste/haste-sdk/blob/main/README.md) for an overview of the haste-sdk repository.

## Table of Contents

- [Background and Use Case](#background)
- [Setup](#setup)
- [Documentation](#documentation)
- [License](#license)
- [Contributing](#contributing)
- [Authors](#authors)

## Background

See [here](https://github.com/playhaste/haste-sdk/blob/main/README.md#Background) for a detailed background.

## Setup

See [here](https://github.com/playhaste/haste-sdk/blob/main/README.md#Setup) for a detailed setup guide.

## Documentation

This `README` and each package's `README` provides high-level documentation. Additionally the code has been reviewed and comments provided to aid future developers in understanding why certain decisions were made.

More comprehensive documentation can be found [here](https://haste-arcade.stoplight.io/).

## License

The haste-sdk repository along with the corresponding npm packages are currently licensed under [MIT](https://github.com/playhaste/haste-sdk/blob/main/LICENSE)

## Contributing

If you are a developer looking to contribute to the Haste ecosystem please review our
[Contributing Readme](https://github.com/playhaste/haste-sdk/blob/main/ContributingReadme.md) and our [Contributing Guidelines](https://github.com/playhaste/haste-sdk/blob/main/CONTRIBUTING.md)

## Authors

- Keith LaForce ([rallieon](https://github.com/rallieon/))
- Eric LaForce ([foundrium](https://github.com/foundrium/))
- Dan Wagner ([danwag06](https://github.com/danwag06))
npm package: @hastearcade/server
Description: The sdk to be used to empower developers to leverage the Haste Arcade. The SDK is intended to be used in server side code alongside the developers game logic.
Latest version: 3.2.1

# @hastearcade/server

[![npm version](https://badge.fury.io/js/%40hastearcade%2Fserver.svg)](https://badge.fury.io/js/%40hastearcade%2Fserver)

## Overview

The `@hastearcade/server` sdk empowers developers to leverage the Haste Arcade ecosystem to build Haste Leaderboard Payout (HLP) based games. The SDK is intended to be used only on the server side, but it is required to be used in conjunction with `@hastearcade/web`. See details [here](https://github.com/playhaste/haste-sdk/blob/main/packages/web/README.md).

See [here](https://github.com/playhaste/haste-sdk/blob/main/README.md) for an overview of the haste-sdk repository.

## Table of Contents

- [Background and Use Case](#background)
- [Setup](#setup)
- [Testing](#testing)
- [Documentation](#documentation)
- [License](#license)
- [Contributing](#contributing)
- [Authors](#authors)

## Background

See [here](https://github.com/playhaste/haste-sdk/blob/main/README.md#Background) for a detailed background.

## Setup

See [here](https://github.com/playhaste/haste-sdk/blob/main/README.md#Setup) for a detailed setup guide.

### Testing

`@hastearcade/server` utilizes Jest for running tests. To run all tests in the server package use the following command

`npm run test`

## Documentation

This `README` and each package's `README` provides high-level documentation. Additionally the code has been reviewed and comments provided to aid future developers in understanding why certain decisions were made.

More comprehensive documentation can be found [here](https://haste-arcade.stoplight.io/).

## License

The haste-sdk repository along with the corresponding npm packages are currently licensed under [MIT](https://github.com/playhaste/haste-sdk/blob/main/LICENSE)

## Contributing

If you are a developer looking to contribute to the Haste ecosystem please review our
[Contributing Readme](https://github.com/playhaste/haste-sdk/blob/main/ContributingReadme.md) and our [Contributing Guidelines](https://github.com/playhaste/haste-sdk/blob/main/CONTRIBUTING.md)

## Authors

- Keith LaForce ([rallieon](https://github.com/rallieon/))
- Eric LaForce ([foundrium](https://github.com/foundrium/))
- Dan Wagner ([danwag06](https://github.com/danwag06))
npm package: @hastearcade/web
Description: The client sdk to be used to empower developers to leverage the Haste Arcade. The client SDK is intended to be used in client side code alongside the developers game logic.
Latest version: 4.1.1

# @hastearcade/web

[![npm version](https://badge.fury.io/js/%40hastearcade%2Fweb.svg)](https://badge.fury.io/js/%40hastearcade%2Fweb)

## Overview

The `@hastearcade/web` SDK empowers developers to incoroporate the Haste authentication system into their web based game. The SDK is intended to be used only on the client side, but it is required to be used in conjunction with `@hastearcade/server`. See details [here](https://github.com/playhaste/haste-sdk/blob/main/packages/server/README.md).

See [here](https://github.com/playhaste/haste-sdk/blob/main/README.md) for an overview of the haste-sdk repository.

The Haste team prefers to install libraries via npm install like `npm install @hastearcade/web`.

However, if you prefer to utilize a single script tag you can include the following tag in your HTML:

`<script src="https://unpkg.com/@hastearcade/web/dist/umd/index.js" />`

_SPECIAL NOTE_

If you utilize the script tag above you must preface all your code with `haste.` For example instead of

```typescript
const hasteClient = await HasteClient.build(process.env.HASTE_GAME_CLIENT_ID);
```

you would need to use

```typescript
const hasteClient = await haste.HasteClient.build(process.env.HASTE_GAME_CLIENT_ID);
```

## Table of Contents

- [Background and Use Case](#background)
- [Setup](#setup)
- [Testing](#testing)
- [Documentation](#documentation)
- [License](#license)
- [Contributing](#contributing)
- [Authors](#authors)

## Background

See [here](https://github.com/playhaste/haste-sdk/blob/main/README.md#Background) for a detailed background.

## Setup

See [here](https://github.com/playhaste/haste-sdk/blob/main/README.md#Setup) for a detailed setup guide.

### Testing

`@hastearcade/web` utilizes Jest for running tests. To run all tests in the server package use the following command

`npm run test`

## Documentation

This `README` and each package's `README` provides high-level documentation. Additionally the code has been reviewed and comments provided to aid future developers in understanding why certain decisions were made.

More comprehensive documentation can be found [here](https://haste-arcade.stoplight.io/).

## License

The haste-sdk repository along with the corresponding npm packages are currently licensed under [MIT](https://github.com/playhaste/haste-sdk/blob/main/LICENSE)

## Contributing

If you are a developer looking to contribute to the Haste ecosystem please review our
[Contributing Readme](https://github.com/playhaste/haste-sdk/blob/main/ContributingReadme.md) and our [Contributing Guidelines](https://github.com/playhaste/haste-sdk/blob/main/CONTRIBUTING.md)

## Authors

- Keith LaForce ([rallieon](https://github.com/rallieon/))
- Eric LaForce ([foundrium](https://github.com/foundrium/))
- Dan Wagner ([danwag06](https://github.com/danwag06))
npm package: @hastenlabs/chatapi-sdk
Description: Official ChatAPI TypeScript SDK for real-time messaging
Author: ChatAPI Team
Latest version: 0.1.2

# ChatAPI TypeScript SDK

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![TypeScript](https://img.shields.io/badge/TypeScript-007ACC?logo=typescript&logoColor=white)](https://www.typescriptlang.org/)

The official TypeScript SDK for ChatAPI - a lightweight, multitenant chat service with real-time messaging capabilities.

## Installation

```bash
npm install @hastenlabs/chatapi-sdk
```

## Quick Start

```typescript
import { ChatAPI } from '@hastenlabs/chatapi-sdk';

// Initialize
const chat = new ChatAPI({
  baseURL: 'https://api.chatapi.com',
  apiKey: 'your-api-key',
  userId: 'current-user-id'
});

// Connect
await chat.connect();

// Listen for messages
chat.on('message', (event) => {
  console.log('New message:', event.content);
});

// Send a message
await chat.messages.send('room_123', 'Hello, world!');
```

## Features

- ✅ **Type-Safe**: Full TypeScript support
- ✅ **Real-Time**: WebSocket with auto-reconnection
- ✅ **REST API**: Complete HTTP client
- ✅ **Error Handling**: Comprehensive error types
- ✅ **Framework Agnostic**: Works anywhere

## API Overview

### Rooms
```typescript
const room = await chat.rooms.create({
  type: 'group',
  members: ['alice', 'bob'],
  name: 'Team Chat'
});
```

### Messages
```typescript
await chat.messages.send('room_123', 'Hello!');
const messages = await chat.messages.get('room_123', { limit: 50 });
```

### Real-Time Events
```typescript
chat.on('message', (event) => console.log(event));
chat.on('presence.update', (event) => console.log(event));
```

## Documentation

See the [ChatAPI Documentation](https://chatapi.byabasaija.com) for complete API reference and guides.

## License

MIT License - see [LICENSE](LICENSE) file for details.
npm package: @hastics/components
Description: This project aims to help by creating beautiful React components, without headache.
Author: Donovan BENFOUZARI
Latest version: 0.0.1

# @hastics

This project aims to help by creating beautiful React components, without headache.

In fact, you only need to design your own custom styles and here we go ! You get working components
that work for you.

## Demo

See live demo at https://hastics.github.io/hastics/

## Installation

```shell
yarn add @hastics/components
```

Or

```shell
npm i -S @hastics/components
```

## Usage

```tsx
import { IconButton, Icon, Icons } from '@hastics/components';

const App = () => (
  <IconButton
    icon={<Icon icon={Icons.ring_volume} />}
    onPress={() => { console.log('pressed!') }}
  />
)
```
## Documentation
You can see all documentation on https://hastics.github.io/hastics/.
It's a component library that exposes all available components.
npm package: @hastom/eslint-config
Description: Eslint config that I like
Latest version: 1.0.4

# Esling configuration

### Install
```
npm i -D eslint @hastom/eslint-config
```

### Use
```
// .eslintrc.js

// react + typescript + javascript
module.exports = {
  parserOptions: {
    project: './tsconfig.json',
    babelOptions: {
      configFile: './babel.config.js'
    }
  },
  extends: [
    '@hastom/eslint-config/typescript-mixed',
    '@hastom/eslint-config/react',
  ]
};

// pure typescript
module.exports = {
  parserOptions: {
    project: './tsconfig.json',
  },
  extends: [
    '@hastom/eslint-config/typescript-pure',
  ]
};

// pure javascript
module.exports = {
  parserOptions: {
    babelOptions: {
      configFile: './babel.config.js'
    }
  },
  extends: [
    '@hastom/eslint-config/base',
  ]
};

```

Extend `@hastom/eslint-config/typescript-mixed` if your project uses typescript AND javascript

Extend `@hastom/eslint-config/typescript-pure` if your project uses ONLY typescript

Extend `@hastom/eslint-config/base` if your project uses ONLY javascript

Extend `@hastom/eslint-config/react` if your project uses React

If `typescript-mixed` or `base` configs are extended you MUST install `@babel/core` package 
to support `@babel/eslint-parser` plugin. 
Also, path to babel config file should be set at `parserOptions.babelOptions.configFile`

If `typescript-mixed` or `typescript-pure` configs are extended `parserOptions.project` MUST be set 
to match `tsconfig.json` file. All linted files MUST be included or listed in `tsconfig.json`.
npm package: @hastom/fetch
Description: Light wrapper around Fetch API
Author: Aleksandr Klyavlin
Latest version: 1.1.0

# A little sugar to Fetch API

Axios-like request methods:

```ts
import { fetcher } from '@hastom/fetch'

await fetcher.get('https://google.com')
```

Auto-stringify get-params:

```ts
import { fetcher } from '@hastom/fetch'

await fetcher('https://google.com', {
  params: {
    query: 'string',
    and: ['also', 'arrays']
  }
})
```

Auto-strigify body to json and set content-type to application/json:

```ts
import { fetcher } from '@hastom/fetch'

await fetcher.post('https://google.com', {
  body: {
    query: 'string',
    and: ['also', 'arrays']
  }
})
```

Create instances with default params:

```ts
import { createFetchInstance } from '@hastom/fetch'

const authorizedFetch = createFetchInstance({
  headers: {
    Authorization: 'Bearer ...',
  },
})

await authorizedFetch.get('https://my-api.com/private-data')

```

and set base url:

```ts
import { createFetchInstance } from '@hastom/fetch'

const myApi = createFetchInstance({
  baseURL: 'https://my-api.com',
})

await myApi.get('/important-data')
```
npm package: @hastyai/react-scripts
Description: Configuration and scripts for Create React App.
Latest version: 3.3.0-hasty.1

# react-scripts

This package includes scripts and configuration used by [Create React App](https://github.com/facebook/create-react-app).<br>
Please refer to its documentation:

- [Getting Started](https://facebook.github.io/create-react-app/docs/getting-started) – How to create a new app.
- [User Guide](https://facebook.github.io/create-react-app/) – How to develop apps bootstrapped with Create React App.