Need private packages and team management tools?Check out npm Teams »

rdf-utils-fs

2.1.0 • Public • Published

rdf-utils-fs

Build Status npm version

File system utils for RDFJS.

Usage

Each util function can be loaded as property from the main module or by loading only the file with the same name.

Example

Loading the function from the main module:

const resource = require('rdf-utils-fs').fromFile

Loading the function from the file with the function name:

const resource = require('rdf-utils-fs/fromFile')

Functions

fromFile(filename, options)

Returns a quad stream for the given filename.

async toFile(stream, filename, options)

Writes the given quad stream to filename.

Install

npm i rdf-utils-fs

DownloadsWeekly Downloads

19

Version

2.1.0

License

MIT

Unpacked Size

5.82 kB

Total Files

11

Last publish

Collaborators

  • avatar