Skip to content

Volcengine Object Storage(TOS) JavaScript SDK

License

Notifications You must be signed in to change notification settings

juzibot/tos-sdk

 
 

Repository files navigation

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.

About

Volcengine Object Storage(TOS) JavaScript SDK

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 92.8%
  • JavaScript 4.2%
  • HTML 3.0%