@comunica/logger-pretty
TypeScript icon, indicating that this package has built-in type declarations

3.1.0 • Public • Published

Comunica Bus SPARQL Parse

npm version

A logger that prints to standard output.

Click here to learn more about logging.

This module is part of the Comunica framework, and should only be used by developers that want to build their own query engine.

Click here if you just want to query with Comunica.

Install

$ yarn add @comunica/logger-pretty

Usage

const QueryEngine = require('@comunica/query-sparql').QueryEngine;
import {LoggerPretty} from "@comunica/logger-pretty";

const bindingsStream = await new QueryEngine().queryBindings('SELECT * WHERE { ?s ?p ?o }', {
  sources: ['http://fragments.dbpedia.org/2015/en'],
  log: new LoggerPretty({ level: 'debug' }),
});

Dependencies (3)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @comunica/logger-pretty

    Weekly Downloads

    2,696

    Version

    3.1.0

    License

    MIT

    Unpacked Size

    20.4 kB

    Total Files

    12

    Last publish

    Collaborators

    • jeswr
    • joachimvh
    • rubensworks
    • rubenverborgh
    • dexagod