Dmitry Shirokov
1472a8bb8e
fix(types): Export AnalyseResult and DetectResult types
2023-01-06 09:08:20 +11:00
Dmitry Shirokov
927d5c637b
patch: Export AnalyseResult and DetectResult types
2023-01-06 07:57:59 +11:00
Dmitry Shirokov
685cba81b3
Merge pull request #64 from crisp-dev/master
...
feat: allow position offset as option
2022-10-09 22:47:30 +11:00
Eliott Vincent
d085d275b3
Rename position -> offset
2022-10-07 10:15:24 +02:00
Dmitry Shirokov
5adc448a3b
chore: dev deps
2022-10-07 16:19:28 +11:00
Eliott Vincent
a169cc58d7
feat: allow position offset as option
2022-10-06 10:32:32 +02:00
Dmitry Shirokov
eae67c45e6
Maintenance
2022-09-30 12:19:50 +10:00
Dmitry Shirokov
d0e93bb2ab
feat: Language detection improvements
2021-10-19 21:21:29 +11:00
Dmitry Shirokov
fb50dcbcdb
Maintenance
2021-10-19 20:27:41 +11:00
Dmitry Shirokov
1b40042222
feat: Make it work in browser
2020-09-25 21:33:45 +10:00
Dmitry Shirokov
edcfec1eae
chore: latest prettier
2020-09-23 13:10:34 +10:00
Dmitry Shirokov
5d99fd5252
chore: fix linting errors
2020-09-23 13:09:36 +10:00
Dmitry Shirokov
f2aa0dc231
chore: Switch to eslint
2020-09-23 12:16:38 +10:00
Ricardo Alexis Quiroz Bazan
d00c8cdd0d
fix: change Shift-JIS mime name to Shift_JIS
2020-07-02 22:56:02 -05:00
Fedor Nezhivoi
f55ad61176
make type definitions compatible with browser
2020-06-24 14:54:43 +10:00
Dmitry Shirokov
10284683a8
feat: Add default export that mimics named exports
2020-05-08 09:06:28 +10:00
Dmitry Shirokov
64f6ad28a3
BREAKING CHANGE: Repo overhaul
...
- Deprecation of callbacks in favour of promises
- Deprecation of `detectAll`, `detectFileAll` and `detectFileAllSync` - use `analyse` fn instead.
- Typescript typings now included as part of distribution
- Modules support
- Travis CI org => com migration
- Lazy loading of `fs` module to enable usage in browser
2020-03-31 20:53:25 +11:00