@feizheng/next-tmpl

1.0.4 • Public • Published

next-tmpl

A simple tmpl based on next.

installation

npm install -S @feizheng/next-tmpl

usage

import '@feizheng/next-tmpl';

nx.tmpl('I am {0}, I can live {1} year', ['afei', 100]);
nx.tmpl('I am {name}, I can live {age} year', { name:'afei', age:100});

// I am afei, I can live 100 year

Readme

Keywords

none

Package Sidebar

Install

npm i @feizheng/next-tmpl

Weekly Downloads

2

Version

1.0.4

License

MIT

Unpacked Size

4.92 kB

Total Files

6

Last publish

Collaborators

  • afeiship