edp-codegen

Package for edp code generation

edp-codegen

Package for edp code generation. It's simple, and offen use for secondary development.

var edpCodegen = require( 'edp-codegen' );
edpCodegen.text( '{{user.name}}', yourname );

生成代码文本.

  • handlebarsSource {string}
  • data {Object}
  • outputFile {string=}

生成HTML代码.

  • data {Object}
  • outputFile {string=}

生成Javascript代码.

  • data {Object}
  • outputFile {string=}