0.11.1 • Published 4 years ago

createx-generator v0.11.1

Weekly downloads
1
License
MIT
Repository
-
Last release
4 years ago

createx

styled with prettier Dev Dependencies Donate

This library has the intention to help to generate code based on templates.

Installation

npm install createx-generator

Usage

// import
import { File, region } from 'createx';

// use
new File('./models/person.ts')
  .render(`
export class Person {
    ${region('generated',`
    name: string;
    phone: string;`)}
}
`).overwrite(false).overwriteRegions(true).save()

Attention

This is an experimental library. Not yet ready for production.

0.11.1

4 years ago

0.11.0

4 years ago

0.10.0

4 years ago

0.9.0

4 years ago

0.8.0

4 years ago

0.7.0

4 years ago

0.6.0

4 years ago

0.5.0

4 years ago

0.4.0

4 years ago

0.3.0

4 years ago

0.2.0

4 years ago