open-index/open-npm huggingface dataset:
npm package: @lvi/ink-select-input
Description: Select input component for Ink
Author: Vadim Demedes
Latest version: 4.2.1

# ink-select-input [![test](https://github.com/vadimdemedes/ink-select-input/workflows/test/badge.svg)](https://github.com/vadimdemedes/ink-select-input/actions)

> Select input component for [Ink](https://github.com/vadimdemedes/ink)

Looking for a version compatible with Ink 2.x? Check out [this release](https://github.com/vadimdemedes/ink-select-input/tree/v3.1.2).

## Install

```
$ npm install ink-select-input
```

## Usage

```jsx
import React from 'react';
import {render} from '@lvi/ink';
import SelectInput from 'ink-select-input';

const Demo = () => {
	const handleSelect = item => {
		// `item` = { label: 'First', value: 'first' }
	};

	const items = [
		{
			label: 'First',
			value: 'first'
		},
		{
			label: 'Second',
			value: 'second'
		},
		{
			label: 'Third',
			value: 'third'
		}
	];

	return <SelectInput items={items} onSelect={handleSelect} />;
};

render(<Demo />);
```

<img src="media/demo.gif" width="508">

## Props

### items

Type: `array`<br>
Default: `[]`

Items to display in a list. Each item must be an object and have `label` and `value` props, it may also optionally have a `key` prop.
If no `key` prop is provided, `value` will be used as the item key.

### isFocused

Type: `boolean`<br>
Default: `true`

Listen to user's input. Useful in case there are multiple input components at the same time and input must be "routed" to a specific component.

### initialIndex

Type: `number`
Default: `0`

Index of initially-selected item in `items` array.

### limit

Type: `number`

Number of items to display.

### indicatorComponent

Type: `Component`

Custom component to override the default indicator component.

### itemComponent

Type: `Component`

Custom component to override the default item component.

### onSelect

Type: `function`

Function to call when user selects an item. Item object is passed to that function as an argument.

### onHighlight

Type: `function`

Function to call when user highlights an item. Item object is passed to that function as an argument.
npm package: @lvi/ink-text-input
Description: Text input component for Ink
Author: Vadim Demedes
Latest version: 4.0.2

# ink-text-input ![test](https://github.com/vadimdemedes/ink-text-input/workflows/test/badge.svg)

> Text input component for [Ink](https://github.com/vadimdemedes/ink).

Looking for a version compatible with Ink 2.x? Check out [this release](https://github.com/vadimdemedes/ink-text-input/tree/v3.3.0).

## Install

```
$ npm install ink-text-input
```

## Usage

```jsx
import React, { useState } from 'react';
import { render, Box, Text } from '@lvi/ink';
import TextInput from 'ink-text-input';

const SearchQuery = () => {
	const [query, setQuery] = useState('');

	return (
		<Box>
			<Box marginRight={1}>
				<Text>Enter your query:</Text>
			</Box>

			<TextInput value={query} onChange={setQuery} />
		</Box>
	);
};

render(<SearchQuery />);
```

<img src="media/demo.gif" width="556">

## Props

### value

Type: `string`

Value to display in a text input.

### placeholder

Type: `string`

Text to display when `value` is empty.

### showCursor

Type: `boolean`\
Default: `true`

Whether to show cursor and allow navigation inside text input with arrow keys.

### highlightPastedText

Type: `boolean`\
Default: `false`

Highlight pasted text.

### mask

Type: `string`

Replace all chars and mask the value. Useful for password inputs.

```jsx
<TextInput value="Hello" mask="*" />
//=> "*****"
```

### onChange

Type: `Function`

Function to call when value updates.

### onSubmit

Type: `Function`

Function to call when `Enter` is pressed, where first argument is a value of the input.

## Uncontrolled usage

This component also exposes an [uncontrolled](https://reactjs.org/docs/uncontrolled-components.html) version, which handles `value` changes for you. To receive the final input value, use `onSubmit` prop.

```jsx
import React from 'react';
import { render, Box, Text } from '@lvi/ink';
import { UncontrolledTextInput } from 'ink-text-input';

const SearchQuery = () => {
	const handleSubmit = query => {
		// Do something with query
	};

	return (
		<Box>
			<Box marginRight={1}>
				<Text>Enter your query:</Text>
			</Box>

			<UncontrolledTextInput onSubmit={handleSubmit} />
		</Box>
	);
};

render(<SearchQuery />);
```
npm package: @lvi/yoga-layout-prebuilt
Description: Prebuilt yoga-layout package
Author: Vadim Demedes
Latest version: 1.10.0

# yoga-layout-prebuilt [![test](https://github.com/vadimdemedes/yoga-layout-prebuilt/workflows/test/badge.svg)](https://github.com/vadimdemedes/yoga-layout-prebuilt/actions)

> Prebuilt [yoga-layout](https://github.com/facebook/yoga) package


## Install

```
$ npm install yoga-layout-prebuilt
```


## Usage

```js
import Yoga from 'yoga-layout-prebuilt';
// Same as if imported from yoga-layout
```


## License

MIT © [Vadim Demedes](https://github.com/vadimdemedes/yoga-layout-prebuilt)
npm package: @lvigil/http-error
Description: HTTP Error based on @lvigil/err
Author: Ben P.P. Tung
Latest version: 3.1.1

# http-error

HTTP Error utilities based on [@lvigil/err](https://www.npmjs.com/package/@lvigil/err).

## Install

```bash
pnpm add @lvigil/http-error
```

## Usage

```js
import { NotFound, BadRequest, HttpErr, OnErNotFound } from '@lvigil/http-error'

// 404
if (!user) throw NotFound({ userId })

// 400 with context
if (!valid) throw BadRequest({ input })

// Generic HTTP error
throw HttpErr(403, { userId, path, grant, gate })

// Wrap existing error
catch (err) {
  throw OnErNotFound(err, { userId })
}
```

## API

- `HttpErr(status, [context_dict], [flag_dict])` - Generic HTTP error (400-599)

Shorthand for common HTTP errors:

- `NotFound()`, `BadRequest()`, `Unauthorized()`, `Forbidden()`, `InternalServerErr()`, etc.

- `OnErNotFound(err)`, `OnErBadRequest(err)`, etc. - Wrap existing errors

All errors have `.status` property.

`err.message` is always HTTP status text (e.g. "Not Found"). Use `.m()` to append messages for debugging.

```js
throw NotFound({ userId }).m('user lookup failed')
// err.message === 'Not Found'
// err.msgs === ['Not Found', 'user lookup failed']
```

`OnEr<Name>` error instance also set `err.message` to HTTP status text, but preserve the original message in history:

```js
const e = new Error('db connection failed')
throw OnErInternalServerErr(e)
// err.message === 'Internal Server Error'
// err.msgs === ['db connection failed', 'Internal Server Error']
```

See [@lvigil/err](https://github.com/benpptung/err) for the full error API.

See `src/http-err.js` exports for the full list of HTTP errors.
npm package: @lvilcarromero/icons-solution-one
Description: Made with create-react-library
Latest version: 2.6.0

# my-icon-lib

> Made with create-react-library

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

## Install

```bash
npm install --save my-icon-lib
```

## Usage

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

import MyComponent from 'my-icon-lib'
import 'my-icon-lib/dist/index.css'

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

## License

MIT © [](https://github.com/)
npm package: @lvilcarromero/icons-solution-three
Description: Made with create-react-library
Latest version: 2.4.0

# my-icon-lib

> Made with create-react-library

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

## Install

```bash
npm install --save my-icon-lib
```

## Usage

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

import MyComponent from 'my-icon-lib'
import 'my-icon-lib/dist/index.css'

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

## License

MIT © [](https://github.com/)
npm package: @lvilcarromero/icons-solution-two
Description: Made with create-react-library
Latest version: 2.3.0

# my-icon-lib

> Made with create-react-library

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

## Install

```bash
npm install --save my-icon-lib
```

## Usage

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

import MyComponent from 'my-icon-lib'
import 'my-icon-lib/dist/index.css'

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

## License

MIT © [](https://github.com/)
npm package: @lvisei/li-zelda-assets
Description: Standard Tooling for location insight assets
Author: lvisei
Latest version: 0.0.7

# li-zelda-assets

> Zelda Assets for [L7VP](https://locationinsight.antv.antgroup.com) App

## Player

🎮 [Online Experience](https://locationinsight.antv.antgroup.com/#/app/30dd22f0-99a4-4ae2-8858-91b00e7bbe87?type=case&embed=true)

<table>
<tr>
 <td style="text-align: center;"><image src="https://github.com/lvisei/li-zelda-assets/assets/26923747/fe1939a7-626b-4a07-89be-a748ff81fc17">
 <td style="text-align: center;"><image src="https://github.com/lvisei/li-zelda-assets/assets/26923747/819ba8e7-cee2-4694-9173-7b176d6826f5">
</table>

<image width="100%" src="https://github.com/lvisei/li-zelda-assets/assets/26923747/ef632093-3ad0-4ae4-848a-09625c0248db">

## Developer

### Install

```bash
npm i @lvisei/li-zelda-assets -S
```

### Usage

```jsx | pure
import React from 'react';
import Assets from '@lvisei/li-zelda-assets';
import { LocationInsightEditor } from '@antv/li-editor';
import defaultApplication from './application';

const assets = [Assets];

export default () => {
  return (
    <LocationInsightEditor
      style={{ height: '100vh' }}
      defaultApplication={defaultApplication}
      assets={assets}
      onChange={(app) => {}}
    />
  );
};
```
npm package: @lvivier/rets.js
Description: Simplified RETS Node Client
Latest version: 0.0.8

# rets.js [![Travis](https://img.shields.io/travis/retsr/rets.js.svg)](https://travis-ci.org/retsr/rets.js) [![Coverage Status](https://coveralls.io/repos/retsr/rets.js/badge.svg?branch=master)](https://coveralls.io/r/retsr/rets.js?branch=master)

> Simplified RETS Node Client

rets.js aims to simplify interacting with Real Estate Transaction Standard
compliant servers using Node.js. Specifically RETS Version 1.8.
It is an effort to bring a properly functioning and performant libRETS
implementation to the Node.js community.

This library is _not_ a libRETS wrapper, but seeks to provide a
similar API interface while offering additional feature support that Node.js
developers have come to rely on like events and streaming.

A secondary but still important goal is to keep the code as simple to read as
possible to help developers understand the RETS Specification.

More information about RESO and the RETS 1.8 Specification can be found at the
[RESO](http://www.reso.org) and [Specification Documentation](http://www.reso.org/specifications)
sites respectively.

## Install

    npm install --save rets.js

## Testing

    npm run test-watch

## Examples

You can find a number of examples in the [examples](examples) directory

## Contributing

See [CONTRIBUTING](CONTRIBUTING.md) for details on submitting patches and the contribution workflow.

## License

See [LICENSE](LICENSE)
npm package: @lvjiaxuan/prettier-config
Description: Lvjx's personal prettier config
Author: lvjiaxuan
Latest version: 0.1.0

# @lvjiaxuan/prettier-config

[![npm](https://img.shields.io/npm/v/@lvjiaxuan/prettier-config)](https://www.npmjs.com/package/@lvjiaxuan/prettier-config)

> Lvjx's personal prettier config

## Usage

Install:
```bash
npm i @lvjiaxuan/prettier-config -D
pnpm add @lvjiaxuan/prettier-config -D
yarn add @lvjiaxuan/prettier-config -D
# antfu/ni
ni @lvjiaxuan/prettier-config -D
```

*package.json*:
```json
{
  "prettier": "@lvjiaxuan/prettier-config"
}
```