Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
rdf-dataset-ext
Advanced tools
Readme
Util functions for easier RDF/JS DatasetCore handling.
All provided functions can be imported as properties of the package or directly from the file matching the function name.
Import addAll
from property:
const { addAll } = require('rdf-dataset-ext')
Import addAll
from file:
const addAll = require('rdf-dataset-ext/addAll')
Iterates over iterable
and adds all quads to dataset
by calling .add
for each quad.
Returns the given dataset
.
Deletes all quads in the given dataset
which match the given subject
, predicate
, object
, graph
pattern.
.match
of dataset
is used to find the matches and .delete
to delete all matches.
Returns the given dataset
.
Tests if the datasets a
and b
contain the same quads without doing a normalization step beforehand.
That means Blank Node labels must also match.
The comparison is done by testing .size
of both dataset for equality and by looping over all quads of a
and check if b
contains it using the .has
method.
Returns true
if both datasets are equal.
Otherwise false
is returned.
Adds all quads from stream
till the stream is finished.
Errors emitted by the stream are forwarded as Promise rejects.
Returns the given dataset
.
Returns the canonical representation of the dataset
as string.
Creates a Stream which emits all quads of the given dataset
.
Returns the created stream.
FAQs
Util functions for easier RDF/JS DatasetCore handling
The npm package rdf-dataset-ext receives a total of 1,425 weekly downloads. As such, rdf-dataset-ext popularity was classified as popular.
We found that rdf-dataset-ext demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.