1.0.0 • Published 7 years ago

rdf-serve-static v1.0.0

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

rdf-serve-static

Build Status npm version

It's like server-static, just for RDF Graphs with content negotiation.

Usage

Here is a small example that hosts all RDF files in the folder files:

const express = require('express')
const formats = require('rdf-formats-common')()

const app = express()

app.use(serve('files', formats))