krisk / Fuse

Lightweight fuzzy-search, in JavaScript
https://fusejs.io/
Apache License 2.0
18.05k stars 766 forks source link

Added deno import 🦕 #435

Closed lunaroyster closed 4 years ago

lunaroyster commented 4 years ago

Hello!

I was using Fuse for a side project that used the deno runtime. It worked perfectly, so I added it to the deno.land/x rewriting service: https://deno.land/x/fuse

The ESM version can be directly imported by its URL, along with the typescript defs. Here's a repl showing Fuse working with deno: https://repl.it/@lunaroyster/Fusejs-deno

https://deno.land/x/fuse@v6.0.4/dist/fuse.esm.min.js just points to https://raw.githubusercontent.com/krisk/Fuse/v6.0.4/dist/fuse.esm.min.js

Thanks! :D