0.1.0 • Published 1 year ago
textstreamjs
Licence
MIT
Version
0.1.0
Deps
2
Size
13 kB
Vulns
0
Weekly
0
textstreamjs
Installation
yarn add textstreamjs
npm i textstreamjs
Usage
import CodeStream from 'textstreamjs';
const cs = new CodeStream();
cs.write('export function sum(a,b) {\n`, () => {
cs.write(`return a + b;\n`);
},'}\n');