0.0.2 • Published 5 years ago
untoken v0.0.2
Motivation
I have been looking for a simple tool that replace tokens in a given text with given set of values. Yes, the ability to un-token a text.
Installation
npm i untokenUsage
import { untoken } from 'untoken'
untoken('Hello {name}!', { name: 'Rubens' })
// Hello Rubens!Development
- Clone this repo.
- Install dependencies:
npm i - Profit!
Tests
npm tPublishment
Every semver tag pushed to this will be published via GitHub Actions.
Crafted by Rubens Mariuzzo. MIT license