
Security News
curl Shuts Down Bug Bounty Program After Flood of AI Slop Reports
A surge of AI-generated vulnerability reports has pushed open source maintainers to rethink bug bounties and tighten security disclosure processes.
handlebars-helper-pkg
Advanced tools
{{pkg}} handlebars helper, for returning the value of a property from package.json.

{{pkg}} handlebars helper, for retrieving a value from your project's package.json.
In the root of your project, run the following in the command line:
npm i handlebars-helper-pkg --save-dev
If you use Assemble config and Grunt, in your Gruntfile simply add handlebars-helper-pkg to the helpers property in the Assemble task or target options:
grunt.initConfig({
assemble: {
options: {
// the 'handlebars-helper-pkg' module must also be listed in devDependencies
// for assemble to automatically resolve the helper
helpers: ['handlebars-helper-pkg', 'foo/*.js']
}
...
}
});
You can now use begin using the helper in your templates:
v{{pkg "version"}}
Returns:
v0.1.0
Licensed under the MIT License Copyright (c) Jon Schlinkert, contributors.
FAQs
{{pkg}} handlebars helper, for returning the value of a property from package.json.
We found that handlebars-helper-pkg demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
A surge of AI-generated vulnerability reports has pushed open source maintainers to rethink bug bounties and tighten security disclosure processes.

Product
Scan results now load faster and remain consistent over time, with stable URLs and on-demand rescans for fresh security data.

Product
Socket's new Alert Details page is designed to surface more context, with a clearer layout, reachability dependency chains, and structured review.