Skip to content

Dedupe wurd-web and wurd-node #3

@caub

Description

@caub

There seem to be similar stuff between the 2 libs

https://github.com/wurdcms/wurd-node/blob/master/src/block.js#L166

https://github.com/wurdcms/wurd-web/blob/master/src/block.js#L105

I think we could merge them and make sure it works on both node and web (for example we can require('node-fetch') on both node and browser, node-fetch is 'universal' (https://github.com/node-fetch/node-fetch/blob/master/package.json#L6)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions