# @lionweb/class-core-generator

> Generator for implementations of languages based on the class-core package

Latest version **0.10.1** (published 2026-09-22) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @lionweb/class-core-generator
pnpm add @lionweb/class-core-generator
yarn add @lionweb/class-core-generator
bun add @lionweb/class-core-generator
```

## Health

**Score 65/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; recently updated; high maintenance score.

Warnings: low downloads; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.10.1 |
| Published | 2026-09-22 |
| First published | 2025-04-05 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 9 |
| Unpacked size | 176.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 12 |
| Maintainers | dslmeinte, ftomassetti, jwarmer |

## Links

- npm: https://www.npmjs.com/package/@lionweb/class-core-generator
- Repository: https://github.com/LionWeb-io/lionweb-typescript
- Homepage: https://github.com/LionWeb-io/lionweb-typescript#readme
- Issues: https://github.com/LionWeb-io/lionweb-typescript/issues
- npm.io page: https://npm.io/package/@lionweb/class-core-generator

## Dependencies (9)

- [@types/node](https://npm.io/package/@types/node.md) 25.2.2
- [@lionweb/core](https://npm.io/package/@lionweb/core.md) 0.10.1
- [@lionweb/json](https://npm.io/package/@lionweb/json.md) 0.10.1
- [@lionweb/ts-utils](https://npm.io/package/@lionweb/ts-utils.md) 0.10.1
- [@lionweb/utilities](https://npm.io/package/@lionweb/utilities.md) 0.10.1
- [littoral-templates](https://npm.io/package/littoral-templates.md) 0.5.1
- [@lionweb/node-utils](https://npm.io/package/@lionweb/node-utils.md) 0.10.1
- [@lionweb/textgen-utils](https://npm.io/package/@lionweb/textgen-utils.md) 0.10.1
- [@lionweb/io-lionweb-mps-specific](https://npm.io/package/@lionweb/io-lionweb-mps-specific.md) 0.10.1

## Recent versions

- 0.10.1 (latest) — 2026-09-22
- 0.11.0-alpha.0 (alpha) — 2026-10-15
- 0.10.0-beta.8 (beta) — 2026-09-07
- 0.10.0 — 2026-09-11
- 0.10.0-beta.7 — 2026-08-28
- 0.10.0-beta.6 — 2026-08-27
- 0.10.0-alpha.11 — 2026-08-23
- 0.10.0-alpha.10 — 2026-07-27
- 0.10.0-beta.5 — 2026-07-27
- 0.10.0-beta.4 — 2026-07-23
- 0.10.0-beta.3 — 2026-07-20
- 0.10.0-alpha.9 — 2026-07-20
- 0.10.0-alpha.8 — 2026-07-20
- 0.10.0-alpha.7 — 2026-07-15
- 0.10.0-beta.2 — 2026-07-13
- … 87 more at https://npm.io/package/@lionweb/class-core-generator/versions

## README

# README

[![license](https://img.shields.io/badge/License-Apache%202.0-green.svg?style=flat)
](./LICENSE)
[![CI](https://github.com/LionWeb-io/lionweb-typescript/actions/workflows/test.yaml/badge.svg)
](https://github.com/LionWeb-io/lionweb-typescript/actions/workflows/test.yaml)
[![npm](https://img.shields.io/npm/v/%40lionweb%2Fclass-core-generator?label=%40lionweb%2Fclass-core-generator)
](https://www.npmjs.com/package/@lionweb/class-core-generator)

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:

```shell
npm add @lionweb/class-core-generator
```

This adds this package as a dependency to your NPM-based project.


## Usage

* Use the `generateLanguage`, `generateApiFromLanguages`, `generateApiFromLanguagesJson`, and `megaFactoryFor` functions to generate API code for a single language or any number of languages.
* The `defaultTrumpfOriginatingApache2_0LicensedHeader` and `generatedCodeWarningComments` text constants can be used as file headers.

As always: see the JSDoc of these items for more details.

---
_Source: https://npm.io/package/@lionweb/class-core-generator · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
