File system utils for RDF/JS.
Please consider switching to the @rdfjs/io features of rdf-ext, as it supports the same features and is even richer in functionality.
Each util function can be loaded as property from the main module or by loading only the file with the same name.
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'
Returns a quad stream for the given filename
.
Writes the given quad stream to filename
.