Wulf / nodehun

The Hunspell binding for NodeJS that exposes as much of Hunspell as possible and also adds new features. Hunspell is a first class spellcheck library used by Google, Apple, and Mozilla.
MIT License
287 stars 42 forks source link

Add TypeScript bindings #71

Closed bbenoist closed 4 years ago

bbenoist commented 5 years ago

It would be cool to have TypeScript type definitions for the library.

After a few searches, it looks like using nbind could do the trick if you don't want to write them by yourself (as in opencv4nodejs for example).

Wulf commented 4 years ago

This will be featured in 3.0.0, merci beaucoup @bbenoist.

If you're keen to try it now:

npm i -S wulf/nodehun#n-api