
Security News
Meet Socket at Black Hat Europe and BSides London 2025
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.
@posthog/hello-world-plugin
Advanced tools
[](https://opensource.org/licenses/MIT)
This is a basic exemplary PostHog plugin. It adds property "greeting" to every event, with a configurable value (default: "Hello world!").
Feel free to use it as a base for your own plugins!
All of the plugin's code is located in the index.js file, which is JavaScript ran inside of PostHog.
To get yourself up to speed with this environment, we sincerely recommend checking out our [Plugins overview in PostHog Docs](the Plugins Overview.
For a crash course, read our plugin building tutorial in PostHog Docs.
To test the plugin, you'll need to install a few npm dependencies already specified in package.json:
npm install
This will get you the testing library Jest and some our test helpers. Then to run tests it's just:
npm test
We're here to help you with anything PostHog!
FAQs
[](https://opensource.org/licenses/MIT)
The npm package @posthog/hello-world-plugin receives a total of 7 weekly downloads. As such, @posthog/hello-world-plugin popularity was classified as not popular.
We found that @posthog/hello-world-plugin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 8 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.