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

2.7.1 • 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 @volcengine/tos-sdk

Weekly Downloads

548

Version

2.7.1

License

MIT

Unpacked Size

8.08 MB

Total Files

223

Last publish

Collaborators

  • msq17
  • caocun
  • garyyangbyte
  • lvpiao
  • chenping.123
  • bytedance_liutaofe
  • ash.yu
  • zhenran.sz
  • vcloud_fe
  • zhuhongshuyu
  • wangyx.byte
  • shushushu
  • zhoulei
  • shanggw
  • liangshuang.fiona
  • zhengwenyue
  • wallaceyuan
  • cmaxd
  • liuzhao.90
  • liucheng.bigorange
  • zhouyk
  • oanakiaja
  • chenyongjin
  • lixiangfeiorg
  • awesome-starling
  • zhang6464
  • volcanoengine
  • bytednpm