open-index/open-npm huggingface dataset:
npm package: @omnibard/client
Description: To install:
Author: omnibarrd
Latest version: 1.0.0

# Client for omnibard.com API

To install:

```npm i @omnibard/client```

To use:

```
import OmnibardClient from '@omnibard/client'
...
const posts = await OmnibardClient.listPosts(5);
```

See more API available at https://omnibard.com/help/api

## Functions

### Internal and helpers

async request(url, options = {})

### Posts

async listPosts(limit, page)

async getPostByID(id)

async getPostBySlug(slug)

async createPost(data = {}, disableAutopost)

async updatePost(id, data = {})

async importPosts(posts)

async removePost(id)

### Images

async listFiles(folder, limit, nextFile)

async uploadFile(fileName, stream, fileLength)

async removeFile(folder, name)

### Performance

async reindex(urls)