Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/leungwensen/doc-indexer

built for static page full-text search
https://github.com/leungwensen/doc-indexer

documentation full-text-search indexing

Last synced: 29 days ago
JSON representation

built for static page full-text search

Awesome Lists containing this project

README

        

doc-indexer
===========

built for static page full-text search

![structure](./assets/structure.png)

## install

```shell
$ npm i doc-indexer --save
```

## DocSet

html, markdown, etc.

## tokens

```javascript
{
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