# cloudboost

> Database Service that does Storage, Search, Real-time and a whole lot more.

Latest version **2.0.264** (published 2017-06-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install cloudboost
pnpm add cloudboost
yarn add cloudboost
bun add cloudboost
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.264 |
| Published | 2017-06-13 |
| First published | 2015-05-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 8 |
| Known vulnerabilities | 0 (+25 in 1 direct dependencies) |
| Install scripts | no |
| Author | hello@cloudboost.io |
| Maintainers | admincloudboost, cloudboost, nawazdhandala |
| Keywords | database as a service, dbaas, no-sql, database |

## Links

- npm: https://www.npmjs.com/package/cloudboost
- npm.io page: https://npm.io/package/cloudboost

## Dependencies (8)

- [axios](https://npm.io/package/axios.md) ^0.14.0
- [jsdom](https://npm.io/package/jsdom.md) ^9.10.0
- [bluebird](https://npm.io/package/bluebird.md) ^3.4.6
- [form-data](https://npm.io/package/form-data.md) ^2.1.2
- [deep-equal](https://npm.io/package/deep-equal.md) ^1.0.1
- [localforage](https://npm.io/package/localforage.md) ^1.5.0
- [localStorage](https://npm.io/package/localStorage.md) ^1.0.3
- [socket.io-client](https://npm.io/package/socket.io-client.md) ^1.7.1

## Alternatives

- [@libsql/sqlite3](https://npm.io/package/@libsql/sqlite3.md) — 39.8K weekly downloads
- [@fortemi/core](https://npm.io/package/@fortemi/core.md) — 461 weekly downloads
- [cdb-converter](https://npm.io/package/cdb-converter.md) — 341 weekly downloads
- [@uplo/adapter-prisma](https://npm.io/package/@uplo/adapter-prisma.md) — 75 weekly downloads
- [typeorm-aios](https://npm.io/package/typeorm-aios.md) — 30 weekly downloads

## Recent versions

- 2.0.264 (latest) — 2017-06-13
- 2.0.262 — 2017-05-10
- 2.0.255 — 2017-05-10
- 2.0.251 — 2017-04-13
- 2.0.249 — 2017-03-28
- 2.0.246 — 2017-03-27
- 6.6.6 — 2017-03-27
- 1.3.9 — 2017-03-09
- 1.3.7 — 2017-03-08
- 1.3.0 — 2017-02-13
- 1.2.9 — 2017-02-09
- 1.2.7 — 2017-02-07
- 1.2.6 — 2016-12-23
- 1.2.5 — 2016-12-23
- 1.2.4 — 2016-12-19
- … 102 more at https://npm.io/package/cloudboost/versions

## README

# Introduction

[![Build Status](https://travis-ci.org/CloudBoost/JavaScriptSDK.svg?branch=master)](https://travis-ci.org/CloudBoost/JavaScriptSDK)  [![npm version](https://badge.fury.io/js/cloudboost.svg)](http://badge.fury.io/js/cloudboost)  [![Bower version](https://badge.fury.io/bo/cloudboost.svg)](http://badge.fury.io/bo/cloudboost)

This is the JavaScript and NodeJS SDK for CloudBoost. It is available both on NPM and Bower. If you want to have a look into documentation, you can check them out here : [https://tutorials.cloudboost.io](https://tutorials.cloudboost.io) and API reference is available here : [https://docs.cloudboost.io](https://docs.cloudboost.io)

## NPM Installation
```
npm install cloudboost
```

### NodeJS Usage

``` js

var CB = require('cloudboost');

```

### Bower Installation
```
bower install cloudboost
```

### JavaScript Usage

``` js
<script src="bower_components/cloudboost/dist/cloudboost.js"></script>
```

### Module Bundlers

``` js
// For ES6/ES7 , TypeScript(typings included)
import * as CB from 'cloudboost';

//For ES5 (requireJs)
var CB = require('cloudboost');

```

### Sample Code

``` js

// AppID and AppKey are your App ID and key of the application created in CloudBoost Dashboard.

//Init your Application
CB.CloudApp.init('YourAppId','YourAppKey');

//Data Storage : Create a CloudObject of type 'Custom' (Note: You need to create a table 'Custom' on CloudBoost Dashboard)

var obj = new CB.CloudObject('Custom');

//Set the property 'name' (Note: Create a column 'name' of type text on CloudBoost Dashboard)
obj.set('name','CloudBoost');

//Save the object
obj.save({
    success:function(res){
        console.log("object saved successfully");
    },
    error:function(err){
        console.log("error while saving object");
    }
});

```

<img align="right" height="150" src="https://cloud.githubusercontent.com/assets/5427704/7724257/b7f45d6c-ff0d-11e4-8f60-06024eaa1508.png">

#### Getting Started and Tutorials

Visit [Getting Started](https://tutorials.cloudboost.io) for tutorial and quickstart guide.


#### API Reference

Visit [CloudBoost Docs](http://docs.cloudboost.io) for API Reference.

---
_Source: https://npm.io/package/cloudboost · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
