White Glove

Data so clean, even Mr. Carson would approve

This tool can scan records from databases or other data sources, analyze the data, and find anomalies that may be worthy of developer attention.

You may find it value as both or either of:

A data quality/consistency checker A schema discovery tool

Run on an unfamiliar data set to understand the implicit schema including all property names/paths and all data types

Installation

npm install export PATH="${PWD}/node_modules/.bin":$PATH

Installing with npm -g is not necessary nor recommended. Just adjust your PATH properly.

Scanning MongoDB

white-glove --url mongodb://somehost/somedb --collection somecollection

Scanning CouchDB

white-glove --host somehost --database somedb --view some/view

Full Command Line Options

--host=somehost

--port=5984

--username=alice

--password=s3cr3t

--secure=true

Scanning Object Streams

If you want to scan any arbitrary stream of objects from a node.js application, load this module and use the scanStream(error, stream) API:

var scanStream = require ( ' white-glove/scan/stream ' ) getYourStream ( scanStream )

Rule Interpretation