tos-sdk-node14
TypeScript icon, indicating that this package has built-in type declarations

2.7.5 • 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.

Build

npm install -g tsdx
yarn install
npm run build

Readme

Keywords

none

Package Sidebar

Install

npm i tos-sdk-node14

Weekly Downloads

0

Version

2.7.5

License

MIT

Unpacked Size

9.25 MB

Total Files

226

Last publish

Collaborators

  • ares89