Installation
Installation instructions for the Typescript SDK
Installation
The StorageSync Node.js client provides a simple and efficient way to interact with your StorageSync buckets directly from your Node.js applications. This client abstracts away the complexities of our API, allowing you to easily upload, download, and manage files in your StorageSync buckets.
https://www.npmjs.com/package/@storagesync/client
Installation
Requires Node.js 18.0.0 or higher.
To get started with the StorageSync Javascript client, you’ll need to install it in your project. You can do this using npm, yarn, pnpm or bun.
npm install @storagesync/client
Initializing the Client
To initialize the client with your access key and secret key, you can use the following code:
To find your access key and secret key, you can follow these steps:
- Log in to your StorageSync account.
- Navigate to your bucket.
- Click on settings.
- There you should see your bucket name and secret access key.