<commit_before>This package exports a single function. The function takes a single argument of the kind returned from [reviewers-edition-parse][parse]. It returns a short string for the reviewers edition.

```javascript
var stringify = require('reviewers-edition-stringify')
```

[parse]: https://www.npmjs.com/packages/reviewers-edition-parse

# Examples

The following examples are also the test suite for the parser. The tests
use Node.js' built-in `assert` module.

```javascript
var assert = require('assert')

assert.equal(
  stringify({ edition: 1 }),
  '1e')

assert.equal(
  stringify({ edition: 1, update: 1 }),
  '1e1u')

assert.equal(
  stringify({ edition: 1, update: 1, correction: 1 }),
  '1e1u1c')

assert.equal(
  stringify({ edition: 1, update: 1, draft: 1 }),
  '1e1u1d')

assert.equal(
  stringify({ edition: 1, update: 1, correction: 1, draft: 1 }),
  '1e1u1c1d')

assert.equal(
  stringify({ edition: 1, correction: 1 }),
  '1e1c')

assert.equal(
  stringify({ edition: 1, correction: 1, draft: 1 }),
  '1e1c1d')

assert.equal(
  stringify({ edition: 1, draft: 1 }),
  '1e1d')
```<commit_msg>Mention reved in README<commit_after>This package exports a single function. The function takes a single argument of the kind returned from [reviewers-edition-parse][parse]. It returns a short string for the reviewers edition.

```javascript
var stringify = require('reviewers-edition-stringify')
```

[parse]: https://www.npmjs.com/packages/reviewers-edition-parse

# Examples

The following examples are also the test suite for the parser. The tests
use Node.js' built-in `assert` module.

```javascript
var assert = require('assert')

assert.equal(
  stringify({ edition: 1 }),
  '1e')

assert.equal(
  stringify({ edition: 1, update: 1 }),
  '1e1u')

assert.equal(
  stringify({ edition: 1, update: 1, correction: 1 }),
  '1e1u1c')

assert.equal(
  stringify({ edition: 1, update: 1, draft: 1 }),
  '1e1u1d')

assert.equal(
  stringify({ edition: 1, update: 1, correction: 1, draft: 1 }),
  '1e1u1c1d')

assert.equal(
  stringify({ edition: 1, correction: 1 }),
  '1e1c')

assert.equal(
  stringify({ edition: 1, correction: 1, draft: 1 }),
  '1e1c1d')

assert.equal(
  stringify({ edition: 1, draft: 1 }),
  '1e1d')
```

# reved

This package is bundled with other functions for
creating and manipulating reviewers editions in
[reved](https://www.npmjs.com/packages/reved).
{'fraction_non_alphanumeric': 0.14590301003344483, 'fraction_numerical': 0.033444816053511704, 'mean_word_length': 4.463470319634703, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 3, 'lorem ipsum': 0, 'www.': 3, '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': '3123626', 'n_tokens_mistral': 864, 'n_tokens_neox': 803, 'n_words': 259}