Installation
Getting started with the Meta-SDK is incredibly simple. It has zero external dependencies, making it ultra-lightweight.
Prerequisites
- Node.js: Version 18.x or higher (requires the native
fetchAPI). - TypeScript: If you are using TypeScript, ensure your
tsconfig.jsonhas"moduleResolution": "node".
Install via NPM
Run the following command to install the package in your project:
bash
npm install @vitabletech/meta-sdkImport the Client
You can import the SDK into your project using either ES Modules or CommonJS:
ES Modules (Recommended)
typescript
import { MetaClient } from '@vitabletech/meta-sdk';CommonJS
javascript
const { MetaClient } = require('@vitabletech/meta-sdk');Next Steps
Now that the SDK is installed, head over to the Authentication Guide to initialize the client with your Meta Access Token!
