Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

docusurus-lunr-search

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

docusurus-lunr-search

Offline search component for Docusaurus V2

  • 0.0.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
38
increased by35.71%
Maintainers
1
Weekly downloads
 
Created
Source

Offline Search for Docusurus V2

How to Use ?

  1. Install this package
npm i docusurus-lunr-search --save
  1. Then run docusurus swizzle
npm run swizzle docusurus-lunr-search SearchBar
  1. Copy the build-search-data.js to the root folder of your project
  2. Then build your Docusurus project
npm run build
  1. Create the search data using by running build-search-data.js
node build-search-data.js
  1. You are done!.
    Now you can build your project again with new search-data.js
npm run build
//or 
npm start

Keywords

FAQs

Package last updated on 26 Jan 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc