@breadfs/aliyundrive
v0.1.12
Published
阿里云盘 provider for BreadFS
Maintainers
Readme
@breadfs/aliyundrive
Installation
npm i breadfs @breadfs/aliyundriveUsage
You can follow this OpenList docs and OpenList Token 获取工具 to get the aliyundrive refresh token.
import { AliyundriveFS } from 'breadfs/aliyundrive'
const fs = new AliyundriveFS({
refresh: {
token: process.env.ALIYUNDRIVE_REFRESH_TOKEN!,
endpoint: 'https://api.oplist.org/alicloud/renewapi'
}
})
const resp = await fs.list('/anime/');
console.log(resp)Credits
Thanks to OpenList (previous AList) for the original implementation and refresh token service.
License
MIT License © 2023 XLor
