rdf-utils-fs
v3.0.0
Published
RDF/JS file system utils
Downloads
40,670
Readme
rdf-utils-fs
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
.