You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I recently started looking into yara for a non virus related topic: Moderation.
The Bot we are using for that is written in Node.js. Therefor the choice of bindings basically was just https://github.com/miguelxpn/node-yara or https://github.com/Automattic/node-yara if it should be prebuilt.
However, the bindings really are not very modern. Hence, I went ahead and wrote a new binding using rust and napi-rs.
You can find it at https://www.npmjs.com/package/@node_yara_rs/node-yara-rs, and it comes with typescript and prebuilt packages. Note that due to both napi-rs and rust itself, the current targets are limited to:
There are some more possible targets, but they would need to be added to the CI first.
Also, note to only ever depend on the main package if you intend using it. It automatically pulls the correct package otherwise.
Beta Was this translation helpful? Give feedback.
All reactions