nl_tokens: Create a template object from a template of the assets folder . Use the type to determine which template must be selected .
pl_tokens: function createTemplate ( type , destination ) { const templatePath = getTemplatePath ( assets , type ) if ( ! templatePath ) { throw new Error ( 'Missing template! Make sure your presskit has a "type" field (product/company)' ) } registerPartials ( assets ) registerHelpers ( destination ) const template = <mask> . readFileSync ( templatePath , 'utf-8' ) return handlebars . compile ( template ) }