0.2.2 • Published 2 years ago

go-text-template v0.2.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

go-text-template

Node.js CI npm

Basic Go text/template parser and renderer. No dependencies.

Install

Install the package from the NPM registry:

npm install go-text-template

Usage

import { Template } from 'go-text-template'; // or require
const template = new Template("optional name");
const output = template.execute('Hello {{.name}}', { name: 'World' });
console.log(output); // Hello World
0.2.2

2 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago