# qvx

> Read and Write Qlik QVX data using Streams

Latest version **1.0.0** (published 2016-03-02) · MIT license · 0 weekly downloads

## Install

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

Provides the command `qvxcat`.

## 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.0 |
| Published | 2016-03-02 |
| First published | 2015-02-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 8 |
| Known vulnerabilities | 0 (+2 in 2 direct dependencies) |
| Install scripts | no |
| Author | Peter Magnusson |
| Maintainers | kmpm |
| Keywords | qlikview, qlik, qvx |

## Links

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

## Dependencies (8)

- [debug](https://npm.io/package/debug.md) ^2.1.1
- [bignum](https://npm.io/package/bignum.md) ^0.11.0
- [moment](https://npm.io/package/moment.md) ^2.9.0
- [xml2js](https://npm.io/package/xml2js.md) ^0.4.5
- [JSONStream](https://npm.io/package/JSONStream.md) ^1.1.1
- [xmlbuilder](https://npm.io/package/xmlbuilder.md) ^4.2.1
- [buffercursor](https://npm.io/package/buffercursor.md) 0.0.12
- [moment-timezone](https://npm.io/package/moment-timezone.md) ^0.5.1

## Recent versions

- 1.0.0 (latest) — 2016-03-02
- 0.1.0 — 2015-03-26
- 0.0.9 — 2015-03-04
- 0.0.8 — 2015-03-03
- 0.0.7 — 2015-02-28
- 0.0.6 — 2015-02-25
- 0.0.5 — 2015-02-25
- 0.0.4 — 2015-02-24
- 0.0.2 — 2015-02-24

## README

node-qvx
=========
Read and Write Qlik QVX data using Streams

## Status
[![Build Status](https://travis-ci.org/kmpm/node-qvx.svg?branch=master)](https://travis-ci.org/kmpm/node-qvx)

Documentation needs to be done but it's still in a quite unstable time
so please have a look at the tests.

Have a look at https://github.com/kmpm/node-qvxserver for a Hapi based webserver that will give you qvx data.

Installation
------------

    npm install

There is a dependency on a module called bignum that uses some native SSL libraries
for handling 64 bit integers. This dependency might be tricky to install in windows.
Go to https://slproweb.com/products/Win32OpenSSL.html and download the latest __full__
version of OpenSLL and install it to it's default location.

Examples
---------
This is sort of a pointless thing to do but it shows a use of Inbound.

```javascript

var concat = require('concat-stream');
var JSONStream = require('JSONStream');
var fs = require('fs');

var qvx = require('qvx');

var inbound = new qvx.Inbound({recordFormat: 'object'});
var fileStream = fs.createReadStream('test_expressor.qvx');
var stringify = JSONStream.stringify(false);

fileStream
.pipe(inbound)
.pipe(stringify)
.pipe(concat(function (body) {
  console.log(body);
}));

```

There is currently also a cli that is really quick and dirty.
It just takes a qvx as input and outputs the records as arrays.

```bash
qvxcat test/fixtures/test_expressor.qvx

```
This will just print the records as JSON arrays.


Resources
---------
* QVX File Format Specification - http://community.qlik.com/docs/DOC-2677
* QVX Instructions - http://community.qlik.com/docs/DOC-2688
* QVX Libraries and Examples - http://community.qlik.com/docs/DOC-2689
* Qlik QVX SDK https://help.qlik.com/sense/en-US/developer/#../Subsystems/QVXSDKAPI/Content/Introducing QVX.htm

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