https://github.com/brecert/micro_template
micro_template is a very simple and small templating tool
https://github.com/brecert/micro_template
deno javascript replace template typescript
Last synced: 2 months ago
JSON representation
micro_template is a very simple and small templating tool
- Host: GitHub
- URL: https://github.com/brecert/micro_template
- Owner: brecert
- Created: 2021-04-21T05:46:58.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-10-02T23:08:33.000Z (over 4 years ago)
- Last Synced: 2026-04-01T01:14:13.948Z (3 months ago)
- Topics: deno, javascript, replace, template, typescript
- Language: TypeScript
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# micro-template
A very simple and small templating tool.
Usage:
```ts
import * as template from './replace.ts'
template.replace('Hello {name}!', { name: 'bree' })
// => "Hello bree!"
```