Skip to main content

Package Manager

The NocoDB SDK is available on npm and can be installed using your preferred package manager.
npm install nocodb-sdk

Package Details

Dependencies

The SDK has the following key dependencies that will be installed automatically:
  • axios - HTTP client for API requests
  • dayjs - Date manipulation
  • validator - String validation utilities
And several specialized libraries for formula parsing, data processing, and workflow management.

TypeScript Support

The SDK is written in TypeScript and includes complete type definitions out of the box. No additional @types packages are needed.
import { Api } from 'nocodb-sdk';

// Full IntelliSense and type checking available
const api = new Api({
  baseURL: 'https://app.nocodb.com',
});

Module Formats

The SDK supports both CommonJS and ES Modules:
  • CommonJS: build/main/index.js
  • ES Module: build/module/index.js
  • TypeScript Definitions: build/main/index.d.ts
Your bundler or Node.js runtime will automatically select the appropriate format.

Verification

After installation, verify the SDK is working:
const { Api } = require('nocodb-sdk');

console.log('NocoDB SDK loaded successfully');
console.log(typeof Api); // Should output: 'function'

Next Steps

Quickstart Guide

Initialize the SDK and make your first API call