• Stars
    star
    157
  • Rank 233,912 (Top 5 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created over 1 year ago
  • Updated 4 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

πŸ‹ JavaScript / TypeScript SDK for the Lemon Squeezy API



πŸ‹
lemonsqueezy.ts




JavaScript / TypeScript SDK for the Lemon Squeezy API

Build status Package version Package monthly downloads Docs



πŸš€ 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:

More Repositories

1

nuro.dev

🌿 Personal Portfolio
TypeScript
455
star
2

muun

🐦 Live Twitter Dashboard
JavaScript
43
star
3

jarvis

🍿 Simple Home Media Stack
Shell
30
star
4

npm-template

πŸ’™ Template project to build a new npm package using TypeScript
TypeScript
26
star
5

mailersend.ts

πŸ“« Lightweight MailerSend Node.js api written in TypeScript
TypeScript
16
star
6

atlas

πŸ¦€ [WIP] Experimental 3D Rust game engine
Rust
9
star
7

alfred

🎩 Home Lab Butler
Shell
8
star
8

swarmy

🐳 A prototype full-stack project with automated Docker Swarm deployments
Astro
7
star
9

satt

πŸͺ΄ Solid.js + Astro + Tailwind CSS + TypeScript project template
Astro
7
star
10

untypeable

❗️ A lot of RESTful API's are not typed, let's type them
TypeScript
7
star
11

dots

πŸ”§
Shell
6
star
12

nextwind

πŸ’¨ Bootstrap Next.js with WindiCSS & more
TypeScript
6
star
13

dash

⚑️ Prototype macOS dashboard built using SwiftUI
Swift
6
star
14

StreamLabs

πŸ”” Stream Labs Dashboard Client [Unofficial]
JavaScript
4
star
15

vite-plugin-splitbee

🐝 Tiny Vite plugin to add Splitbee
TypeScript
4
star
16

vue-web-vitals

[WIP] πŸ“Š Track core web vitals in Vue 3.x projects
TypeScript
4
star
17

xmake-scaffold

🌱 Minimal Xmake C++ Project Template
Lua
4
star
18

pubg.ts

πŸ” A lightweight PUBG API wrapper written in TypeScript
TypeScript
4
star
19

vite-plugin-social-meta

πŸ“± Dynamically generate OG meta tags
TypeScript
3
star
20

NuroDev

3
star
21

vue-lanyard

🧩 Lanyard composable for Discord presence
TypeScript
2
star
22

worker-template

☁️ A minimal Cloudflare Worker project template
TypeScript
2
star
23

vision

βš—οΈ An experimental graphics research engine
C++
2
star
24

react-pubg

βš›οΈ React hooks for pubg.ts
TypeScript
2
star
25

MaterialDeck

πŸŽ‰ The Material Design Theme for Tweetdeck
CSS
2
star
26

next-define

πŸ”€ Fully typed `define` functions for Next.js
TypeScript
2
star
27

logsnag-raycast

πŸ”” Send events to LogSnag via Raycast
TypeScript
2
star
28

rust-cross-release

🐳 Automated cross-platform/architecture CI/CD project template
Dockerfile
2
star
29

owstat

πŸ“ˆ Live Overwatch server status checker
JavaScript
1
star
30

lime

πŸ‹ Lemon & lime: A Fresh project template
TypeScript
1
star
31

invoice

πŸ•ŠοΈ Prototype invoicing app using SwiftUI
Swift
1
star
32

vite-plugin-template

πŸ”Œ Minimal Vite plugin template repository
TypeScript
1
star
33

traveller

🌱 Fetch the top islands from turnip.exchange
TypeScript
1
star
34

deno-module

πŸ¦• Template repository to help bootstrap a new Deno module
TypeScript
1
star
35

dexto

[WIP] πŸ¦• + βš›οΈ ─ A web framework for the future
TypeScript
1
star