open-index/open-npm huggingface dataset:
npm package: @leaningtech/ts2cpp
Description: TypeScript declaration to C++ header transpiler for Cheerp
Author: Leaning Technologies
Latest version: 1.0.1

![ts2cpp banner](banner.png)

A tool to generate C++ headers from typescript declaration files (.d.ts) for use with [Cheerp](https://github.com/leaningtech/cheerp-meta).

```
Usage: ts2cpp [options]

Options:
  --pretty                 format output files
  --default-lib            generate headers for the default library
  --out, -o <file>         path to output file
  --ignore-errors          ignore errors
  --list-files             write a list of all included .d.ts files
  --verbose, -v            verbose output
  --verbose-progress       verbose progress
  --namespace <namespace>  wrap output in a namespace
  --no-constraints         do not use std::enable_if or static_asserts
  --full-names             always use fully qualified names
  -h, --help               display help for command
```

## Setup

```
git clone https://github.com/leaningtech/ts2cpp.git
cd ts2cpp
npm i && npx tsc
```

Or run with `npx`:

```
npx @leaningtech/ts2cpp --help
```

## Examples

Generating clientlib headers

```
mkdir -p cheerp
npx ts2cpp --default-lib --pretty
```

Generating headers from a custom declaration file

```
npx ts2cpp --pretty test.d.ts -o test.h
```
npm package: @leanix/components
Description: _LeanIX Components_ is our Angular UI component library at [LeanIX](https://www.leanix.net/en/). [Here is a preview](https://storybook.leanix.net) of the bulk of this library.
Author: LeanIX GmbH
Latest version: 0.4.855

# LeanIX Components

_LeanIX Components_ is our Angular UI component library at [LeanIX](https://www.leanix.net/en/). [Here is a preview](https://storybook.leanix.net) of the bulk of this library.

## Installation

```bash
npm i @leanix/components
```

Add the following postinstall script to your package.json:

```
"postinstall": "ngcc"
```

If you are using a solution-style `tsconfig.json`, you will need to specify the path to the actual tsconfig file used for compiling the app code:

```
"postinstall": "ngcc --tsconfig <path-to-tsconfig>"
```

## Usage

Import the required module, e.g., the CoreUI module:

```ts
import { LxCoreUiModule } from '@leanix/components';
…
@NgModule ({
  …
  imports: [
    …
    LxCoreUiModule
  ]
})
```

And start using it in your templates:

```html
<button lx-button type="button" (click)="onSave()">Save</button>
```

## Licensing

_LeanIX Components_ is licensed under the [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0).