All Projects → codebrewlab → nestjs-storage

codebrewlab / nestjs-storage

Licence: other
Nestjs file system / file storage module wrapping flydrive

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to nestjs-storage

Flydrive
☁️ Flexible and Fluent framework-agnostic driver based system to manage storage in Node.js
Stars: ✭ 275 (+198.91%)
Mutual labels:  filesystem, driver, s3, google-cloud-storage
Mc
MinIO Client is a replacement for ls, cp, mkdir, diff and rsync commands for filesystems and object storage.
Stars: ✭ 1,962 (+2032.61%)
Mutual labels:  filesystem, s3, google-cloud-storage
Goofys
a high-performance, POSIX-ish Amazon S3 file system written in Go
Stars: ✭ 3,932 (+4173.91%)
Mutual labels:  filesystem, s3, google-cloud-storage
storage
Go package for abstracting local, in-memory, and remote (Google Cloud Storage/S3) filesystems
Stars: ✭ 49 (-46.74%)
Mutual labels:  filesystem, s3, google-cloud-storage
Infinit
The Infinit policy-based software-defined storage platform.
Stars: ✭ 363 (+294.57%)
Mutual labels:  filesystem, s3
Juicefs
JuiceFS is a distributed POSIX file system built on top of Redis and S3.
Stars: ✭ 4,262 (+4532.61%)
Mutual labels:  filesystem, s3
Exfat
Free exFAT file system implementation
Stars: ✭ 528 (+473.91%)
Mutual labels:  filesystem, driver
Node Ntfs
Windows NT File System (NTFS) file system driver
Stars: ✭ 18 (-80.43%)
Mutual labels:  filesystem, driver
Shrine
File Attachment toolkit for Ruby applications
Stars: ✭ 2,903 (+3055.43%)
Mutual labels:  filesystem, s3
S5cmd
Parallel S3 and local filesystem execution tool.
Stars: ✭ 565 (+514.13%)
Mutual labels:  filesystem, s3
Apfs Fuse
FUSE driver for APFS (Apple File System)
Stars: ✭ 929 (+909.78%)
Mutual labels:  filesystem, driver
Winfsp
Windows File System Proxy - FUSE for Windows
Stars: ✭ 4,071 (+4325%)
Mutual labels:  filesystem, driver
Afs
Abstract File Storage
Stars: ✭ 126 (+36.96%)
Mutual labels:  filesystem, s3
Tus Ruby Server
Ruby server for tus resumable upload protocol
Stars: ✭ 172 (+86.96%)
Mutual labels:  filesystem, s3
Dokany
User mode file system library for windows with FUSE Wrapper
Stars: ✭ 4,055 (+4307.61%)
Mutual labels:  filesystem, driver
S3fs Fuse
FUSE-based file system backed by Amazon S3
Stars: ✭ 5,733 (+6131.52%)
Mutual labels:  filesystem, s3
acid-store
A library for secure, deduplicated, transactional, and verifiable data storage
Stars: ✭ 48 (-47.83%)
Mutual labels:  filesystem, s3
Chubaofs
ChubaoFS (abbrev. CBFS) is a cloud native distributed file system and object store.
Stars: ✭ 2,482 (+2597.83%)
Mutual labels:  filesystem, s3
S3fs
Amazon S3 filesystem for PyFilesystem2
Stars: ✭ 111 (+20.65%)
Mutual labels:  filesystem, s3
Dokanx
user-mode filesystem framework for Windows
Stars: ✭ 173 (+88.04%)
Mutual labels:  filesystem, driver

Nest Logo

nestjs-storage is manage file Storage wrapping package flydrive

NPM Version Package License NPM Downloads

Installation

$ npm i --save @codebrew/nestjs-storage @slynova/flydrive

# optional with s3 driver
$ npm i --save @slynova/flydrive-s3

# optional with gcs driver
$ npm i --save @slynova/flydrive-gcs

Example

// app.module.ts
import { Module } from '@nestjs/common'
import { StorageModule, DriverType, StorageService } from '@codebrew/nestjs-storage';

@Module({
  imports: [
    StorageModule.forRoot({
      default: 'local',
      disks: {
        local: {
          driver: DriverType.LOCAL,
          config: {
            root: process.cwd(),
          },
        },
      },
    }),
  ],
})
export class AppModule {
  constructor(private storage: StorageService) {
    this.storage.getDisk().put('test.txt', 'text content');
  }
}

Support

nestjs-storage is an MIT-licensed open source project. If this library is helpful, please click star to support it.

Stay in touch

License

nestjs-storage is MIT licensed.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].