open-index/open-npm huggingface dataset:
npm package: @keenmate/svelte-otp
Description: Customizable one time password input for svelte
Author: zelvaman
Latest version: 1.0.0

# svelte-otp (OneTimePassword)

Component for inputing one time passwords (commonly use to confirm sms). You can specify size a count of inputs.

- [svelte-otp (OneTimePassword)](#svelte-otp-onetimepassword)
  - [Functionality](#functionality)
  - [Props](#props)
  - [Example](#example)

## Functionality
  - specifying input size and count of separate inputs
  - change separator
  - automatically move to next checkbox if you
  - write on delete
  - moving with arrows
  - add classes to every element

## Props
  -  separator(default: "-") 
  -  value(default: [])
  -  valueWithSeparators(default: "" )
  -  onlyNumbers(default: true)
  -  chunksCount(default: 3)
  -  chunkLength(default: 3)
  -  inputClass(default: "otp-default-input")
  -  inputContainerClass(default: "")
  -  containerClass(default: "one-time-pass")
  -  separatorCLass(default: "")


## Example

``` javascript
<script>
  import OneTimePass from "svelte-otp";
  let value, onlyNumbers, chunksCount, chunkLength, valueWithSeparators;
</script>

<main>
  <h1>Svelte otp test</h1>
  <p />
  <OneTimePass
    bind:value
    bind:onlyNumbers
    bind:chunksCount
    {chunkLength}
    bind:valueWithSeparators
  />
</main>

<div>
  <h1>Options</h1>
  <div>
    onlyNumbers <input type="checkbox" bind:checked={onlyNumbers} />
  </div>
  <div>
    value: <input type="text" bind:value={valueWithSeparators} /> || {JSON.stringify(
      value
    )}
  </div>
  <div>chunks: <input type="number" bind:value={chunksCount} /></div>
  <div>chunkLength: <input type="number" bind:value={chunkLength} /></div>
</div>

```
npm package: @keenondrums/metadata-utils
Description: Convenience utils for reflected metadata
Author: keenondrums
Latest version: 1.0.1

# metadata-utils [![Build Status](https://travis-ci.org/keenondrums/metadata-utils.svg?branch=master)](https://travis-ci.org/keenondrums/metadata-utils) [![Coverage Status](https://coveralls.io/repos/github/keenondrums/metadata-utils/badge.svg?branch=master)](https://coveralls.io/github/keenondrums/metadata-utils?branch=master) [![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=Convenience%20utils%20for%20reflected%20metadata&url=https://github.com/keenondrums/metadata-utils&hashtags=javascript,typescript,metadata,reflection)

Convenience utils for reflected metadata.

<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->

- [Installation](#installation)
- [API](#api)
  - [getMetadataAndCache](#getmetadataandcache)

<!-- END doctoc generated TOC please keep comment here to allow auto update -->

## Installation

1. Run

   ```sh
   npm i @keenondrums/metadata-utils reflect-metadata
   ```

1. Add `import 'reflect-metadata'` to the root of your application

## API

### getMetadataAndCache

Gets metadata from the prototype (using [Relect.getMetadata](https://github.com/rbuckton/reflect-metadata#api)) and sets it as own metadata. Useful to enhance performance for retrieving metadata from ancestors. Has the same signature as [Relect.getMetadata](https://github.com/rbuckton/reflect-metadata#api).

```ts
import 'reflect-metadata'
import { getMetadataAndCache } from '@keenondrums/metadata-utils'

class Parent {}
Reflect.defineMetadata('key', 'value', Parent)

Reflect.getOwnMetadata('key', Parent) // returns 'value'
getMetadataAndCache('key', Parent) // returns 'value', basically calls Reflect.getOwnMetadata under the hood and does nothing else in this case

class Child extends Parent {}

Reflect.getOwnMetadata('key', Child) // returns `undefined` as Child doesn't have any own metadata for 'key'
getMetadataAndCache('key', Child) // returns 'value' from Parent and set it as own metadata
Reflect.getOwnMetadata('key', Child) // now it returns 'value'
```
npm package: @keenondrums/singleton
Description: Singleton. No constructor monkeypatching. Zero dependencies. Built with TypeScript.
Author: keenondrums
Latest version: 1.0.0

<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->

- [singleton](#singleton)
  - [Installation](#installation)
  - [Quick start](#quick-start)
  - [Usage without decorators](#usage-without-decorators)
  - [Inheritance](#inheritance)
  - [In depth](#in-depth)

<!-- END doctoc generated TOC please keep comment here to allow auto update -->

# singleton

Singleton. No constructor monkeypatching. Zero dependencies. Built with TypeScript.

## Installation

1.  Run
    ```sh
    npm i @keenondrums/singleton
    ```
1.  **(Optional)** Enable decorators

    1. If you use TypeScript set in you tsconfig.json

       ```json
       {
         "compilerOptions": {
           "experimentalDecorators": true
         }
       }
       ```

    1. If you use JavaScript configure your babel to support decorators and class properties

## Quick start

```ts
import { singleton } from '@keenondrums/singleton'

@singleton
class Test {}

new Test() === new Test() // returns `true`
```

## Usage without decorators

```ts
import { singleton } from '@keenondrums/singleton'

class Test {}
const TestSingleton = singleton(Test)

new TestSingleton() === new TestSingleton() // returns `true`
```

## Inheritance

Any child of your singleton will not be a singleton.

```ts
import { singleton } from '@keenondrums/singleton'

@singleton
class Parent {}

class Child extends Parent {}

new Child() === new Child() // returns `false`

// If you want to make `Child` a singleton as well, apply `singleton` decorator directly to it
@singleton
class ChildSingleton extends Parent {}

new ChildSingleton() === new ChildSingleton() // returns `true`
```

## In depth

`singleton` decorator wraps your class with a [Proxy](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy) and a [construct trap](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy/handler/construct) to override class' creation logic.

Your singleton instance is always available as a static property of a class by key `SINGLETON_KEY`.

```ts
import { singleton, SINGLETON_KEY } from '@keenondrums/singleton'

@singleton
class Test {}

const instance = new Test()
Test[SINGLETON_KEY] === instance // returns `true`
```
npm package: @keep-network/hardhat-helpers
Description: [Hardhat](https://hardhat.org) plugin from Keep Network.
Author: Jakub Nowakowski
Latest version: 0.7.2

# hardhat-plugin

[Hardhat](https://hardhat.org) plugin from Keep Network.

## What

This plugin contains helpers for Hardhat.

## Installation

```bash
yarn add --dev @keep-network/hardhat-helpers ethers@^5.0.32 hardhat-deploy@^0.8.11
```

Import the plugin in your `hardhat.config.js`:

```js
require("@keep-network/hardhat-helpers")
```

Or if you are using TypeScript, in your `hardhat.config.ts`:

```ts
import "@keep-network/hardhat-helpers"
```

## Environment extensions

This plugin extends the Hardhat Runtime Environment by adding an `helpers` field
whose type is `HardhatHelpers`.

## Usage

There are no additional steps you need to take for this plugin to work.

Install it and access `helpers` through the Hardhat Runtime Environment anywhere
you need it (tasks, scripts, tests, etc).

Example:

```js
hre.helpers.address.isValid(KeepToken.address)
```
npm package: @keep-network/hardhat-local-networks-config
Description: Local networks config plugin for Hardhat
Author: Facu Spagnuolo
Latest version: 0.1.0-pre.4

[![hardhat](https://hardhat.org/buidler-plugin-badge.svg?1)](https://hardhat.org)
[![CI Status](https://github.com/facuspagnuolo/hardhat-local-networks-config-plugin/workflows/CI/badge.svg)](https://github.com/facuspagnuolo/hardhat-local-networks-config-plugin/actions)

# hardhat-local-networks-config-plugin

Allow loading network configs for Hardhat projects from external file.

## What

This plugin allows you to specify a local configuration file to populate the Hardhat's networks config.
This means users can keep critical information stored locally without risking it to the project's devs or users.
For example, you can keep your providers keys or private keys in a secured directory without exposing them.

## Installation

Install dependency from NPM:

```bash
npm install hardhat-local-networks-config-plugin hardhat
```

And add the following statement to your `hardhat.config.js`:

```js
require('hardhat-local-networks-config-plugin')
```

Or, if you are using TypeScript, add this to your hardhat.config.ts:

```ts
import 'hardhat-local-networks-config-plugin';
```

## Required plugins

This plugin does not require any extra plugin.

## Tasks

This plugin creates no additional tasks.

## Environment extensions

This plugin does not perform any environment extension.

## Configuration

This plugin extends the `HardhatUserConfig` object with an optional `localNetworksConfig` field.

This is an example of how to set it:

```js
module.exports = {
  localNetworksConfig: '~/.hardhat/networks.ts'
}
```

In case a `localNetworksConfig` is not provided, the plugin will try to read it from `~/.hardhat/networks.json`.

Note that both JS/TS and JSON formats are supported.

## Usage

The local configuration file should support the following interface, any other field will be simply ignored:

```ts
export interface LocalNetworksConfig {
  networks?: NetworksUserConfig
  defaultConfig?: NetworkUserConfig
}
```

Where `NetworksUserConfig` and `NetworkUserConfig` are base types defined by Hardhat.

In case there is a conflict between any of the local network configs, the default one, or the ones defined in your
project, the following list of priorities will be enforced:

1. Local network specific configuration (`localNetworksConfig`).
2. Project network specific configuration.
3. Default local network configuration (`~/.hardhat/networks.json`).

A local configuration file could look as follows:

```json
{
  "networks": {
    "rinkeby": {
      "gasMultiplier": 2,
      "accounts": ["0x12..56","0xab..cd"],
      "url": "https://rinkeby.infura.io/v3/<API_KEY>"
    },
    "mainnet": {
      "accounts": ["0x12..56","0xab..cd"],
      "url": "https://mainnet.infura.io/v3/<API_KEY>"
    }
  },
  "defaultConfig": {
    "gasPrice": "auto"
  }
}
```
npm package: @keep2zero/jsdoc-webpack-plugin
Description: JsDoc Webpack Plugin
Author: Mitko Tschimev
Latest version: 0.0.2

jsdoc-webpack-plugin
==========================


WebPack plugin that runs [jsdoc](http://usejsdoc.org/) on your bundles

# Usage
In webpack.config.js:
```javascript
var webpack = require('webpack');
var JsDocPlugin = require('jsdoc-webpack-plugin');

module.exports = {
    /// ... rest of config
    plugins: [
        new JsDocPlugin({
            conf: './jsdoc.conf'
        })
    ]
}

```

There are two ways how this plugin recognizes the files

1. It takes the information from the jsdoc config file "source.include"
2. If no "source.include" provided, it takes the whole files from your bundles
npm package: @keepchen/simditor
Description: A simple online editor
Author: farthinker
Latest version: 2.3.7
Deprecated: -

[![Build Status](https://circleci.com/gh/mycolorway/simditor.png?circle-token=d1e5efa8fbb4ca55af41cb2decc1c7ea40974e7d)](https://circleci.com/gh/mycolorway/simditor)

Simditor is a browser-based WYSIWYG text editor.

It is used by [Tower](http://tower.im) -- a popular project management web application.

Supported Browsers: IE10+、Chrome、Firefox、Safari.
* [Download Zip](https://github.com/mycolorway/simditor/releases)
* Install with npm: $ npm install simditor</li>
* Install with bower: $ bower install simditor</li>

Demo and docs can be found [here](http://simditor.tower.im/).


### IMPORTANT NOTICE

If you want to submit issues, please make sure you can reproduce the issue and please attach enough debug information(OS, browser, Simditor version, error message, steps to reproduce the issue or a live demo), or I'll probably close the issue directly :(
npm package: @keepclaw/diet-record-test
Description: OpenClaw skill for diet recording — log meals via text or food photo, auto-recognize food items and estimate nutrition/calories.
Latest version: 1.0.1

# diet-record

OpenClaw skill for diet recording — log meals via text description or food photo, auto-recognize food items and estimate nutrition/calories.

## Install

```bash
npx diet-record
```

This copies the skill files into your OpenClaw workspace (`~/.openclaw/workspace/skills/diet-record/`). Start a new session with `/new` to activate.

### Options

```bash
# Install to global skills (shared by all agents)
npx diet-record install --global

# Install to a custom directory
npx diet-record install --dir /path/to/skills

# Uninstall
npx diet-record uninstall
```

## Features

- Log meals via text description or food photo upload
- Auto-recognize food items and estimate calories/nutrition
- Track user dietary preferences, allergies, and goals
- Daily/weekly nutrition summary
- Supports Chinese and Western cuisines

## Manual Install

If you prefer not to use npx, copy the `SKILL.md` file directly:

```bash
cp SKILL.md ~/.openclaw/workspace/skills/diet-record/SKILL.md
```

## License

MIT
npm package: @keepcoding/bin
Description: Simple node library to convert string to binary and binary to string
Author: Madhav Dubey
Latest version: 1.0.12

# Bin

The Bin is a simple node js library to convert string to binary and binary to string.

## How to use

import `bin`

```javascript
const bin = require("@keepcoding/bin");
```

Convert string into **`Binary`**

```javascript
// for space between every byte
const gap = true;

const binary = bin.binary("hello" , gap);

console.log(binary);

// output will be
// 01101000 01100101 01101100 01101100 01101111
```

Convert binary to **`String`**

```javascript
const string = bin.string("0110100001100101011011000110110001101111");

console.log(binary);

// output will be
// hello
```

Prettify your **`Binary`**
```javascript
const text = "Hello World";
/* 
    skip used to decide how many skips will be there,
    deafult value of skip is 8
*/
const skip = 8;
/*
    symbol decides which symbol will be used between,
    default value of symbol is " "
*/
const symbol = " ";
let binary = bin.gap(text , skip , symbol);

/*
    Output
    "01001000 01100101 01101100 01101100 01101111 00100000 
    01010111 01101111 01110010 01101100 01100100"
*/
```