
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Implements the RDF-Ext spec plus parsers (JSON-LD, RDF/XML, Turtle), serializers (JSON-LD, N-Triples) and stores (in memory, LDP, SPARQL)
This module implements [RDF-Ext] (http://bergos.github.com/rdf-ext-spec/), parsers (JSON-LD, RDF-XML, Turtle), serializers (JSON-LD, N-Triples, Turtle) and stores (in memory, LDP, SPARQL).
RDF-Ext requires a library which implements the RDF-Interfaces API. Here is a list of known working implementations:
Import your favourite RDF Interfaces library:
var rdf = require('rdf-interfaces');
Mixin RDF Interfaces Extension to the RDF Environment:
require('rdf-ext')(rdf);
Import your favourite RDF Interfaces library:
<script src="/js/rdf.js"></script>
If you want to use the Turtle or JSON-LD parser:
<script src="/js/n3-browser.js"></script>
<script src="/js/jsonld.js"></script>
Because rdfstore-js comes with an outdated version of jsonld it must be deleted afterwards:
<script src="/js/rdfstore.js"></script>
<script>delete jsonld;</script>
Now you can import RDF-Ext:
<script src="/js/rdf-ext.js"></script>
A simple in memory triple store implementation.
Store implementation to access graphs with RESTful interface.
Store based on [rdfstore-js] (https://github.com/antoniogarrote/rdfstore-js).
In memory triple store using a single graph for all named graphs. Sometimes usefull for testing.
Store implementation to access graph with HTTP/SPARQL interface.
Parser for JSON-LD using the standard [JSON-LD library] (https://github.com/digitalbazaar/jsonld.js).
Parser for RDF-XML data using a fork of the [rdflib.js] (https://github.com/linkeddata/rdflib.js) parser.
Turtle parser using [N3.js] (https://github.com/RubenVerborgh/N3.js).
JSON-LD serializer exports expanded JSON-LD data.
N-Triples serializer using the RDF-Ext Graph.toString()
function.
FAQs
RDF-Ext is a developer-friendly extension for RDF/JS
The npm package rdf-ext receives a total of 15,344 weekly downloads. As such, rdf-ext popularity was classified as popular.
We found that rdf-ext demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
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.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.