npm.io
2.1.21 • Published 1 year ago

@solid-rest/file

Licence
MIT
Version
2.1.21
Deps
6
Size
72 kB
Vulns
0
Weekly
0
Stars
40

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.

Keywords