
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-not
Advanced tools
{{not}} handlebars helper. Conditionally render a block if the condition is false. This block helper is really just a semantic alternative to {{isnt}}

{{not}} handlebars helper, for retrieving a value from your project's package.json.
Conditionally render a block if the condition is false. This block helper is really just a semantic alternative to {{#isnt}}:
{{#not basename "index"}}
<title>{{title}} | Assemble</title>
{{else}}
<title>Assemble</title>
{{/not}}
Please report any bugs or feature requests, thanks!
Install the helper with: npm install handlebars-helper-not
If you use Assemble config and Grunt, in your Gruntfile simply add handlebars-helper-not to the helpers property in the Assemble task or target options:
grunt.initConfig({
assemble: {
options: {
// the 'handlebars-helper-not' module must also be listed in devDependencies
// for assemble to automatically resolve the helper
helpers: ['handlebars-helper-not', 'foo/*.js']
}
...
}
});
Alternatively, you can register the helper with Assemble by adding handlebars-helper-not to both the devDependencies and the keywords array in your project's package.json.
Note that the 'handlebars-helper-not' module must be listed in both devDependencies and the keywords array for Assemble to automatically resolve the helper.
You can now use begin using the helper in your templates.
Jon Schlinkert
Licensed under the MIT License Copyright (c) Jon Schlinkert, contributors.
FAQs
{{not}} handlebars helper. Conditionally render a block if the condition is false. This block helper is really just a semantic alternative to {{isnt}}
We found that handlebars-helper-not 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.