- Changed bundler to Rollup
- Added ES6 modules for bundlers and browsers (fixed#262)
- Added CommonJS builds
- Added UMD builds
- Name change so that .min actually reflects the minified version
Which occurs when pattern length exceeds machine word length and we get
results but not matches (highlights).
Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
* Cleanup build
Partial: Requires next commit for a proper version!
* Port tests to the Jest framework
* Fix typings and cover them in a test
This should resolve#261 as long as the system of the test is being used. That being said, this system allows for a fully typed configuration with IDE support
TypeScript usage is further described in the documentation, so please accept that PR if this one is accepted.
* Run standard-format
* Remove duplicate types field from package
* Add a match index for children
* Fix minMatchCharLength bug #164
* build
* Fix misplaced comment. Apply standard style
* Rename `index` to `arrayIndex` to highlight difference with `indices`
* pass arrayIndex even if array has length 1
* Add text value to `matches`
* add tests
* #164: minMatchCharLength should exclude matches not results
* Build
* New architecture
* added newer versions of node
* Travis fix
* Remove iojs to make travis happy
* Added copyright info
* Fixed package and config
* Incremeneted version
* Added support for iojs
* Removed newline from copyright
* Version up
* Options for min match length and fulltext search
Will only return indices of matches that exceed a min length, and will continue to end of text even if a full match is found to find other full/partials
* Updating readme and adding tests