I used this library recently :) and I got curious to know how it works.
Then I stumble upon #6 and checked the sources... and...
Here's a first TypeScript version. It compiles and tests are passing.
I thought it could be a starting point for a refactor, and there are still things to be sorted out (the typings for instance).
Hi!
I used this library recently :) and I got curious to know how it works. Then I stumble upon #6 and checked the sources... and...
Here's a first TypeScript version. It compiles and tests are passing. I thought it could be a starting point for a refactor, and there are still things to be sorted out (the typings for instance).
Feel free to use it or dump it. Cheers!