socket-oss
TypeScript icon, indicating that this package has built-in type declarations

0.0.8 • Public • Published

socket-oss

Socket oss

// client

import {Client} from 'socket-oss';

const client = new Client(socket);
client.upload(file); // => Promise<string>

// server

import {Server} from 'socket-oss';

new Server(ioServer, {
  // ali oss
  region: '',
  accessKeyId: '',
  accessKeySecret: '',
  bucket: '',
});

License

MIT License.

Readme

Keywords

none

Package Sidebar

Install

npm i socket-oss

Weekly Downloads

1

Version

0.0.8

License

MIT

Unpacked Size

85.6 kB

Total Files

31

Last publish

Collaborators

  • boenfu