wraith4081 / bunnycdn

Use the unofficial BunnyCDN library quickly and easily with Javascript
9 stars 1 forks source link

EdgeStorageClient should be exported from index.ts #2

Open jawngee opened 1 year ago

jawngee commented 1 year ago

If I want to use the EdgeStorageClient right now, I have to import it like:

import { EdgeStorageClient } from "bunnycdn/dist/EdgeStorage";

Not a problem, it works but :)

Thanks for the lib!

jawngee commented 1 year ago

Will send a PR when I can.

wraith4081 commented 1 year ago

Hello, first of all, thank you. For now, this library is a very rough draft library that I developed with a momentary need. I will make it more professional in the future.

To give the simplest example, the returned files will be in the File class rather than data and they will have their own properties (such as File.delete(), File.edit()).