New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

lodash-template-cli

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lodash-template-cli

Provides a handy command-line interface for compiling lodash templates.

latest
Source
npmnpm
Version
2.0.0
Version published
Weekly downloads
7
16.67%
Maintainers
1
Weekly downloads
 
Created
Source

lodash-template-cli

Provides a handy command-line interface for compiling lodash templates.

Installation

Install locally for use in npm scripts:

npm install lodash-template-cli

Or globally to run from anywhere:

npm install -g lodash-template-cli

Usage

Run the command with the path to a JSON data file containing a dictionary with the data to compile the template with, a template file and finally an output file.

Usage: lodash-template-cli [options] <input-data-file> <input-template-file> <output-file>

Options:

  -h, --help     output usage information
  -V, --version  output the version number

Why?

I was migrating my portfolio site to use a more simple build system based on NPM scripts. The previous solution used grunt-template which in turn used lodash's template syntax. Now I can easily compile these templates from the command-line!

lodash-template-cli - Provides a handy command-line interface for compiling lodash templates.

Written in 2016 by Jesper Oskarsson jesosk@gmail.com

To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty.

You should have received a copy of the CC0 Public Domain Dedication along with this software. If not, see http://creativecommons.org/publicdomain/zero/1.0/.

Keywords

lo-dash

FAQs

Package last updated on 08 Jun 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