Skip to content
/ flx-ts Public

Rewrite emacs-flx in TypeScript, with added support for JavaScript [maintainer=@jcs090218]

License

Notifications You must be signed in to change notification settings

the-flx/flx-ts

Repository files navigation

License: MIT npm npm-dt npm-dm

flx-ts

Rewrite emacs-flx in TypeScript, with added support for JavaScript

CI

🔧 Usage

You will need to first install the package:

$ npm install flx-ts

CommonJS

const flx_ts = require('flx-ts');

console.log(flx_ts.Flx.Score("buffer-file-name", "bfn"));

TypeScript

import { Flx } from 'flx-ts';

console.log(Flx.Score("buffer-file-name", "bfn"));

Browser

In your index.html:

<script src="/path/to/flx.js"></script>

In your javascript file:

console.log(flx_ts.Flx.Score("buffer-file-name", "bfn"));

📦 Other alternatives

📝 P.S. Source are from a Reddit post What is your go to client-side fuzzy searching library?.

⚜️ License

flx-ts is distributed under the terms of the MIT license.

See LICENSE for details.

About

Rewrite emacs-flx in TypeScript, with added support for JavaScript [maintainer=@jcs090218]

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published