@tetap/tos-sdk
TypeScript icon, indicating that this package has built-in type declarations

2.7.3 • Public • Published

Volcengine Object Storage(TOS) JS SDK

Install

yarn

yarn add @volcengine/tos-sdk

npm

npm i @volcengine/tos-sdk

Use JS 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

Changelog

Detailed changes for each release are documented in the CHANGELOG.md.

Readme

Keywords

none

Package Sidebar

Install

npm i @tetap/tos-sdk

Weekly Downloads

1

Version

2.7.3

License

MIT

Unpacked Size

8.31 MB

Total Files

200

Last publish

Collaborators

  • qingfengfuyun