1.0.5 • Published 3 years ago

template-to-string v1.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

template-to-string

Javascript library to convert templates into string.

Installation

npm i template-to-string

Usage

const templateToString = require('template-to-string');

let myString = templateToString({
    template:"Hi {name}, Welcome to {country}",
    data:{
        name:"Goutham",
        country:"India"
    }
})

console.log(myString); // Hi Goutham, Welcome to India

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago