# calypso-query-decompiler

> Decompiles Calypso Query objects into CaQL queries.

Latest version **0.4.0** (published 2015-02-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install calypso-query-decompiler
pnpm add calypso-query-decompiler
yarn add calypso-query-decompiler
bun add calypso-query-decompiler
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.4.0 |
| Published | 2015-02-05 |
| First published | 2014-10-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Kevin Swiber |
| Maintainers | kevinswiber |
| Keywords | calypso, query, decompiler |

## Links

- npm: https://www.npmjs.com/package/calypso-query-decompiler
- Repository: https://github.com/kevinswiber/calypso-query-decompiler
- Issues: https://github.com/kevinswiber/calypso-query-decompiler/issues
- npm.io page: https://npm.io/package/calypso-query-decompiler

## Dependencies (2)

- [caql](https://npm.io/package/caql.md) ^0.2.0
- [caql-decompiler](https://npm.io/package/caql-decompiler.md) ^0.8.0

## Alternatives

- [gamedig](https://npm.io/package/gamedig.md) — 29.3K weekly downloads
- [join-monster](https://npm.io/package/join-monster.md) — 12.8K weekly downloads
- [masked](https://npm.io/package/masked.md) — 5.5K weekly downloads
- [@comunica/actor-query-process-explain-logical](https://npm.io/package/@comunica/actor-query-process-explain-logical.md) — 4.7K weekly downloads
- [@veracity/vui](https://npm.io/package/@veracity/vui.md) — 4.6K weekly downloads

## Recent versions

- 0.4.0 (latest) — 2015-02-05
- 0.3.0 — 2015-02-05
- 0.2.0 — 2014-10-09
- 0.1.0 — 2014-10-09

## README

# calypso-query-decompiler

Decompiles Calypso Query objects into CaQL queries.

# Install

`npm install calypso-query-decompiler`

# Example

```js
var Query = require('calypso').Query;
var decompiler = require('calypso-query-decompiler');

var q = Query.of('companies')
  .ql('where name=@name and founded_year >= @year')
  .params({ name: 'Twitter', year: 1999 });

var decompiled = decompiler(q);

console.log(decompiled);

// Output: select * where ( name = "Twitter" and founded_year >= 1999 )
```

# License

MIT

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