Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/ricobuilds/lmnsqzy
- Owner: ricobuilds
- License: mit
- Created: 2023-03-08T01:13:59.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-14T20:56:40.000Z (almost 2 years ago)
- Last Synced: 2024-08-10T10:03:51.827Z (5 months ago)
- Topics: api, lemonsqueezy, typescript
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/lmnsqzy
- Size: 1.92 MB
- Stars: 4
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 => (
//
// ))
// }
}
```## π Docs
TBC - WIP