rdf-utils-fs
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/rdf-utils-fs package

3.0.0 • Public • Published

rdf-utils-fs

build status npm version

File system utils for RDF/JS.

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:

import { fromFile } from 'rdf-utils-fs'
import { toFile } from 'rdf-utils-fs'

Loading the function from the file with the function name:

import fromFile from 'rdf-utils-fs/fromFile.js'
import toFile from 'rdf-utils-fs/toFile.js'

Functions

fromFile(filename, options)

Returns a quad stream for the given filename.

async toFile(stream, filename, options)

Writes the given quad stream to filename.

Readme

Keywords

Package Sidebar

Install

npm i rdf-utils-fs

Weekly Downloads

2,997

Version

3.0.0

License

MIT

Unpacked Size

10.1 kB

Total Files

19

Last publish

Collaborators

  • bergos