@solid-rest/file

solid-rest plugin for filesystems

Usage no npm install needed!

<script type="module">
  import solidRestFile from 'https://cdn.skypack.dev/@solid-rest/file';
</script>

README

Solid-Rest-File

Treat any file system as a serverless Solid pod

This library treats a local file system as a serverless Solid Pod, accepting Solid requests (GET, PUT, etc.) and returning Solid responses (wac-allow headers, turtle representation of folders, etc.).

The library may be used stand-alone (see tests for examples), or as a plugin to Solid-Node-Client from where it can be integrated into almost any Solid library or app. Simply import Solid-Node-Client and thereafter use file:// URLs almost anywhere that https:// URLs work. See the Solid-Node-Client documentation for details.

© 2021, Jeff Zucker, may be freely used with an MIT license.