# nodecpp

> compile, run and watch main.ccp

Latest version **0.0.6** (published 2019-02-04) · ISC license · 0 weekly downloads

## Install

```sh
npm install nodecpp
pnpm add nodecpp
yarn add nodecpp
bun add nodecpp
```

Provides the command `nodecpp`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.6 |
| Published | 2019-02-04 |
| First published | 2019-02-02 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 38.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | zoutepopcorn |
| Keywords | cpp, g++, compile, watch, run, main.cpp |

## Links

- npm: https://www.npmjs.com/package/nodecpp
- Repository: https://github.com/zoutepopcorn/nodecpp
- Homepage: https://github.com/zoutepopcorn/nodecpp#readme
- Issues: https://github.com/zoutepopcorn/nodecpp/issues
- npm.io page: https://npm.io/package/nodecpp

## Dependencies (3)

- [glob](https://npm.io/package/glob.md) ^7.1.3
- [chalk](https://npm.io/package/chalk.md) ^2.4.2
- [inquirer](https://npm.io/package/inquirer.md) ^6.2.2

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 0.0.6 (latest) — 2019-02-04
- 0.0.5 — 2019-02-04
- 0.0.4 — 2019-02-04
- 0.0.3 — 2019-02-02
- 0.0.2 — 2019-02-02
- 0.0.1 — 2019-02-02

## README

# nodecpp

This wil compile and run main.cpp on a filechange from main.cpp

It will run:

```bash
g++ main.cpp -o main
./main
```

# install

```bash
npm i . -g
```
or with npm 

```bash
npm i nodecpp -g
```

# run

You need to have a file main.cpp in the directory
```c++
#include <iostream>

int main() {
    std::cout << "Hallo, nodecpp" << std::endl;
    return 0;
}
```

than run

```bash
nodecpp
```

if you want to run other files
```
nodecpp other
```

Thats it. For now it will not watch other files

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