Skip to content

zazuko/barnard59-legacy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

barnard59

NOTE: This is the legacy version and should not be used anymore. The sole reason for this repo are some old dependencies in pipelines that did not switch to the current version yet. Use barnard59 instead. This repo will be deleted at one point.

Build better Linked Data pipelines in less time with barnard59 to have more time to look at the sky. barnard59 bundles a lot of tools with an easy to use API. To allow processing of big amounts of data, it's based on streams.

Features

  • stream processing
  • SPARQL
  • file system
  • CSV
  • JSON-LD
  • N-Triples
  • list functions (filter, map)

Usage

Check the examples for some ideas. More documentation on the usage of barnard59 will be added later.

API

barnard59 Linked Data pipelines

Example

var p = require('barnard59')

p.shell

Execute a shell command.

Kind: static property of barnard59

p.limit(limit)

Limit the amount of chunks in a pipe.

Kind: static method of barnard59

Param Type Description
limit number Limit the amount of chunks passed through the pipe.

p.run(something) ⇒ Promise

Run a pipe.

Kind: static method of barnard59
Returns: Promise - something

Param Type
something Stream

Example

p.run(source.pipe(p.limit).pipe(p.stdout())).then(() => {console.log('done')})

p.stdout()

Provides a pipe which writes on the stdout of the current operating system process.

Kind: static method of barnard59