<commit_before>Note: This is work in progress.

# satismeter-js
Javascript library for SatisMeter API

## Installation

```
npm install satismeter/satismeter-js
npm install satismeter/nps-widget
```

## Quick start

Configure SatisMeter client with your write key
```js
var satismeter = require('satismeter-js');

var client = satismeter({
  writeKey: 'ABCD'
});
```

Create widget
```js
var Widget = require('nps-widget');
var widget = new Widget();<commit_msg>clarify docs<commit_after>Note: This is work in progress.

# satismeter-js
Javascript library for SatisMeter API

## Installation

```
npm install satismeter/satismeter-js
npm install satismeter/nps-widget
```

## Quick start

Configure SatisMeter client with your write key
```js
var satismeter = require('satismeter-js');

var client = satismeter({
  writeKey: 'ABCD'
});
```

Create a survey widget
```js
var Widget = require('nps-widget');
var widget = new Widget();
{'fraction_non_alphanumeric': 0.1223175965665236, 'fraction_numerical': 0.0, 'mean_word_length': 5.1381578947368425, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '2689568', 'n_tokens_mistral': 321, 'n_tokens_neox': 307, 'n_words': 96}