# connect-bridge-node

> Connect Bridge module for node.js & typescript.

Latest version **0.2.9** (published 2017-02-27) · GPL2 license · 0 weekly downloads

## Install

```sh
npm install connect-bridge-node
pnpm add connect-bridge-node
yarn add connect-bridge-node
bun add connect-bridge-node
```

## Health

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

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

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.9 |
| Published | 2017-02-27 |
| First published | 2014-08-27 |
| Weekly downloads | 0 |
| License | GPL2 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Mgr. Michal Hainc |
| Maintainers | michalhainc |
| Keywords | Connecting Software, SQL, Connect Bridge, Bridge, Integration, Microsoft, SharePoint, Microsoft, Dynamics, CRM, Microsoft, Exchange |

## Links

- npm: https://www.npmjs.com/package/connect-bridge-node
- Repository: https://github.com/michalhainc/connect-bridge-node
- Homepage: https://github.com/michalhainc/connect-bridge-node#readme
- Issues: https://github.com/michalhainc/connect-bridge-node/issues
- npm.io page: https://npm.io/package/connect-bridge-node

## Dependencies (1)

- [js-string-escape](https://npm.io/package/js-string-escape.md) ^1.0.0

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 0.2.9 (latest) — 2017-02-27
- 0.2.8 — 2017-02-22
- 0.2.7 — 2017-02-22
- 0.2.6 — 2015-10-22
- 0.2.5 — 2015-10-22
- 0.2.4 — 2015-04-24
- 0.2.3 — 2015-04-23
- 0.2.1 — 2014-08-28
- 0.2.0 — 2014-08-28
- 0.1.0 — 2014-08-27

## README

# connect-bridge-node

This module allows to access data of Microsoft Dynamics CRM, Microsoft SharePoint and
Microsoft Exchange (and others) via a commercial integration tool called [Connect Bridge](http://www.connecting-software.com).

Technically the module is a wrapper around a proprietary rest 
service of an integration tool called Connect Bridge Server.

## Usage
```
var cbnode = require('connect-bridge-node')('pg.connecting-software.com', 4433, 'youruser', 'yourpassword', 'your_cb_account');

function onError(err) {
    console.error(err);
}

function onConnected() {
    console.log('connected to Connect Bridge');
	//if connected to i.e. Exchange account, you can query the appointments like this...
    cbnode.execute("select * from Appointment;", [], onResult, onError);        
}

function onDisconnected() {
    console.log('disconnected');
}

function onResult(result)
{
    console.log(result);
    cbnode.disconnect(onDisconnected, onError);
}

cbnode.connect(onConnected, onError);


```

## Developing



### Tools

Created with [Nodeclipse](https://github.com/Nodeclipse/nodeclipse-1)
 ([Eclipse Marketplace](http://marketplace.eclipse.org/content/nodeclipse), [site](http://www.nodeclipse.org))   

Nodeclipse is free open-source project that grows with your contributions.

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