open-index/open-npm huggingface dataset:
npm package: @halagram/captain-ms-cli
Description: Command line tool for @halagram/captain-ms npm module
Author: Ikechukwu Kalu
Latest version: 0.2.4

# Captain-ms CLI

[![NPM Version](https://img.shields.io/npm/v/@halagram/captain-ms-cli.svg?style=flat)](https://www.npmjs.org/package/commander)
[![NPM Downloads](https://img.shields.io/npm/dm/@halagram/captain-ms-cli.svg?style=flat)](https://www.npmjs.org/package/commander)

This is a Command Line Interface app for the [captain-ms](https://www.npmjs.com/package/@halagram/captain-ms) NPM module. It is used to create a Service template.

## Installation
This module should be installed globally using the command below
```
npm install -g @halagram/captain-ms-cli
```

## Command for creating a Service
```
$ captain-ms-cli users_service [options]
```
This creates a service with name, 'users_service'. You can specify optional parameters to configure the Service. Ex
```
$ captain-ms-cli users_service --port 3000 -M User
```
This creates a users service and then sets the default listen port to 3000 and the database model is User

A full list of options is given below:
```
-P 3000 or --port 3000 => this sets the default listen port to 3000

-L AppTag or --logger AppTag => this sets the logger tag to AppTag

-D users or --database users => this configures the service to use the 'users' database

-M User or --model User => this sets the model name

-F no or --folder no => this tells the app not to create the service in its own separate directory
```
npm package: @halatao23/stacktech-library-react
Description: A modern React UI library built with SASS
Author: halatao23
Latest version: 0.1.5

# StackTech React UI Library

A modern React UI library built with TypeScript and SASS.

## Installation

```bash
npm install stacktech-library-react
```

## Usage

```tsx
import { Button } from 'stacktech-library-react';

function App() {
  return (
    <Button 
      variant="primary" 
      size="medium" 
      onClick={() => console.log('Button clicked!')}
    >
      Click me
    </Button>
  );
}
```

## Components

### Button

A versatile button component with multiple variants and sizes.

#### Props

| Prop | Type | Default | Description |
|------|------|---------|-------------|
| children | ReactNode | required | Button contents |
| onClick | () => void | undefined | Click handler |
| variant | 'primary' \| 'secondary' \| 'outline' | 'primary' | Button style variant |
| size | 'small' \| 'medium' \| 'large' | 'medium' | Button size |
| disabled | boolean | false | Disabled state |

#### Example

```tsx
<Button 
  variant="primary"
  size="large"
  onClick={() => console.log('Clicked!')}
  disabled={false}
>
  Click me
</Button>
```

## Development

1. Clone the repository
2. Install dependencies:
   ```bash
   npm install
   ```
3. Start development server:
   ```bash
   npm run dev
   ```
4. Build the library:
   ```bash
   npm run build
   ```

## License

MIT
npm package: @halborn-labs/snapshot.js
Description: [![npm](https://img.shields.io/npm/v/@snapshot-labs/snapshot.js?label=npm)](https://www.npmjs.com/package/@snapshot-labs/snapshot.js)
Latest version: 0.1.2

# Snapshot.js

[![npm](https://img.shields.io/npm/v/@snapshot-labs/snapshot.js?label=npm)](https://www.npmjs.com/package/@snapshot-labs/snapshot.js)

### Install
Snapshot.js was designed to work both in the browser and in Node.js.

#### Node.js
To install Snapshot.js on Node.js, open your terminal and run:
```
npm i @snapshot-labs/snapshot.js
```

#### Browser
You can create an index.html file and include Snapshot.js with:
```html
<script src="https://cdn.jsdelivr.net/npm/@snapshot-labs/snapshot.js"></script>
```
### Development

#### Install dependencies
```bash
yarn
```

#### Build package
```bash
yarn build
```

### License
[MIT](LICENSE).
npm package: @halchester/esdb
Description: In memory database to play around with!
Author: Chester Lynn
Latest version: 1.0.3
Deprecated: reason message

# ESDB (easy database)

ESDB is an in memory database which supports basic CRUD operations.

### Installation and Usage

You can initialize your db with 

```
import generateDB from '@halchester/esdb'

interface dataSchema {
  name: string;
  email: string;
  age: number;
}

const myDB = generateDB<dataSchema>(data);
```

There are 5 main methods you can use with your database. 

```
// Get all your data in your db
myDB.getAll()

// Get a particular item with id
myDB.getById(id)

// Remove an entry with id 
myDB.remove(id)

// Update an entry with id and new data for that
myDB.remove(id, newData)

// Adding new data
myDB.add(data)
```

### Purpose and reasons

An in-memory database is a type of database that relies primarily on memory for data storage, in contrast to databases that store data on disk or SSDs. Because all data is stored and managed exclusively in main memory, it is at risk of being lost upon a process or server failure. In-memory databases can persist data on disks by storing each operation in a log or by taking snapshots. This project illustrates what an in memory database looks like for CRUD operations

### Contributions

Contributions of any kind is welcomed :)
npm package: @halcyon-agile/adonis-kafka
Description: Kafka Provider for AdonisJs
Author: jericopulvera,halcyon-agile
Latest version: 0.3.3

<h2>A Kafka</a> provider for <a href="https://adonisjs.com/">AdonisJS</a>

</br>

<h2>
Adonis Kafka provides an easy way to start using Kafka.
</h2>

<div>

[![npm-image]][npm-url] ![][typescript-image] [![license-image]][license-url] [![synk-image]][synk-url]

</div>

</br>

> API is based on https://github.com/Frubana/adonis-kafka and depends on [kafkajs](https://kafka.js.org/)

</br>

## Getting Started

Let's start by installing the package in our project.

**Yarn**:

```sh
yarn add @halcyon-agile/adonis-kafka
```

**NPM**:

```sh
npm install @halcyon-agile/adonis-kafka
```

## Setup

You can configure the project by running the following command:

```sh
node ace invoke @halcyon-agile/adonis-kafka
```

### Adding Topics

```sh
node ace make:prldfile kafka
```

```ts
// start/kafka.ts
import Kafka from '@ioc:Kafka'

// Callback function
Kafka.on('topic_name', async (data, commit) => {
  commit() // For successful transaction
  commit(false) // For failed transaction
})

// Multiple topics
Kafka.on('topic_name_1,topic_name_2,topic_name_3', async (data, commit) => {
  commit() // For successful transaction
  commit(false) // For failed transaction
})
```

[typescript-image]: https://img.shields.io/badge/Typescript-294E80.svg?style=for-the-badge&logo=typescript
[typescript-url]: "typescript"
[npm-image]: https://img.shields.io/npm/v/@halcyon-agile/adonis-kafka.svg?style=for-the-badge&logo=npm
[npm-url]: https://npmjs.org/package/@halcyon-agile/adonis-kafka 'npm'
[license-image]: https://img.shields.io/npm/l/@halcyon-agile/adonis-kafka?color=blueviolet&style=for-the-badge
[license-url]: LICENSE.md 'license'
[synk-image]: https://img.shields.io/snyk/vulnerabilities/github/halcyon-agile/adonis-kafka?label=Synk%20Vulnerabilities&style=for-the-badge
[synk-url]: https://snyk.io/test/github/halcyon-agile/adonis-kafka?targetFile=package.json 'synk'
npm package: @halcyonapps/davai
Description: Davai is a fully typed style system and accessible component library built on top of TailwindCSS.
Author: durkdotdev
Latest version: 0.0.11

# @halcyonapps/davai

Davai is a fully typed style system and accessible component library built on top of TailwindCSS.

## Documentation

[https://davai.style](https://davai.style)

## Install

Davai consists of multiple packages which can be imported individually. To install the full suite, simply install the `@halcyonapps/davai` package:

```bash
npm install @halcyonapps/davai
# or
yarn add @halcyonapps/davai
```

## Getting Started

To use Davai, please do the following steps:

1. Add Davai's `node_modules` files and TailwindCSS present to your `tailwind.config.js`:

```js
/** @type {import('tailwindcss').Config} */
module.exports = {
  content: [
    // ...
    "../path/to/node_modules/@halcyonapps/**/*.js"
  ]
  // ...
  presets: [require("@halcyonapps/davai/tailwind.config")]
};
```

2. Now you may start using Davai's components:

```tsx
import { box } from "@halcyonapps/davai";

<div className={box({ bg: "bg-blue-200" })} />;
```