Skip to content

leungwensen/doc-indexer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

doc-indexer

built for static page full-text search

structure

install

$ npm i doc-indexer --save

DocSet

html, markdown, etc.

tokens

{
    docs: {
        a: 'uri/to/a-file',
        b: 'uri/to/b-file',
    },
    tokens: {
        'someToken': {
            stem: 'someToken',
            minSize: 8,
            maxSize: 9,
            count: 10,
            indices: [
                {
                    ranking: 0,
                    link: '#xxx',
                    doc: 'a',
                    index: 0
                }
            ]
        }
    }
}

use in terminal

TODO

use in browser

TODO

About

built for static page full-text search

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published