Socket
Socket
Sign inDemoInstall

smpltmpl

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

smpltmpl

Simple templates for Node.js based on ECMAScript template literals syntax


Version published
Weekly downloads
51K
decreased by-0.44%
Maintainers
1
Weekly downloads
 
Created
Source

smpltmpl

Build Status

Simple templates for Node.js based on ECMAScript template literals syntax.

Installation

npm install --save smpltmpl

Usage

Using a string:

const { template } = require('smpltmpl');
console.log(template('Hello ${who}!', { who: 'templates' }));

Using a template file:

const { templateFromFile } = require('smpltmpl');
console.log(templateFromFile('template.txt', { who: 'templates' }));

Change log

The change log can be found on the Releases page.

Contributing

Everyone is welcome to contribute. Please take a moment to review the contributing guidelines.

Authors and license

Artem Sapegin and contributors.

MIT License, see the included License.md file.

Keywords

FAQs

Package last updated on 14 Nov 2017

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