# xcall

> A Node x-callback-url client for bi-directional communication with x-callback-url enabled macOS applications.

Latest version **1.0.4** (published 2018-07-12) · ISC license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2018-07-12 |
| First published | 2018-07-12 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 58.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | pcperini |

## Links

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

## Dependencies (2)

- [querystring](https://npm.io/package/querystring.md) ^0.2.0
- [promised-exec](https://npm.io/package/promised-exec.md) ^1.0.1

## Recent versions

- 1.0.4 (latest) — 2018-07-12
- 1.0.3 — 2018-07-12
- 1.0.2 — 2018-07-12
- 1.0.1 — 2018-07-12
- 1.0.0 — 2018-07-12

## README

# xcall

A Node x-callback-url client for bi-directional communication with x-callback-url enabled macOS applications.

### Requires:

- macOS
- Node
- Uses xcall (included).

### Usage

Create with a scheme (`bear`). Call with an action (`open-note`) and params (`{ id: yourNoteId }`). Returns a promise with results.

```
const xcall = require('xcall');
const client = new xcall('bear');

client.call('open-note', { id: noteId }).then((note) => {
  console.log(note);
});
```

```
{
  "note" : "# Test Note\n",
  "modificationDate" : "2018-07-12T22:53:37Z",
  "creationDate" : "2018-07-12T22:53:37Z",
  "title" : "Test Note",
  "is_trashed" : "no",
  "identifier" : "96F620E1-3743-469E-AA45-B863DD67F9E3-36492-0002D30FF2B6AFF5"
}
```

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