# cstdio

> Implementation for C language's stdio for node.js

Latest version **1.1.0** (published 2020-01-19) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2020-01-19 |
| First published | 2020-01-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 4.7 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | Si-Yual Park |
| Maintainers | araxsiyual |
| Keywords | C, IO, printf, scanf |

## Links

- npm: https://www.npmjs.com/package/cstdio
- Homepage: https://github.com/kdPark0723/node-cstdio
- Issues: https://github.com/kdPark0723/node-cstdio/issues
- npm.io page: https://npm.io/package/cstdio

## Dependencies (2)

- [scanf](https://npm.io/package/scanf.md) ^1.1.1
- [printf](https://npm.io/package/printf.md) ^0.5.2

## Alternatives

- [memory-cache](https://npm.io/package/memory-cache.md) — 795.0K weekly downloads
- [@httptoolkit/proxy-agent](https://npm.io/package/@httptoolkit/proxy-agent.md) — 11.2K weekly downloads
- [express-cache-controller](https://npm.io/package/express-cache-controller.md) — 5.3K weekly downloads
- [http-cache-middleware](https://npm.io/package/http-cache-middleware.md) — 4.5K weekly downloads
- [cache2](https://npm.io/package/cache2.md) — 1.5K weekly downloads

## Recent versions

- 1.1.0 (latest) — 2020-01-19
- 1.0.2 — 2020-01-19
- 1.0.1 — 2020-01-19
- 1.0.0 — 2020-01-19
- 0.0.0 — 2020-01-19

## README

# node-cstdio

Implementation for C language's stdio for node.js

​    

## Install

```shell
npm i cstdio
```

​    

## Api

### printf

```js
printf(format, ...args);
```

​    

### fprintf

```js
fprintf(write_stream, format, ...args);
```

​    

### sprintf

```js
sprintf(format, ...args);
```

​    

### scanf

```js
scanf(format, ...args);
```

​    

### sscanf

```js
scanf(buffer, format, ...args);
```

​    

### doc

See the following packages

- printf: https://www.npmjs.com/package/printf
- scanf: https://www.npmjs.com/package/scanf

​    

## Example

### Hello, world!

```js
const cstdio = require('cstdio');

cstdio.printf('Hello, world!');
```

​    

### Scan and print

```js
const cstdio = require('cstdio');

const input = cstdio.scanf("%s");
cstdio.printf("input is %s", input);
```

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