yarn add @volcengine/tos-sdk
npm i @volcengine/tos-sdk
-
Import
// use import import { TosClient } from '@volcengine/tos-sdk'; // use require const { TosClient } = require('@volcengine/tos-sdk');
-
Create a client
const client = new TosClient({ accessKeyId: 'Your Access Key', accessKeySecret: 'Your Secret Key', region: 'cn-beijing', endpoint: 'endpoint', });
-
More example, see test and example folder
Detailed changes for each release are documented in the CHANGELOG.md.