
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
handlebars-i18next-parser
Advanced tools
Parser/lexer for the combination of handlebars-i18next and i18next-parser
Parser/lexer for the combination of handlebars-i18next and i18next-parser.
If you are using handlebars-i18next to insert translation strings into your Handlebars templates, then this package will enable you to extract the keys (and default values) into JSON files for your translators.
Installation:
npm install --save-dev handlebars-i18next-parser
yarn add -D handlebars-i18next-parser
Configuration for i18next-parser (by default this assumes you use i18n as the name for the helper; see below on how to override):
import HbsI18nLexer from 'handlebars-i18next-parser';
{
lexers: {
hbs: [HbsI18nLexer],
handlebars: [HbsI18nLexer],
}
}
Finally, run i18next-parser as documented.
handlebars-i18next lets you override the helper name. If you use this feature, for example to use the name t instead, you can notify the lexer by changing the i18next-parser lexers configuration as follows:
{
lexers: {
hbs: [{
lexer: HbsI18nLexer,
functions: ['t'],
}],
}
}
Made by
FAQs
Parser/lexer for the combination of handlebars-i18next and i18next-parser
The npm package handlebars-i18next-parser receives a total of 199 weekly downloads. As such, handlebars-i18next-parser popularity was classified as not popular.
We found that handlebars-i18next-parser 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.

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

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.