I was impressed with the great API, so I made a library.
npm install mikunimaru/nomics.git
You can install using the above command.
All methods include type definitions, but type definitions can change as exception handling changes.
At the moment there are only basic functions, so feel free to fork.
I tried a simple test, but it is a trial version.