
Product
Introducing Supply Chain Attack Campaigns Tracking in the Socket Dashboard
Campaign-level threat intelligence in Socket now shows when active supply chain attacks affect your repositories and packages.
handlebars-helper-ghbtns
Advanced tools
{{ghbtn}} handlebars helper. Add github buttons (http://ghbtns.com) to your site.

Handlebars helper for adding github buttons to your site.
Use npm to install the package: npm i handlebars-helper-gh-buttons.
In your project's Gruntfile, to register the helper add handlebars-helper-gh-buttons to the helpers property in the Assemble task or target options:
grunt.initConfig({
assemble: {
options: {
// the 'handlebars-helper-gh-buttons' npm module must also be listed in
// devDependencies for assemble to automatically resolve the helper
helpers: ['handlebars-helper-gh-buttons', 'foo/*.js']
},
files: {
'dist/': ['src/templates/*.hbs']
}
}
});
With the helper registered, you may now begin using it in your templates.
{{github user="upstage" repo="upstage" type="star"}}
The following hash options may be passed to the helper, in the form of foo="value":
Type: String
Default: undefined
The GitHub user or org. Example: jonschlinkert.
Type: String
Default: undefined
The GitHub repo. Example: sublime-monokai-extended.
Type: String
Default: undefined
The button type. Options are star and watch for repos, and follow for users.
Type: String
Default: true
Whether or not to show the count or stars, watchers or followers.
Type: String
Default: undefined
The width of the rendered iframe. Allows you to override the default values that are automatically defined based on other options.
Type: String
Default: undefined
The height of the rendered iframe. Allows you to override the default values that are automatically defined based on other options.
Type: String
Default: none
The only option is large. When size="large" is defined, width and height will automatically be adjusted.
Jon Schlinkert
Licensed under the MIT License Copyright (c) Jon Schlinkert, contributors.
FAQs
{{ghbtn}} handlebars helper. Add github buttons (http://ghbtns.com) to your site.
We found that handlebars-helper-ghbtns demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.

Product
Campaign-level threat intelligence in Socket now shows when active supply chain attacks affect your repositories and packages.

Research
Malicious PyPI package sympy-dev targets SymPy users, a Python symbolic math library with 85 million monthly downloads.

Security News
Node.js 25.4.0 makes require(esm) stable, formalizing CommonJS and ESM compatibility across supported Node versions.