doc-indexer

0.0.1 • Public • Published

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

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i doc-indexer

      Weekly Downloads

      1

      Version

      0.0.1

      License

      MIT

      Last publish

      Collaborators

      • leungwensen