0.3.1 • Published 8 months ago
@textstream/core v0.3.1
@textstream/core
Installation
Yarn
yarn add @textstream/core
NPM
npm i @textstream/core
Usage
import TextStream from '@textstream/core';
// Or: import {TextStream} from '@textstream/core';
const cs = new TextStream();
cs.write('export function sum(a,b) {\n`, () => {
cs.write(`return a + b;\n`);
},'}\n');