Nascent Prototype Metaverse

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

    2.2.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:

    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

    677

    Version

    2.2.0

    License

    MIT

    Unpacked Size

    6.54 kB

    Total Files

    12

    Last publish

    Collaborators

    • bergos