Niskriya is a simple program that takes in WebIDL files and "transpiles" them to Nim, but more specifically, in a format that can be paired with the Bali JavaScript Engine to effectively write web-compliant wrappers for APIs that need to be exposed to JavaScript.
It uses webidl2nim's parser and generates Nim code that effectively acts as a wrapper for any JavaScript code. You can then implement the functions as needed.
It is aimed at anyone who wants to use Ferus' stack (more specifically, Bali) to write their own web engine, or anything else related to that, really.
After compiling Niskriya, you can run:
$ niskriya path/to/file.idl
It will then output the emitted Nim code. Keep in mind that the code is not guaranteed to work 100% of the time, as it isn't directly hooking into the compiler, but rather just primitively emitting Nim code that it hopes will compile.