This package has been deprecated

Author message:

All packages in the @keystone-alpha namespace are now available in the @keystonejs namespace, starting at version 5.0.0. To upgrade, update package.json to point to "@keystonejs/file-adapters": "^5.0.0" and update any require/import statements in your code.

@keystone-alpha/file-adapters

2.0.1 • Public • Published

File Adapters

The File field type can support files hosted in a range of different contexts, e.g. in the local filesystem, or on a cloud based file server.

Different contexts are supported by different file adapters. This package contains the built-in file adapters supported by KeystoneJS.

LocalFileAdapter

Usage

const fileAdapter = new LocalFileAdapter({
  src: './files',
  path: '/public',
});

CloudinaryFileAdapter

Readme

Keywords

none

Package Sidebar

Install

npm i @keystone-alpha/file-adapters

Weekly Downloads

1

Version

2.0.1

License

MIT

Unpacked Size

6.13 kB

Total Files

6

Last publish

Collaborators

  • emmatown
  • jedwatson
  • molomby