mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00

This is based on commit 2731def9159247e6da8a3191783c89683363689c from the zeek-docs repo.
5 lines
132 B
JavaScript
5 lines
132 B
JavaScript
// hello.js
|
|
zeek.on('zeek_init', () => {
|
|
let version = zeek.invoke('zeek_version');
|
|
console.log(`Hello, Zeek ${version}!`);
|
|
});
|