easypanel - This is an unofficial sdk for Easypanel.
pnpm install easypanel-sdk
yarn add easypanel-sdk
npm install easypanel-sdk
import { easypanel } from 'easypanel-sdk'
import { config } from 'dotenv'
config()
const app = easypanel({
endpoint: process.env.EASYPANEL_URL || '',
token: process.env.EASYPANEL_TOKEN || '',
})
const project = await app.projects.create({ name: 'NewProject' })
console.warn(project)
Requires pnpm >= 8.10.0 Requires node >= 20.0.0
pnpm install
pnpm dev # watch mode tsup
pnpm build # build
cd playground
pnpm install
pnpm dev # send requests and close
MIT License © 2023-PRESENT productdevbook