0.2.0 • Published 10 years ago

folder-to-rdf v0.2.0

Weekly downloads
2
License
MIT
Repository
github
Last release
10 years ago

folder-to-rdf

Create an RDF-ext compatible graph of a folder. This library looks at a folder and tries to parse the Linked Data files and then returns what is in the folder in a RDF-graph

Like ls, with Linked Data output

Install

$ npm install --save folder-to-rdf

Usage

Simple

var opts = {
  suffixMeta: '.meta',
  skipFiles: ['secret*', '.git', '*.pem'],
  posix: true
}
var ls = require('folder-to-rdf')(opts)

ls('./', function(err, graph) {
  console.log(graph.toString())
})

Test

npm test

License

MIT © Nicola Greco 2015

0.2.0

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago