https://phillipcurl.github.io/ngx-lunr/
A wrapper around Lunr.js for easy use in Angular apps.
Install through npm:
npm install --save ngx-lunr
Then include in your apps module:
import { Component, NgModule } from '@angular/core';
import { NgxLunrModule } from 'ngx-lunr';
@NgModule({
imports: [
NgxLunrModule.forRoot()
]
})
export class MyModule {}
Finally use in one of your apps components:
import { Component } from '@angular/core';
@Component({
template: ' '
})
export class MyComponent {}
You may also find it useful to view the demo source.
All documentation is auto-generated from the source via compodoc and can be viewed here:
https://phillipcurl.github.io/ngx-lunr/docs/
Run yarn start
to start a development server on port 8000 with auto reload + tests.
Run yarn test
to run tests once or yarn run test:watch
to continually run tests.
yarn run release
MIT