open-index/open-npm huggingface dataset:
npm package: @sunshj/eslint-config
Description: ESLint config for @sunshj.
Latest version: 2.2.3

# @sunshj/eslint-config

Based on [`@sxzz/eslint-config`](https://npmjs.com/package/@sxzz/eslint-config)

Flat ESLint config for JavaScript, TypeScript, Vue 2, Vue 3, React, Prettier.

## Features

- Format with Prettier.
- Designed to work with TypeScript, React, Vue 2 and 3 out-of-box.
- Support JSON(5), YAML, Markdown...
- Sort imports, `package.json`, `tsconfig.json`...
- [ESLint Flat config](https://eslint.org/docs/latest/use/configure/configuration-files-new), compose easily!
- Reasonable defaults, best practices, only one-line of config

## Install

```bash
npm i -D eslint @sunshj/eslint-config
```

Require Node.js >= 18.18. ESLint v9.10.0+

## Usage

```js
// eslint.config.js
import { all } from '@sunshj/eslint-config'

export default all()
```

### Custom Config

```js
import { defineConfig } from '@sunshj/eslint-config'
export default defineConfig(
  [
    /* your custom config */
  ],
  { vue: true, prettier: true, markdown: true, unocss: false, react: true }
)
```

### VSCode Settings

```jsonc
{
  "eslint.validate": [
    "javascript",
    "javascriptreact",
    "typescript",
    "typescriptreact",
    "vue",
    "html",
    "markdown",
    "json",
    "jsonc",
    "yaml"
  ]
}
```
npm package: @sunshj/kuroshiro
Description: kuroshiro.js
Author: sunshj
Latest version: 0.2.2

# @sunshj/kuroshiro

[![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]

Description of @sunshj/kuroshiro

## Install

```bash
npm install @sunshj/kuroshiro
```

## Usage

```ts
import { Kuroshiro } from '@sunshj/kuroshiro'
import { KuromojiAnalyzer } from '@sunshj/kuroshiro/kuromoji-analyzer'

async function main() {
  const kuroshiro = new Kuroshiro()
  await kuroshiro.init(new KuromojiAnalyzer())
  const output = await kuroshiro.convert('春も夏も秋も冬も', {
    mode: 'okurigana',
    to: 'hiragana'
  })

  console.log(output) // 春(はる)も夏(なつ)も秋(あき)も冬(ふゆ)も
}

main()
```

<!-- Badges -->

[npm-version-src]: https://img.shields.io/npm/v/@sunshj/kuroshiro?style=flat&colorA=080f12&colorB=1fa669
[npm-version-href]: https://npmjs.com/package/@sunshj/kuroshiro
[npm-downloads-src]: https://img.shields.io/npm/dm/@sunshj/kuroshiro?style=flat&colorA=080f12&colorB=1fa669
[npm-downloads-href]: https://npmjs.com/package/@sunshj/kuroshiro
[bundle-src]: https://img.shields.io/bundlephobia/minzip/@sunshj/kuroshiro?style=flat&colorA=080f12&colorB=1fa669&label=minzip
[bundle-href]: https://bundlephobia.com/result?p=@sunshj/kuroshiro
[license-src]: https://img.shields.io/github/license/sunshj/@sunshj/kuroshiro.svg?style=flat&colorA=080f12&colorB=1fa669
[jsdocs-src]: https://img.shields.io/badge/jsdocs-reference-080f12?style=flat&colorA=080f12&colorB=1fa669
[jsdocs-href]: https://www.jsdocs.io/package/@sunshj/kuroshiro
npm package: @sunshj/mdc
Description: Prose components for Nuxt MDC.
Latest version: 0.3.6

<!--
Get your module up and running quickly.

Find and replace all on all files (CMD+SHIFT+F):
- Name: MDC Prose Components
- Package name: @sunshj/mdc
- Description: Prose components for Nuxt MDC.
-->

# MDC Prose Components

[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]
[![License][license-src]][license-href]
[![Nuxt][nuxt-src]][nuxt-href]

Prose components for Nuxt MDC.

- [✨ Release Notes](/CHANGELOG.md)
- [🏀 Online playground](https://stackblitz.com/~/github.com/sunshj/mdc?file=playground/app.vue)
- [🌈 Preview](https://sunshj.top/articles/mdc-support)

## Quick Setup

Install the module to your Nuxt application with one command:

```bash
npx nuxi module add @sunshj/mdc
```

That's it! You can now use `MDC Prose Components` in your Nuxt app ✨

## Contribution

<details>
  <summary>Local development</summary>

```bash
  # Install dependencies
  npm install

  # Generate type stubs
  npm run dev:prepare

  # Develop with the playground
  npm run dev

  # Build the playground
  npm run dev:build

  # Run ESLint
  npm run lint

  # Run Vitest
  npm run test
  npm run test:watch

  # Release new version
  npm run release
```

</details>

<!-- Badges -->

[npm-version-src]: https://img.shields.io/npm/v/@sunshj/mdc/latest.svg?style=flat&colorA=020420&colorB=00DC82
[npm-version-href]: https://npmjs.com/package/@sunshj/mdc
[npm-downloads-src]: https://img.shields.io/npm/dm/@sunshj/mdc.svg?style=flat&colorA=020420&colorB=00DC82
[npm-downloads-href]: https://npm.chart.dev/@sunshj/mdc
[license-src]: https://img.shields.io/npm/l/@sunshj/mdc.svg?style=flat&colorA=020420&colorB=00DC82
[license-href]: https://npmjs.com/package/@sunshj/mdc
[nuxt-src]: https://img.shields.io/badge/Nuxt-020420?logo=nuxt.js
[nuxt-href]: https://nuxt.com
npm package: @sunspirytus/xflow-extension
Description: ## Getting Started
Latest version: 1.0.52-2

# @sunspirytus/xflow-extension

## Getting Started

Install dependencies

```bash
$ npm i
```

watch file change

```bash
$ npm start
```

release version

```bash
$ npm run release
```

## 开发注意：

1. index 文件需要 named export， 不要使用 export \* from 'xxx'的 形式

2. 更新了 export 后还需要手动更新 xflow/src/extension.ts 的 export
npm package: @sunssheep/test
Description: That is just a for publishing an npm package
Author: sunssheep
Latest version: 3.8.10

This is just a test release of an npm package ~ (≧▽≦)/☆ ✨📦✨

这只是一个 npm 包的发布测试哟 ~ (≧▽≦)/☆ ✨📦✨
npm package: @sunstonecare/postgraphile-plugin-fulltext-filter
Description: Full text searching on tsvector fields for use with postgraphile-plugin-connection-filter
Author: Mark Lipscombe
Latest version: 1.0.6

[![Package on npm](https://img.shields.io/npm/v/@sunstonecare/postgraphile-plugin-fulltext-filter.svg)](https://www.npmjs.com/package/@sunstonecare/postgraphile-plugin-fulltext-filter)

# postgraphile-plugin-fulltext-filter
This plugin implements a full text search operator for `tsvector` columns in PostGraphile v4 via @mattbretl's excellent `postgraphile-plugin-connection-filter` plugin. This version is based on a fork of the original ([Original plugin repo](https://github.com/mlipscombe/postgraphile-plugin-fulltext-filter)) repo by @theogravity [Fork repo](https://github.com/theogravity/postgraphile-plugin-fulltext-filter).

## Getting Started

### CLI

``` bash
postgraphile --append-plugins postgraphile-plugin-connection-filter,postgraphile-plugin-fulltext-filter
```

See [here](https://www.graphile.org/postgraphile/extending/#loading-additional-plugins) for
more information about loading plugins with PostGraphile.

### Library

``` js
const express = require('express');
const { postgraphile } = require('postgraphile');
const PostGraphileConnectionFilterPlugin = require('postgraphile-plugin-connection-filter');
const PostGraphileFulltextFilterPlugin = require('postgraphile-plugin-fulltext-filter');

const app = express();

app.use(
  postgraphile(pgConfig, schema, {
    appendPlugins: [
      PostGraphileConnectionFilterPlugin,
      PostGraphileFulltextFilterPlugin,
    ],
  })
);

app.listen(5000);
```

## Performance

All `tsvector` columns that aren't @omit'd should have indexes on them:

``` sql
ALTER TABLE posts ADD COLUMN full_text tsvector;
CREATE INDEX full_text_idx ON posts USING gin(full_text);
```

## Operators

This plugin adds the `matches` filter operator to the filter plugin, accepting
a GraphQL String input and using the `@@` operator to perform full-text searches
on `tsvector` columns.

This plugin uses [pg-tsquery](https://github.com/caub/pg-tsquery) to parse the
user input to prevent Postgres throwing on bad user input unnecessarily.

## Fields

For each `tsvector` column, a rank column will be automatically added to the
GraphQL type for the table by appending `Rank` to the end of the column's name.
For example, a column `full_text` will appear as `fullText` in the GraphQL type,
and a second column, `fullTextRank` will be added to the type as a `Float`.

This rank field can be used for ordering and is automatically added to the orderBy
enum for the table.

## Examples

``` graphql
query {
  allPosts(
    filter: {
      fullText: { matches: 'foo -bar' }
    }
    orderBy: FULL_TEXT_RANK_DESC
  }) {
    ...
    fullTextRank
  }
}
```
npm package: @sunswap/sunswap-finance-sdk
Description: 🛠 An SDK for building applications on top of Pancakeswap.
Latest version: 2.3.2

# SunSwap SDK

Forked from the [PancakeSwap SDK](https://github.com/pancakeswap/pancake-swap-sdk).

You can refer to the PancakeSwap SDK documentation [pancakeswap.finance](https://docs.pancakeswap.finance/).

## 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/sunswap/sunswap-sdk.git
```

Move into the sunswap-sdk working directory

```sh
cd sunswap-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.
```
npm package: @sunswap/sunswap-finance-uikit
Description: Set of UI components for SaltSwap projects
Latest version: 1.2.35

# SunSwap UIkit

SunSwap UIkit is a set of React components and hooks used to build pages on SunSwap's apps.

It also contains a theme file for dark and light mode.

## Install

`yarn add @sunswap/uikit`

## npm

https://www.npmjs.com/package/@sunswap/uikit

## Setup

### Theme

Before using SunSwap UIkit, you need to provide the theme file to styled-component.

```
import { ThemeProvider } from 'styled-components'
import { light, dark } from '@sunswap/uikit'
...
<ThemeProvider theme={isDark}>...</ThemeProvider>
```

### Reset

A reset CSS is available as a global styled component.

```
import { ResetCSS } from '@sunswap/uikit'
...
<ResetCSS />
```

### Types

This project is built with Typescript and export all the relevant types.