Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ricobuilds/lmnsqzy

πŸ‹ When Typescript meets the LemonSqueezy API
https://github.com/ricobuilds/lmnsqzy

api lemonsqueezy typescript

Last synced: about 1 month ago
JSON representation

πŸ‹ When Typescript meets the LemonSqueezy API

Awesome Lists containing this project

README

        

# lmnsqzy
**{ lmnsqzy }** is a Typescript-driven package for interacting with the LemonSqueezy API. Plug in your API token as an environment variable and start making some lemonadeπŸ‹.

![commits](https://img.shields.io/github/commit-activity/m/0xreeko/lmnsqzy) β€’ ![downloads](https://img.shields.io/npm/dw/lmnsqzy) β€’ ![issues](https://img.shields.io/github/issues/0xreeko/lmnsqzy)

## πŸ›  Getting Started
```
npm i lmnsqzy
```

## πŸ‹ Usage (WIP)

![LMNSQZY Promo](https://user-images.githubusercontent.com/35407606/225133999-d747f518-9965-40c6-8fec-25935d2fbac4.png)

```tsx
// ./lib/lmnsqzy.ts
import { connect } from 'lmnsqzy';

export const { lmnsqzy } = connect(`${process.env.LMNSQZY_API_TOKEN}`)

// aFileToBeNamed.ts
import { lmnsqzy } from '@/lib/lmnsqzy';

const { getStores } = lmnsqzy();

async function storeHandler(){

const allStoresJSXExample = await getStores();

// {
// allStoresJSXExample.map(e => (
//


// ...
// View store
// ...
//

// ))
// }
}
```

## πŸ—ƒ Docs
TBC - WIP