<commit_before>bolcom
======

Access Bol.com Open API service with node.js

[![Build Status](https://travis-ci.org/fvdm/nodejs-bolcom.svg?branch=master)](https://travis-ci.org/fvdm/nodejs-bolcom)
[![Dependency Status](https://gemnasium.com/badges/github.com/fvdm/nodejs-bolcom.svg)](https://gemnasium.com/github.com/fvdm/nodejs-bolcom#runtime-dependencies)


Usage
-----

```js
var bol = require ('bolcom') ('apikey');

bol.catalog.search ({ q: 'node.js' }, function (err, data) {
  if (err) {
    console.log ('Search failed');
    console.log (err);<commit_msg>docs(badges): Add npm version for changelog<commit_after>bolcom
======

Access Bol.com Open API service with node.js

[![npm](https://img.shields.io/npm/v/bolcom.svg?maxAge=3600)](https://github.com/fvdm/nodejs-bolcom/blob/master/CHANGELOG.md)
[![Build Status](https://travis-ci.org/fvdm/nodejs-bolcom.svg?branch=master)](https://travis-ci.org/fvdm/nodejs-bolcom)
[![Dependency Status](https://gemnasium.com/badges/github.com/fvdm/nodejs-bolcom.svg)](https://gemnasium.com/github.com/fvdm/nodejs-bolcom#runtime-dependencies)


Usage
-----

```js
var bol = require ('bolcom') ('apikey');

bol.catalog.search ({ q: 'node.js' }, function (err, data) {
  if (err) {
    console.log ('Search failed');
    console.log (err);
{'fraction_non_alphanumeric': 0.2059282371294852, 'fraction_numerical': 0.0031201248049922, 'mean_word_length': 4.702222222222222, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 10, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '388727', 'n_tokens_mistral': 494, 'n_tokens_neox': 474, 'n_words': 69}