Skip to content

Expose default treeadapter #301

@jacobbogers

Description

@jacobbogers

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions