0.1.8 โ€ข Published 8 months ago

lemonsqueezy.ts v0.1.8

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

!WARNING
This packages has been deprecated in favor of the official Lemon Squeezy SDK JavaScript SDK. Please use @lemonsqueezy/lemonsqueezy.js instead.

๐Ÿš€ 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.8

8 months ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago