Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

handlebars-helper-i18n

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

handlebars-helper-i18n

{{i18n}} handlebars helper

  • 0.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
17
decreased by-41.38%
Maintainers
1
Weekly downloads
 
Created
Source

{{i18n}} NPM version

{{i18n}} handlebars helper

Install

Install with npm
npm i handlebars-helper-i18n --save-dev

Register the helper

var Handlebars = require('handlebars');
var helper = require('handlebars-helper-i18n');

Handlebars.registerHelper('i18n', helper.i18n);

Register the helper with Assemble

Assemble v0.6.x

var assemble = require('assemble');
var helper = require('assemble-handlebars-i18n');

assemble.helper('i18n', helper.i18n);

Assemble v0.4.x

In your project's Gruntfile:

assemble: {
  options: {
    helpers: ['handlebars-helper-i18n']
  },
  files: {...}
}

Also, be sure to add the helper to devDependencies in package.json for Assemble to automatically register the helper.

Usage

Given file name: Executive Summary 2013.md:

{{i18n "key"}}

Renders to executive-summary-2013.md.

Author

Laurent Goderre

License

Copyright (c) 2014 Laurent Goderre, contributors.
Released under the MIT license


This file was generated by verb-cli on September 12, 2014.

Keywords

FAQs

Package last updated on 12 Sep 2014

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc