UNPKG

@gensx/storage

Version:

Cloud storage, blobs, sqlite, and vector database providers/hooks for GenSX.

24 lines (19 loc) 604 B
'use strict'; /** * Check out the docs at https://www.gensx.com/docs * Find us on Github https://github.com/gensx-inc/gensx * Find us on Discord https://discord.gg/F5BSU8Kc */ var blobClient = require('./blobClient.cjs'); /** * Hook to access a blob * @param key The name of the blob to access * @param options Optional configuration properties for the blob * @returns A blob object for the given key */ function useBlob(key, options = {}) { const client = new blobClient.BlobClient(options); return client.getBlob(key); } exports.useBlob = useBlob; //# sourceMappingURL=useBlob.cjs.map