open-index/open-npm huggingface dataset:
npm package: @onlydann/validator-form
Description: Create validation forms easily
Author: Dann
Latest version: 1.0.2

# Tool for creating text validation forms and use in both sides (frotend, backend)

### Use this package in react with [@onlydann/react-validator](https://www.npmjs.com/package/@onlydann/react-validator), and in react native with [@onlydann/native-validator](https://www.npmjs.com/package/@onlydann/native-validator)

## Install

```shell
npm install @onlydann/validator-form
```

### Or

```shell
yarn add @onlydann/validator-form
```

## Usage

```js
import { ValidatorForm, Validator } from "react-validator-form";

const form = new ValidatorForm({
  name: new Validator("", [Validator.minLength(4), Validator.maxLength(16)]),

  password: new Validator("", [
    Validator.password(8, { maxLength: 10, bothCases: true }),
    Validator.required,
  ]),
});
```

## Change values and get errors

```js
form.fields.password.change("1234asd");
// or
form.change("password", "1234asd");

// errors
if (!form.valid) {
  if (form.errors?.password?.required) {
    console.log("Password is required");
  }

  if (form.errors?.name?.minLength) {
    console.log(
      `Name's minimum length is ${form.errors.name.minLength.allowedLength}, current length is ${form.errors.name.minLength.currentLength}.`
    );
  }
}
```

## Sending and getting forms

```js
// Client Side
const json = form.toJSON();

anyFetch("api/loging", { body: json });

// Server Side
const newForm = ValidatorForm.parse(req.body);
if (newForm.valid) {
  return res.json({ msg: "Form is valid" });
} else {
  return res.json({ msg: "Invalid form" });
}
```
npm package: @onlydocs/vue3
Description: 基于 only office 封装的 vue3 组件库,需要结合 only office 服务端部署使用。
Author: onlydocs
Latest version: 1.0.9

# Vue 3 + TypeScript + Vite

This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.

Learn more about the recommended Project Setup and IDE Support in the [Vue Docs TypeScript Guide](https://vuejs.org/guide/typescript/overview.html#project-setup).
npm package: @onlydust/kaaper
Description: Documentation Generator for Starknet
Latest version: 0.1.6

<p align="center">
    <img src="resources/img/logo.png">
</p>
<div align="center">
  <h1 align="center">Kaaper</h1>
  <p align="center">
    <a href="https://discord.gg/onlydust">
        <img src="https://img.shields.io/badge/Discord-6666FF?style=for-the-badge&logo=discord&logoColor=white">
    </a>
    <a href="https://twitter.com/intent/follow?screen_name=onlydust_xyz">
        <img src="https://img.shields.io/badge/Twitter-1DA1F2?style=for-the-badge&logo=twitter&logoColor=white">
    </a>
    <a href="https://contributions.onlydust.xyz/">
        <img src="https://img.shields.io/badge/Contribute-6A1B9A?style=for-the-badge&logo=notion&logoColor=white">
    </a>
  </p>
  
  <h3 align="center">Documentation generator for Cairo projects.</h3>
</div>

> ## ⚠️ WARNING! ⚠️
>
> This repo contains highly experimental code.
> Expect rapid iteration.

## 🎟️ Description

Kaaper is a tool to generate documentation for Cairo projects.
It allows you to extract code documentation from your project and generate yaml files that can be used to generate documentation.
Kaaper supports both Natspec and Google documentation standards.

## 🎗️ Prerequisites
[Node JS](https://nodejs.org/), preferably 16.xx  
[Yarn](https://classic.yarnpkg.com/lang/en/docs/install/)


## 📦 CLI Installation
Kaaper is now available as an [NPM package](https://www.npmjs.com/package/@onlydust/kaaper).
The installation instructions show how to install kaaper using either `yarn` or `npm`.
```
npm install -g @onlydust/kaaper
yarn global add @onlydust/kaaper
```

Or install locally : Navigate to CLI directory
```
cd cli
```

Install the required dependencies
```
yarn
npm install
```

Install CLI locally
```
yarn create
yarn local
```
or
```
npm run create
npm run local
```

## 🔬 Usage


To see available commands
```
kaaper
```

## Generate docs
```
kaaper generate <rootdir> <outdir>
```

Generate docs (comment only)
```
kaaper generate --comment <rootdir> <outdir>

```
The command generates documentation for google-compliant contracts by default.
To Generate docs for natspec-compliant contracts, use
```
kaaper generate --standard natspec <rootdir> <outdir>
```

## Check comment compliancy
```
kaaper check-compliance <rootdir> [--standard natspec|google]
```



## 🌡️ Testing
```
yarn test
```

## 🫶 Contributing

## 📄 License

**kaaper** is released under the [MIT](LICENSE).

## ❓ Reference 

Kaaper, also commonly known as Sheikh el-Beled, was an ancient Egyptian scribe and priest who lived between the late 4th Dynasty and the early 5th Dynasty (around 2500 BCE).

The job of a scribe was to record in writing the everyday life and extraordinary happenings in ancient Egypt.

A documentation generator has pretty much the same duties as a scribe, right?