Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

lunr-get-index-names.js 176 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
  1. const fs = require('fs').promises
  2. const path = require('path')
  3. module.exports = async function getIndexNames () {
  4. return await fs.readdir(path.join(__dirname, 'indexes'))
  5. }
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...