New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

jsonld-lite

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsonld-lite

A slimmed down version of jsonld.js for usage with webpack.

  • 0.4.9
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
23
increased by91.67%
Maintainers
1
Weekly downloads
 
Created
Source

jsonld-lite

jsonld-lite is a stripped version of jsonld.js. The main purpose is to provide a version of jsonld.js which can be used together with webpack and not pulling in all dependencies it normally needs for running on node.

Notes

  • Should not work on node.js ;)
  • Fixed jsonld.js version to 0.4.9, due to a funny bug
  • Difference to jsonld.js
    • dropped node support, removes request and pkginfo as dependencies
    • removed jquery and node documentLoader
    • removed RDFa parser, this drops the need for a XML parser. This removes xmldom dependency
    • removed JsonLdProcessor, as it seems to be unnecessary

Issues

Any issues occurring are most likely originating from json.ld, especially parsing or formatting issues. If you believe the issues are originating from this package, report them here.

Build

jsonld-lite is built by transforming the jsonld.js source with the help of jscodeshift. The applied transformations can be found in the transformations folder.

You build jsonld-lite yourself by running

npm install
npm run prepublish

License

jsonld.js is licensed under the BSD-3-Clause license. As this project is basically a slimmed down version of jsonld.js, it is also licensed under the BSD-3-Clause.

The transformations are licensed under the GPL-3.0.

Keywords

FAQs

Package last updated on 05 Sep 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc