Skip to content

Think about production dependencies #152

@leipert

Description

@leipert

Hey there.

I was just reading the code and wondered about a few dependencies/possible improvements:

  • pkginfo: could be removed if the source code of L8133-L8135 is changed to:

    jsonld.version = require('../package.json').version
    

And this is somewhat related to #99:

  • request is used for the node document loader. would it make sense to split json.ld into two modules, so that the json ld processor becomes a separate module, which is somewhat smaller and does not include the document loaders
  • xmldom same as above, only used for rdfa converting, maybe provide it as a plugin

If you are somewhat happy about talking those improvements, I would be happy to help you with changes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions