New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

prez-lib

Package Overview
Dependencies
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prez-lib

A JS library for processing RDF data for use with Prez UI

latest
Source
npmnpm
Version
4.3.0
Version published
Maintainers
2
Created
Source

Prez Lib

A JS library for processing RDF data for use with Prez UI, implementing RDF/JS types and N3.js.

Installing

npm install prez-lib

Example Usage

Using the factory functions:

import { literal, node } from "prez-lib";

const term = node({
    value: "https://example.com",
    label: literal("term"),
    links: [
        {
            value: "/"
        }
    ],
});

Using the store class:

import { RDFStore } from "prez-lib";

const data = "<https://example.com/subject> <https://example.com/predicate> <https://example.com/object> .";
const store = new RDFStore();
store.load(data);
const data = store.getItem();

FAQs

Package last updated on 16 Jan 2026

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