0.0.2 • Published 1 year ago

planetscale-typescript v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

planetscale-typescript ===

Unofficial typescript package to access the PlanetScale API.

Generated from the official open-api spec https://api.planetscale.com/v1/openapi-spec

Usage

Here is an example usage of the PlanetScale Go client. Please make sure to handle errors in your production application.

import PlanetScale from 'planetscale-typescript'

const ps = new PlanetScale({
	accessToken: process.env.PLANETSCALE_ACCESS_TOKEN!
})

const organization = await ps.organizations.getAnOrganization('superwall')
console.log(organization, JSON.stringify(organization.data))
0.0.2

1 year ago

0.0.1

1 year ago