Skip to content

Generate string representation from template file.

Notifications You must be signed in to change notification settings

ieschalier/builder-t

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

builder-t 👷‍♂️

Usefull to generate html string representation from template. Or anything else

Prerequisites

node 8 for util.promisify

Install

yarn add template-builder
const fromTemplate = require('../index')

const result = await fromTemplate({
  from: path.join(__dirname, 'template.html'),
  values: {
    title: 'hello world',
    string: 'hello jhon',
  },
})

About

Generate string representation from template file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published