open-index/open-npm huggingface dataset:
npm package: @fast-crud/vitepress-plugin-search
Description: Provide local search to your documentation site.
Author: Emerson Bottero
Latest version: 1.0.4

## Provides local search to your documentation site

Uses [flexsearch](https://github.com/nextapps-de/flexsearch).

## Installing

```js
npm i vitepress-plugin-search flexsearch -D
```

## Add the plugin

- Using an vite.config file
```js
//vite.config.ts
import { SearchPlugin } from "vitepress-plugin-search";
import { defineConfig } from "vite";

//default options
var options = {
  ...flexSearchIndexOptions,
  previewLength: 62,
  buttonLabel: "Search",
  placeholder: "Search docs",
  allow: [],
  ignore: [],
};

export default defineConfig({
  plugins: [SearchPlugin(options)],
});
```

- Using config.js or config.ts
```js
import { SearchPlugin } from "vitepress-plugin-search";
import { defineConfig } from "vitepress";
export default defineConfig({
  vite: { plugins: [SearchPlugin(options)] }
});
```

## Options

Accept [FlexSearch Index Options](https://github.com/nextapps-de/flexsearch#options)

## Multi language support

Provided by flexsearch  
  
See [chinese settings for example](https://github.com/emersonbottero/vitepress-plugin-search/issues/11)
npm package: @fast-down/fast-down
Description: fast-down 的 js 接口
Latest version: 1.0.15

# @fast-down/fast-down

[![GitHub last commit](https://img.shields.io/github/last-commit/fast-down/fast-down-js/main)](https://github.com/fast-down/fast-down-js/commits/main)
[![CI](https://github.com/fast-down/fast-down-js/workflows/CI/badge.svg)](https://github.com/fast-down/fast-down-js/actions)
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/fast-down/fast-down-js/blob/main/LICENSE)

`@fast-down/fast-down` 是一个特别快下载器，封装自 [fast-down-ffi](https://github.com/fast-down/ffi)，由 Rust 驱动，简洁易用。

## 示例

```ts
import { prefetch } from '@fast-down/fast-down'

const task = await prefetch('https://example.com/test.zip')
await task.start(task.info.filename())
```

[查看更多示例](https://github.com/fast-down/fast-down-js/blob/main/example)