I can now do:
const ta = require('parse5/lib/tree-adapters/default');
but aesthetically not gorgeous like the rest of this wonderful code and a bit of a hacky , could the default parser be exported as require('parse5/adaptor-default') or require(parse5/default-adaptor); or const { adapter } = require('parse5'); and expose it officially this way
My 2cts
I can now do:
but aesthetically not gorgeous like the rest of this wonderful code and a bit of a hacky , could the default parser be exported as
require('parse5/adaptor-default')orrequire(parse5/default-adaptor);orconst { adapter } = require('parse5');and expose it officially this wayMy 2cts