0.1.2 • Published 11 months ago
signway-sdk v0.1.2
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"
}))