# Installation Latest stable version: **{{ $themeConfig.version }}** ### NPM ```sh $ npm install --save fuse.js ``` ### Yarn ```sh $ yarn add fuse.js ``` #### Importing ES6 module syntax: ```js import Fuse from 'fuse.js' ``` CommonJS: ```js const Fuse = require('fuse.js') ``` ### Direct ` ``` For production, we recommend linking to a specific version number and build to avoid unexpected breakage from newer versions: ```html ``` If you are using native ES Modules, there is also an ES Modules compatible build: ```html ``` You can browse the source of the NPM package at [cdn.jsdelivr.net/npm/fuse.js](https://cdn.jsdelivr.net/npm/fuse.js). Fuse.js is also available on [unpkg](https://unpkg.com/fuse.js). Make sure to read about [the different builds of Fuse.js](different-builds.html) and use the production version in your published site, replacing `fuse.js` with `fuse.min.js`. This is a smaller build optimized for speed instead of development experience. ### Deno You can directly import `Fuse` as an ES module from the deno.land/x service: ```typescript // @deno-types="https://deno.land/x/fuse@v6.4.2/dist/fuse.d.ts" import Fuse from 'https://deno.land/x/fuse@v6.4.2/dist/fuse.esm.min.js' ```