@lionweb/class-core-generator
v0.10.1
Published
Generator for implementations of languages based on the class-core package
Readme
README
This NPM package holds a code generator to generate classes based on the class-core package from an M2.
Installation
Run the following command to add this package to an NPM-based project:
npm add @lionweb/class-core-generatorThis adds this package as a dependency to your NPM-based project.
Usage
- Use the
generateLanguage,generateApiFromLanguages,generateApiFromLanguagesJson, andmegaFactoryForfunctions to generate API code for a single language or any number of languages. - The
defaultTrumpfOriginatingApache2_0LicensedHeaderandgeneratedCodeWarningCommentstext constants can be used as file headers.
As always: see the JSDoc of these items for more details.
