unified-doc-search-micromatch
unified-doc micromatch
search algorithm.
Install
npm install unified-doc-search-micromatch
Use
Supports the matching features in the micromatch
package when searching doc
instances managed by unified-doc
.
; const content = 'a TO the b TO the c'; ; ; ; ; ; ; ;
API
search(content, query[, options])
Interface
Uses the unified SearchAlgorithm
interface to search on content
with a provided query
string and micromatch
-specific options
. Returns unified SearchResult
data.
Please refer to the micromatch
documentation for configurable options and match behaviors.
Related interfaces
;