This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

lemonsqueezy.ts
TypeScript icon, indicating that this package has built-in type declarations

0.1.8 • Public • Published

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



🍋
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:

Package Sidebar

Install

npm i lemonsqueezy.ts

Weekly Downloads

3

Version

0.1.8

License

MIT

Unpacked Size

1.1 MB

Total Files

135

Last publish

Collaborators

  • nurodev