Show HN: Speed up Node.js with Nim native extensions

by andeee23on 1/19/21, 11:13 AMwith 1 comments
by andeee23on 1/19/21, 11:17 AM

Made this to scratch my own itch. I had a giant web project on which purgecss would take 10 minutes to remove all unused css. I thought rewriting the main functionality in a multi-threaded native extension would make it much faster.

C felt too cumbersome and I personally don't like C++, so that's where napi-nim came in, since I wanted to use Nim.

The native purge-css extension is still in early stages, but napi-nim is already quite usable.