knitout.Writer instead of knitoutWriter?
ixchow opened this issue · comments
ixchow commented
Taking as an example the http
module, we see the pattern:
const http = require('http');
let agent = new http.Agent({ keepAlive: true });
Perhaps it is worth doing something similar with knitout?
const knitout = require('knitout');
let k = new knitout.Writer(); //writer object
console.assert(knitout.FRONT_BED === 'f'); //constants for bed names
console.log(knitout.isFrontBed(knitout.parseBedNeedle('fs17').bed)); //utility functions