Skip to content

chrisdothtml/node-etml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-etml

A preprocessor that enhances HTML

NOTE: ETML IS AN IN-PROGRESS PROJECT. DOCUMENTATION FOR ETML-API AND NODE-ETML IS STRICTLY FOR POST-RELEASE AND SHOULD NOT BE REFERENCED DURING CURRENT DEVELOPMENT. NEITHER MODULES ARE AVAILABLE ON NPM AS OF YET.

This is a module that allows for etml usage within Node. For etml docs, visit etml-api. To report an issue/suggestion, please do it here.

For etml usage with Grunt, visit grunt-etml.

Installation

npm install node-etml

Usage

Including the module

var etml = require('node-etml');

Running etml

// to compile etml on the fly (returns with HTML string)
etml.src(src, options);

// to compile one file
etml.file('path/to/src/file.etml', 'path/to/dest/', options);

// to compile all .etml files in a directory
etml.file('path/to/src/', 'path/to/dest/', options);

Options

bfe

Type: Boolean Default value: true

When this is set to true, it will use better-fs-errors for its filesystem error reporting.

About

etml Node module

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors