0.1.9 โ€ข Published 2 years ago

lemonsqueezy.ts-2 v0.1.9

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

๐Ÿš€ Install

Install it locally in your project

# npm
npm install lemonsqueezy.ts

# yarn
yarn add lemonsqueezy.ts

# pnpm
pnpm install lemonsqueezy.ts

๐Ÿฆ„ Usage

Create a new client instance with your API key

import { LemonsqueezyClient } from "lemonsqueezy.ts";

const client = new LemonsqueezyClient("YOUR_API_KEY");

const user = await client.getUser();
// => { attributes: { ... }, id: "1", links: { self: "..." }, type: 'users' }

const stores = await client.listAllStores();
// => [{ attributes: { ... }, id: "1", type: "stores" }]

// And many many more...

๐Ÿ“š Documentation

To view the documentation on how to use each module, view the README.md for each module:

0.1.9

2 years ago

0.1.8-a

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago