1.1.2 • Published 7 years ago

supermicrotemplate v1.1.2

Weekly downloads
7
License
MIT
Repository
github
Last release
7 years ago

Usage

Really simple:

Node

const template = require('supermicrotemplate')
template(
    'All _plc_ are replaced, even multiple _plc_. It is _sml_ and does one _thg_ well.',
    {_plc_: 'placeholders', _sml_: 'small', _thg_: 'thing'})

Require.js

I'm not sure. If you use require.js you probably know how to load it. ;)

Browser

<script src="supermicrotemplate.js"></script>
<script>
    supermicrotemplate(
        'All _plc_ are replaced, even multiple _plc_. It is _sml_ and does one _thg_ well.',
        {_plc_: 'placeholders', _sml_: 'small', _thg_: 'thing'})
</script>
1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago