Socket
Book a DemoInstallSign in
Socket

lobars

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lobars

lodash functions as handlebars helpers

latest
Source
npmnpm
Version
1.2.0
Version published
Maintainers
1
Created
Source

lobars

lodash functions as handlebars helpers

This simple library exports an object of helper functions from lodash 4, modified slightly to work properly as handlebars helpers. See Comparison Helpers and String Helpers for a list of available functions.

Installation

Download Node.js 4 or greater.

npm install lobars --save

Usage

const handlebars = require('handlebars')
const lobars = require("lobars")

handlebars.registerHelper(lobars)

Comparison Helpers

These functions all return true or false:

String Helpers

These functions mutate strings:

Tests

npm install
npm test

Dependencies

  • lodash: Lodash modular utilities.

Dev Dependencies

  • chai: BDD/TDD assertion library for node.js and the browser. Test framework agnostic.
  • cheerio: Tiny, fast, and elegant implementation of core jQuery designed specifically for the server
  • handlebars: Handlebars provides the power necessary to let you build semantic templates effectively with no frustration
  • mocha: simple, flexible, fun test framework
  • snazzy: Format JavaScript Standard Style as Stylish (i.e. snazzy) output

License

MIT

Generated by package-json-to-readme

Keywords

handlebars

FAQs

Package last updated on 17 May 2016

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