open-index/open-npm huggingface dataset:
npm package: @kenzhemir/fastify-crud
Description: Fastify plugin for creating CRUD routes
Author: Miras Kenzhegaliyev
Latest version: 0.1.3

# fastify-crud

[![Mutation testing badge](https://img.shields.io/endpoint?style=flat&url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.com%2Fkenzhemir%2Ffastify-crud%2Fmain)](https://dashboard.stryker-mutator.io/reports/github.com/kenzhemir/fastify-crud/main)
[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

Fastify Plugin to create CRUD routes. This plugin is good for fast prototyping.

## Installation

```shell
npm i @kenzhemir/fastify-crud
```

## Usage

```javascript
import Fastify from 'fastify'
import crudPlugin from 'fastify-crud-plugin'

const fastify = Fastify()

fastify.register(crudPlugin, {
  baseUrl: '/api/v1/books',
  create: async (resource) => {/* Insert resource into DB */},
  read: async (resourceId) => {/* Select resource from DB */},
  update: async (resourceId, resource) => {/* Update resource in DB */},
  delete: async (resourceId) => {/* Delete resource from */},
  schemas: {
    IdParam: {/*...*/},
    CreateBody: {/*...*/},
    UpdateBody: {/*...*/}
  }
})

fastify.listen(3000)
```

## Options

- `baseUrl` **(required)**: This URL is used to create the routes.
- `create`: This function is used to create a resource for the POST {baseUrl} route.
- `read`: This function is used to read a resource for the GET {baseUrl}/:id route.
- `update`: This function is used to update a resource for the PUT {baseUrl}/:id route.
- `delete`: This function is used to delete a resource for the DELETE {baseUrl}/:id route.
- `schemas`: Optional validation schemas
  - `IdParam`: Schema for validating :id parameter. Adding validation schema can impact the id argument.
  - `CreateBody`: Schema for validating resource for `Create`.
  - `UpdateBody`: Schema for validating resource for `Update`.
- `defaultRouteParams`: Object that will be used as a base for all the Route objects. This is an escape hatch in case you want to minimally configure the Routes' behaviour
npm package: @kenzic/pitch-cli
Description: ## Introduction
Latest version: 0.9.5
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# Pitch CLI

## Introduction

The Pitch CLI is a command-line interface for the Open AI Fine Tuning API that allows you to perform all the file and fine tuning opperations. Files can be uploaded in `JSONL` or [Story format](https://github.com/kenzic/story)

## Installation

```bash
yarn add @kenzic/pitch-cli
```

## Usage

**Upload file and start fine tuning**

```bash
$ pitch start input.jsonl

# or

$ pitch start -f story input.jsonl
```

For more information on the story format, see "[Story format documentation](https://github.com/kenzic/story)"
npm package: @kenzic/quick-cli-prompt
Description: ## Introduction
Latest version: 1.0.1

# Quick CLI Prompt

## Introduction

Stupid simple CLI prompt for JavaScript. Helpful when prototyping or creating simple CLI tools.

## Installation

```bash
npm install @kenzic/quick-cli-prompt
```

## Usage

```javascript
import quickCLIPrompt from '@kenzic/quick-cli-prompt';

quickCLIPrompt(async (input) => {
  const output = await doSomethingWithInput(input);
  console.log(output);
});
```
npm package: @kenzie-capstone/proj-capstone-lib
Description: Made with create-react-library
Latest version: 0.1.0

# proj-capstone-lib

> Made with create-react-library

[![NPM](https://img.shields.io/npm/v/proj-capstone-lib.svg)](https://www.npmjs.com/package/proj-capstone-lib) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

## Install

```bash
npm install --save proj-capstone-lib
```

## Usage

```tsx
import React, { Component } from 'react'

import MyComponent from 'proj-capstone-lib'
import 'proj-capstone-lib/dist/index.css'

class Example extends Component {
  render() {
    return <MyComponent />
  }
}
```

## License

MIT © [](https://github.com/)