This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
import { HonoStorageFile } from "@hono-storage/core";
const file = new File([blob], "filename.ext.zip");
const HSfile = new HonoStorageFile(file);
HSfile.originalname; // => name part of file (filename.ext)
HSfile.extensiton; // => extension part of file (.zip)
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@hono-storage/core@0.0.2
Patch Changes
#7
ea1eb7a
Thanks @sor4chi! - file helper for HonoStorage@hono-storage/node-disk@0.0.3
Patch Changes
ea1eb7a
]:@hono-storage/node-disk-example@0.0.3
Patch Changes