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

0.1.2 • Public • Published

Signway JS sdk

Generate signed urls for Signway, so that they can be used in client-side code.

Install

npm install signway-sdk
import { signUrl } from "signway-sdk";

console.log(signUrl({
  id: "my-id",
  secret: "my-secret",
  host: "https://api.signway.io",
  proxyUrl: "https://api.openai.com/v1/chat/completions",
  expiry: 10,
  method: "POST"
}))

Readme

Keywords

none

Package Sidebar

Install

npm i signway-sdk

Weekly Downloads

1

Version

0.1.2

License

MIT

Unpacked Size

36.2 kB

Total Files

9

Last publish

Collaborators

  • gabrielmusat