FGRibreau / node-language-detect

🇫🇷 NodeJS language detection library using n-gram
http://blog.fgribreau.com/2011/07/week-end-project-nodejs-language.html
MIT License
399 stars 45 forks source link

Adding TS typings, gitignore, updating README and tests #28

Closed Fazendaaa closed 6 years ago

Fazendaaa commented 6 years ago

Hey, @FGRibreau. Thanks for this awesome package!

Due to Hacktoberfest 2018, I'm contributing to some packages that I use; yours is one of those.

My initial idea was only to add TypeScript (TS) typings, but since I saw that the tests were broken -- probably I think due to some V8 engine update -- I've updated it their values. Also, the README.md, changed to add a highlight option and replaced all var to const, making it more ES6.

This is the project that I use your package: https://github.com/Fazendaaa/LanguageMotherfucker

FGRibreau commented 6 years ago

Thanks a lot!!! Released in v1.2.0 :tada: