Skip to content

ricobuilds/lmnsqzy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

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 โ€ข downloads โ€ข issues

๐Ÿ›  Getting Started

npm i lmnsqzy

๐Ÿ‹ Usage (WIP)

LMNSQZY Promo

// ./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 => (
    //         <div>
    //         ...
    //         <a href={`/stores/${e.data.id}`}>View store</a>
    //         ...
    //         </div>
    //     ))
    // }
}

๐Ÿ—ƒ Docs

TBC - WIP

About

๐Ÿ‹ When Typescript meets the LemonSqueezy API

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published