@zazuko/env-node
TypeScript icon, indicating that this package has built-in type declarations

2.1.2 • Public • Published

RDF/JS Environment with NodeJs support

This package extends @zazuko/env by adding support for NodeJs.

It includes @zazuko/rdf-utils-fs and @rdfjs/fetch-lite and bundles the default set of parsers and serializers.

Using different serializers

It is possible to switch the formats by importing them from a different package. For example, using the pretty-printing package.

import rdf from '@zazuko/env-node'
import formats from '@rdfjs-elements/formats-pretty'

rdf.formats.import(formats)

Package Sidebar

Install

npm i @zazuko/env-node

Weekly Downloads

986

Version

2.1.2

License

MIT

Unpacked Size

6.38 kB

Total Files

5

Last publish

Collaborators

  • zazuko-bot
  • tpluscode
  • ludovicm67
  • ktk