A Storage port adapter that uses the local file system for object storage in the hyper service framework
hyper.config.js
import { default as fs } from 'https://x.nest.land/[email protected]/mod.js'
export default {
app,
adapter: [{ port: 'storage', plugins: [fs({ dir: './data' })] }],
}
This is a Deno module available to import from nest.land
deps.js
export { default as fs } from 'https://x.nest.land/[email protected]/mod.js'
- Create an bucket as a directory
- Remove an bucket as a directory
- List buckets as directories
- Put an object into a bucket as a directory
- Remove an object from a bucket as a directory
- Get an object from a bucket as a directory
- List objects in a bucket as a directory
This adapter fully implements the Storage port and can be used as the hyper Storage service adapter
See the full port here
Contributions are welcome! See the hyper contribution guide
deno task test
To lint, check formatting, and run unit tests
Apache-2.0