0.7.0-rc5 • Published 12 months ago
@crawlab/sdk v0.7.0-rc5
Crawlab Node.js SDK
Node.js SDK for Crawlab.
Installation
You can install the SDK via npm, yarn, or pnpm.
npm install @crawlab/sdk
# or
yarn add @crawlab/sdk
# or
pnpm add @crawlab/sdkAlternatively, you can include the SDK in your package.json file.
{
"dependencies": {
"@crawlab/sdk": "^0.7.0"
}
}Usage
Use JavaScript or TypeScript to import the SDK and call the functions.
// JavaScript
const { saveItem } = require('@crawlab/sdk');
saveItem({
hello: 'world',
});// TypeScript
import { saveItem } from '@crawlab/sdk';
saveItem({
hello: 'world',
});