1.1.0 • Published 5 years ago

cstdio v1.1.0

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

node-cstdio

Implementation for C language's stdio for node.js

Install

npm i cstdio

Api

printf

printf(format, ...args);

fprintf

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

sprintf

sprintf(format, ...args);

scanf

scanf(format, ...args);

sscanf

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

doc

See the following packages

Example

Hello, world!

const cstdio = require('cstdio');

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

Scan and print

const cstdio = require('cstdio');

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

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago

0.0.0

5 years ago