1.3.5 • Published 4 years ago

interpolate-es v1.3.5

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

A small, easy-to-use template literal builder. Good for loading template literal strings from external sources.

GitHub Releases NPM Release Bundlephobia MIT License Latest Status Release Status

features

  • ECMAScript Module
  • CommonJS Bundle Included
  • Typescript Compatible
  • Tiny Footprint (1K)

Installation

npm install interpolate-es
import Interpolate from 'interpolate-es';

Interpolate()

Builds a string from a template string + tags collection.

Arguments

Interpolate(template, {tags})

  • template - the template literal string
  • tags - the tagged values in the template

CommonJS

A .cjs bundle is included for CommonJS compatibility

const Interpolate = require('interpolate-es');

Typings

Typings are generated from JSDoc using Typescript. They are 100% compatible with VSCode Intellisense and will work seamlessly with Typescript.

1.3.5

4 years ago

1.3.4

4 years ago

1.3.3

4 years ago

1.3.2

4 years ago

1.3.1

4 years ago

1.3.0

4 years ago

1.2.0

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.3

4 years ago

1.0.0

4 years ago