open-index/open-npm huggingface dataset:
npm package: @leesiongchan/neutrino-middleware-react-css-modules
Description: Neutrino middleware for importing and loading stylesheets from modules
Author: Lee Siong Chan
Latest version: 8.0.13

# Neutrino React CSS Modules Middleware
[![NPM version][npm-image]][npm-url] [![NPM downloads][npm-downloads]][npm-url]

`neutrino-middleware-react-css-modules` is Neutrino middleware for loading and importing stylesheets using css-modules.

## Requirements

- Node.js v6.10+
- Yarn or npm client
- Neutrino v7

## Installation

`neutrino-middleware-react-css-modules` can be installed via the Yarn or npm clients.

#### Yarn

```bash
❯ yarn add @leesiongchan/neutrino-middleware-react-css-modules
```

#### npm

```bash
❯ npm install --save @leesiongchan/neutrino-middleware-react-css-modules
```

## Usage

`neutrino-middleware-react-css-modules` can be consumed from the Neutrino API, middleware, or presets. Require this package
and plug it into Neutrino:

```js
// Using function middleware format
const reactCssModules = require('@leesiongchan/neutrino-middleware-react-css-modules');

// Use with default options
neutrino.use(reactCssModules);

// Usage showing default options
neutrino.use(reactCssModules, {
  generateScopedName: '[path]_[local]_[hash:base64:5]',
  webpackHotModuleReloading: true,
});
```

```js
// Using object or array middleware format

// Use with default options
module.exports = {
  use: ['@leesiongchan/neutrino-middleware-react-css-modules'],
};

// Usage showing default options
module.exports = {
  use: [
    ['@leesiongchan/neutrino-middleware-react-css-modules', {
      generateScopedName: '[path]_[local]_[hash:base64:5]',
      webpackHotModuleReloading: true,
    }],
  ],
};
```

[npm-image]: https://img.shields.io/npm/v/@leesiongchan/neutrino-middleware-react-css-modules.svg
[npm-downloads]: https://img.shields.io/npm/dt/@leesiongchan/neutrino-middleware-react-css-modules.svg
[npm-url]: https://npmjs.org/package/@leesiongchan/neutrino-middleware-react-css-modules
npm package: @leesuhyung/cra-template-typescript
Description: A quick start Create React App template with React, TypeScript, Custom ESlint configurations
Author: leesuhyung
Latest version: 1.0.21

[![npm version](https://badge.fury.io/js/@leesuhyung%2Fcra-template-typescript.svg)](https://badge.fury.io/js/@leesuhyung%2Fcra-template-typescript)
[![Action status](https://github.com/leesuhyung/cra-template-typescript/workflows/CI/badge.svg?branch=main)](https://github.com/leesuhyung/cra-template-typescript/actions)
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)

# @leesuhyung/cra-template-typescript

This is the official TypeScript template for [Create React App](https://github.com/facebook/create-react-app).

For example:

```sh
npx create-react-app my-app --template @leesuhyung/cra-template-typescript

# or
yarn create react-app my-app --template @leesuhyung/cra-template-typescript
```

For more information, please refer to:

- [Getting Started](https://create-react-app.dev/docs/getting-started) – How to create a new app.
- [User Guide](https://create-react-app.dev) – How to develop apps bootstrapped with Create React App.
npm package: @leesurer/my-component-lib
Description: A React UI component library built with TypeScript and Vite
Author: LeeSurer
Latest version: 1.0.2

# My Component Library

一个基于 React 18 + TypeScript + Vite 构建的现代化 UI 组件库。

## 特性

- 🚀 基于 React 18 和 TypeScript
- ⚡ 使用 Vite 构建，支持快速开发和构建
- 🎨 现代化的设计风格
- 📱 响应式设计
- ♿ 支持无障碍访问
- 📦 支持 Tree Shaking

## 安装

```bash
npm install @leesurer/my-component-lib
# 或
yarn add @leesurer/my-component-lib
# 或
pnpm add @leesurer/my-component-lib
```

## 使用

```tsx
import { Button, Input } from '@leesurer/my-component-lib'

import '@leesurer/my-component-lib/dist/style.css'  // 在main.tsx导入样式文件

function App() {
  return (
    <div>
      <Button variant="primary" size="lg">
        点击我
      </Button>
      
      <Input 
        label="用户名" 
        placeholder="请输入用户名"
        helperText="用户名长度为3-20个字符"
      />
    </div>
  )
}
```

## 组件

### Button

按钮组件，支持多种样式和状态。

#### Props

| 属性 | 类型 | 默认值 | 说明 |
|------|------|--------|------|
| variant | 'primary' \| 'secondary' \| 'outline' \| 'ghost' | 'primary' | 按钮样式变体 |
| size | 'sm' \| 'md' \| 'lg' | 'md' | 按钮尺寸 |
| loading | boolean | false | 是否显示加载状态 |
| disabled | boolean | false | 是否禁用 |

#### 示例

```tsx
<Button variant="primary" size="lg" loading>
  加载中...
</Button>

<Button variant="outline" size="sm">
  小按钮
</Button>
```

### Input

输入框组件，支持标签、错误提示和帮助文本。

#### Props

| 属性 | 类型 | 默认值 | 说明 |
|------|------|--------|------|
| label | string | - | 输入框标签 |
| error | string | - | 错误信息 |
| helperText | string | - | 帮助文本 |
| size | 'sm' \| 'md' \| 'lg' | 'md' | 输入框尺寸 |
| fullWidth | boolean | false | 是否占满容器宽度 |

#### 示例

```tsx
<Input 
  label="邮箱" 
  type="email" 
  placeholder="请输入邮箱地址"
  helperText="我们将通过此邮箱联系您"
/>

<Input 
  label="密码" 
  type="password" 
  error="密码长度不能少于6位"
/>
```

## 开发

### 安装依赖

```bash
npm install
```

### 开发模式

```bash
npm run dev
```

### 构建

```bash
npm run build
```

### 类型检查

```bash
npm run type-check
```

### 代码检查

```bash
npm run lint
```

## 发布到 NPM

1. 登录到 NPM
```bash
npm login
```

2. 构建项目
```bash
npm run build
```

3. 发布
```bash
npm publish
```

## 许可证

MIT
npm package: @leet11/eslint-config
Description: ESlint config for Leet
Author: Leet
Latest version: 0.0.4

# eslint-config

[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]
[![bundle][bundle-src]][bundle-href]
[![JSDocs][jsdocs-src]][jsdocs-href]
[![License][license-src]][license-href]

My eslint config

## License

[MIT](./LICENSE) License © [Anthony Fu](https://github.com/skyline523)

<!-- Badges -->

[npm-version-src]: https://img.shields.io/npm/v/pkg-placeholder?style=flat&colorA=080f12&colorB=1fa669
[npm-version-href]: https://npmjs.com/package/pkg-placeholder
[npm-downloads-src]: https://img.shields.io/npm/dm/pkg-placeholder?style=flat&colorA=080f12&colorB=1fa669
[npm-downloads-href]: https://npmjs.com/package/pkg-placeholder
[bundle-src]: https://img.shields.io/bundlephobia/minzip/pkg-placeholder?style=flat&colorA=080f12&colorB=1fa669&label=minzip
[bundle-href]: https://bundlephobia.com/result?p=pkg-placeholder
[license-src]: https://img.shields.io/github/license/antfu/pkg-placeholder.svg?style=flat&colorA=080f12&colorB=1fa669
[license-href]: https://github.com/antfu/pkg-placeholder/blob/main/LICENSE
[jsdocs-src]: https://img.shields.io/badge/jsdocs-reference-080f12?style=flat&colorA=080f12&colorB=1fa669
[jsdocs-href]: https://www.jsdocs.io/package/pkg-placeholder
npm package: @leetcode/monaco-emacs
Description: Emacs keybindings for monaco-editor
Author: Brijesh Bittu
Latest version: 0.2.2

## monaco-emacs

[![npm version](https://badge.fury.io/js/monaco-emacs.svg)](https://www.npmjs.com/package/monaco-emacs)

Emacs key bindings for monaco-editor. [Demo](https://editor.bitwiser.in).

### Installation

```sh
npm install monaco-emacs
```

### Usage

#### Webpack/Browserify

```js
import * as monaco from 'monaco-editor';
import { EmacsExtension } from 'monaco-emacs';
```

#### Browser

* Add this script in your html - `https://unpkg.com/monaco-emacs/dist/monaco-emacs.js`.
* The extension will be available as `MonacoEmacs` on `window`

```js
const monaco = window.monaco;
const { EmacsExtension } = window.MonacoEmacs;
```

#### Code

```js
const editorNode = document.getElementById('editor');
const statusNode = document.getElementById('statusbar');

const editor = monaco.editor.create(editor);
const emacsMode = new EmacsExtension(editor);
emacsMode.onDidMarkChange((ev: boolean) => {
  statusNode.textContent = ev ? 'Mark Set!' : 'Mark Unset';
});
emacsMode.onDidChangeKey((str) => {
  statusNode.textContent = str;
});
emacsMode.start();

// If you want to remove the attached bindings, call
emacsMode.dispose();
```

#### Unregister default keys

```js
import { unregisterKey } from 'monaco-emacs';

unregisterKey('Tab');
```

#### Get all available mappings

```js
import { getAllMappings } from 'monaco-emacs';

console.log(getAllMappings());
```

#### AMD

If you are following the official guide and integrating the AMD version of `monaco-editor`, you can follow this -

```html
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" >
</head>
<body>

<div id="container" style="width:800px;height:600px;border:1px solid grey"></div>
<div id="status"></div>

<script src="https://unpkg.com/monaco-editor/min/vs/loader.js"></script>
<script>
  require.config({
    paths: {
      'vs': 'https://unpkg.com/monaco-editor/min/vs',
      'monaco-emacs': 'https://unpkg.com/monaco-emacs/dist/monaco-emacs',
    }
  });
  require(['vs/editor/editor.main', 'monaco-emacs'], function(a, MonacoEmacs) {
    var editor = monaco.editor.create(document.getElementById('container'), {
      value: [
        'function x() {',
        '\tconsole.log("Hello world!");',
        '}'
      ].join('\n'),
      language: 'javascript'
    });
    var statusNode = document.getElementById('status');
    var emacsMode = new MonacoEmacs.EmacsExtension(editor);
    emacsMode.onDidMarkChange(function(ev) {
      statusNode.textContent = ev ? 'Mark Set!' : 'Mark Unset';
    });
    emacsMode.onDidChangeKey(function(str) {
      statusNode.textContent = str;
    });
    emacsMode.start();

    // remove emacs mode by calling
    // emacsMode.dispose();
  });
</script>
</body>
</html>
```

Please [report](https://github.com/brijeshb42/monaco-emacs/issues/new) any inconsistencies or missing key bindings.
npm package: @leetcode/nearley-loader
Description: Nearley parser rules loader for webpack
Author: Kozily
Latest version: 2.1.0

# nearley-loader

This package is a standard [webpack loader](https://webpack.js.org/loaders/)
which allows you to load [nearley](https://github.com/Hardmath123/nearley)
parser specification files as parser rules directly from webpack.

This branch contains support for the latest nearley version, currently
`nearley@^2.0.0`. For `nearlet@^1.0.0` check the `nearley1` branch in this
repo.

## Installation

You need to install both `nearley` and `nearley-loader`, since `nearley` is a
peer dependency of this package. The major version of the `nearley-loader`
package must match the installed version of `nearley`, so if you install
`nearley@2.13.0`, then you need to install `nearley-loader@^2.0.0`.

## Usage

Just configure webpack to handle nearley files with this loader:

```javascript
module: {
  rules: [
      {
        test: /\.nearley$/,
        use: [
          'nearley-loader',
        ],
      },
  ]
}

```

If using with `create-react-app` or any other pre-configured webpack, be sure
that the `.ne` extension (or whatever file extension you use above) is not
affected by another loader.  For instance, `create-react-app` will apply a
url-loader to any file extension it doesn't recognize.

Once you've done that, you can now require nearley files in your javascript
modules and you'll get the compiled parser rules:

```javascript
import { Parser, Grammar } from 'nearley';
import grammar from './grammar.ne';

const parser = new Parser(Grammar.fromCompiled(grammar));
```

## License

MIT License

Copyright (c) 2016 Kozily

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
npm package: @leetcoderoulette/roulette
Description: https://leetcoderoulette.com roulette library
Author: Leetcode Roulette
Latest version: 1.3.0

<h1 align="center">Welcome to Leetcoderoulette Roulette 👋</h1>

![Build status](https://github.com/leetcode-roulette/roulette/actions/workflows/tests.yml/badge.svg)
[![code coverage](https://codecov.io/gh/leetcode-roulette/roulette/branch/master/graph/badge.svg)](https://codecov.io/gh/leetcode-roulette/roulette)
[![install size](https://packagephobia.com/badge?p=@leetcoderoulette/roulette)](https://packagephobia.com/result?p=@leetcoderoulette/roulette)

> Roulette class that returns a random value similar to a roulette table.

## Installing

Using npm:

```bash
$ npm install @leetcoderoulette/roulette
```

## Example

### note: CommonJS usage
In order to gain the TypeScript typings (for intellisense / autocomplete) while using CommonJS imports with `require()` use the following approach:

```js
const Roulette = require('@leetcoderoulette/roulette');

// Roulette.<method> will now provide autocomplete and parameter typings
```

Creating a new Roulette object and getting problems

```js
const roulette = new Roulette(["Hello", "World"]);

const values = roulette.values; // Returns ["Hello", "World"]
const value = roulette.pop(); // Returns either "Hello" or "World"
```

Adding a new set

```js
roulette.values = ["New", "Problems"];

const values = roulette.values; // Returns ["New", "Problems"]
```

### Roulette API
A roulette object can be made by passing in an array of values to `Roulette`.

##### Roulette(values, options?)

```js
// Create a new Roulette object.
new Roulette(["value1", "value2"]);
```

### Instance methods

The available instance methods are listed below.

##### roulette.pop()
##### get roulette.values()
##### set roulette.values(values)

## TypeScript

Roulette includes [TypeScript](https://typescriptlang.org) definitions and a type guard for roulette errors.

```typescript
let roulette: Roulette<string> = new Roulette(["Hello", "World"]);

const values: string[] = roulette.values; // Returns ["Hello", "World"]
const value: string = roulette.pop(); // Returns "Hello" or "World"

roulette.values = ["New", "Problems"];
```

## 🤝 Contributing

Contributions, issues and feature requests are welcome.<br />
Feel free to check [issues page](https://github.com/leetcode-roulette/leetcode/issues) if you want to contribute.<br />
[Check the contributing guide](./CONTRIBUTING.md).<br />

## Author

👤 **Leetcode Roulette**

- Website: [Leetcode Roulette](https://leetcoderoulette.com)

## 📝 License

Copyright © 2022 [Leetcode Roulette](https://github.com/leetcode-roulette).<br />
This project is [MIT](https://github.com/leetcode-roulette/roulette/blob/master/LICENSE) licensed.

---
npm package: @leethais91/cz-conventional-changelog-for-redmine
Description: Commitizen adapter following the conventional-changelog format and also asking for REDMINE issue.
Author: Marcus Johansson
Latest version: 0.0.0
Deprecated: false

## NOTE
This package folk from https://github.com/digitalroute/cz-conventional-changelog-for-jira
Change from jira to redmine.
npm package: @leetswap/sdk-canto
Description: 🛠 An SDK for building applications on top of LeetSwap on Canto.
Latest version: 0.0.6

# MISTswap SDK

In-depth documentation on this SDK is available at [uniswap.org](https://uniswap.org/docs/v2/SDK/getting-started/).

This modifies uniswap-sdk's UniswapV2Factory address. The new address for mistswap is `0x000`.

## Running tests

To run the tests, follow these steps. You must have at least node v10 and [yarn](https://yarnpkg.com/) installed.

First clone the repository:

```sh
git clone https://github.com/mistswapdex/mistswap-sdk.git
```

Move into the mistswap-sdk working directory

```sh
cd mistswap-sdk/
```

Install dependencies

```sh
yarn install
```

Run tests

```sh
yarn test
```

You should see output like the following:

```sh
yarn run v1.22.4
$ tsdx test
 PASS  test/constants.test.ts
 PASS  test/pair.test.ts
 PASS  test/fraction.test.ts
 PASS  test/miscellaneous.test.ts
 PASS  test/entities.test.ts
 PASS  test/trade.test.ts

Test Suites: 1 skipped, 6 passed, 6 of 7 total
Tests:       3 skipped, 82 passed, 85 total
Snapshots:   0 total
Time:        5.091s
Ran all test suites.
✨  Done in 6.61s.
```