# edp-codegen **Repository Path**: cloud-computing-and-big-data/edp-codegen ## Basic Information - **Project Name**: edp-codegen - **Description**: No description available - **Primary Language**: JavaScript - **License**: MulanPSL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-07-14 - **Last Updated**: 2021-08-31 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # edp-codegen Package for edp code generation. It's simple, and offen use for secondary development. ## Usage ```javascript var edpCodegen = require( 'edp-codegen' ); edpCodegen.text( '{{user.name}}', yourname ); ``` ## API ### text( handlebarsSource, data, outputFile ) 生成代码文本. - `handlebarsSource` {string} - `data` {Object} - `outputFile` {string=} ### html( data, outputFile ) 生成HTML代码. - `data` {Object} - `outputFile` {string=} ### js( data, outputFile ) 生成Javascript代码. - `data` {Object} - `outputFile` {string=}