@redonvn/redai-p03-sdk-v2
v1.0.0
Published
Redai P03 SDK V2 - Next generation low-code platform SDK
Downloads
93
Readme
Redai P03 SDK V2
Redai P03 SDK V2 - Next generation TypeScript/JavaScript SDK for Redai P03 platform.
🚧 Work in Progress - This is the next-generation SDK currently under development.
📦 Installation
# npm
npm install @redonvn/redai-p03-sdk-v2
# yarn
yarn add @redonvn/redai-p03-sdk-v2
# pnpm
pnpm add @redonvn/redai-p03-sdk-v2🚀 Getting Started
import { Redai } from '@redonvn/redai-p03-sdk-v2';
const client = new Redai({
endPointURL: 'https://your-redai-instance.com',
apiKey: 'your-api-token'
});
// Get workspace
const workspace = client.workspace('workspace-id');
// List bases
const bases = await workspace.listBases();
// Get specific base
const base = workspace.base('base-id');🆚 SDK V1 vs V2
| Feature | V1 | V2 | |---------|----|----| | Build Tool | TypeScript Compiler | Rslib (Rspack) | | Module Format | CJS + ESM | ESM (Modern) | | Bundle Size | Larger | Optimized | | Tree Shaking | Limited | Full Support | | Type Safety | Good | Excellent |
📚 Documentation
🔧 Development
# Install dependencies
pnpm install
# Build
pnpm build
# Watch mode
pnpm dev
# Format code
pnpm format📄 License
MIT License - See LICENSE for details.
🇻🇳 About Redon Vietnam
Developed and maintained by Redon Vietnam.
Available on NPM: https://www.npmjs.com/package/@redonvn/redai-p03-sdk-v2
