Fuse.js

轻量级模糊搜索,用 JavaScript 实现。「Lightweight fuzzy-search, in JavaScript」

Github stars Tracking Chart

Fuse.js

支持 Fuse.js

通过捐款、捐赠和赞助,您可以让 Fuse.js 茁壮成长。同时,您也将被视为支持开源开发者的灯塔。

介紹

Fuse.js 是一个轻量级的模糊搜索,采用 JavaScript,零依赖。

浏览器兼容性

Fuse.js 支持所有 兼容 ES5 的浏览器(不支持 IE8 及以下版本)。

文档介绍

要查看 实时演示 和文档,请访问 fusejs.io

开发

这里有一个单独的文档供 开发者 使用。

贡献

我们已经为我们的 贡献准则 建立了一个单独的文件。


Main metrics

Overview
Name With Ownerkrisk/Fuse
Primary LanguageJavaScript
Program languageJavaScript (Language Count: 3)
PlatformWeb browsers
License:Apache License 2.0
所有者活动
Created At2012-05-28 04:31:06
Pushed At2025-03-08 19:48:57
Last Commit At
Release Count115
Last Release Namev7.1.0 (Posted on 2025-02-02 16:41:19)
First Release Namev1.0.1 (Posted on )
用户参与
Stargazers Count19.1k
Watchers Count136
Fork Count788
Commits Count816
Has Issues Enabled
Issues Count560
Issue Open Count15
Pull Requests Count113
Pull Requests Open Count1
Pull Requests Close Count82
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private

Introduction

Fuse.js is a lightweight fuzzy-search, in JavaScript, with zero dependencies.

Documentation

To checkout out live examples and docs, visit fusejs.io.

Installation

NPM

NPM is the recommended installation method. It pairs nicely with a CommonJS module bundler such as Webpack or Browserify.

# latest stable
$ npm install --save fuse.js

CDN

Available on cdnjs (see the latest version on the Releases page).

Contributing

Coding conventions

Code should be run through Standard Format.

Testing

Before submitting a pull request, please add relevant tests in test/index.js, and execute them via npm test.