<commit_before>Serialize
===
[![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Coverage Status][codecov-image]][codecov-url] [![Dependencies][dependencies-image]][dependencies-url]

> Serializes an input value for dynamic code evaluation.


## Installation

``` bash
$ npm install eval-serialize
```

## Usage

``` javascript
var serialize = require( 'eval-serialize' );
```

#### serialize( value )

Serializes an input value for dynamic code evaluation.

``` javascript
var str = serialize( 5 );
// returns '5'

str = serialize( 'beep' );
// returns '"beep"'

str = serialize( Uint16Array( 4 ) );
// returns 'new Uint16Array([0,0,0,0])'<commit_msg>[FIX] README. add missing `new` operator.<commit_after>Serialize
===
[![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Coverage Status][codecov-image]][codecov-url] [![Dependencies][dependencies-image]][dependencies-url]

> Serializes an input value for dynamic code evaluation.


## Installation

``` bash
$ npm install eval-serialize
```

## Usage

``` javascript
var serialize = require( 'eval-serialize' );
```

#### serialize( value )

Serializes an input value for dynamic code evaluation.

``` javascript
var str = serialize( 5 );
// returns '5'

str = serialize( 'beep' );
// returns '"beep"'

str = serialize( new Uint16Array( 4 ) );
// returns 'new Uint16Array([0,0,0,0])'
{'fraction_non_alphanumeric': 0.18142857142857144, 'fraction_numerical': 0.015714285714285715, 'mean_word_length': 5.226666666666667, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '4057172', 'n_tokens_mistral': 499, 'n_tokens_neox': 455, 'n_words': 117}