<commit_before># toner-phantom

[![Build Status](https://travis-ci.org/jsreport/toner-phantom.png?branch=master)](https://travis-ci.org/jsreport/toner-phantom)<commit_msg>first readme<commit_after>#toner-phantom


[![Build Status](https://travis-ci.org/jsreport/toner-phantom.png?branch=master)](https://travis-ci.org/jsreport/toner-phantom)

**[Toner](https://github.com/jsreport/toner) recipe for printing html into pdf using [phantomjs](http://phantomjs.org/)**

```bash
npm install toner-phantom
```

```js
toner.recipe("phantom-pdf", require("toner-phantom")({..});
```

This recipe is wrapper around [phantom-html-to-pdf](https://github.com/pofider/phantom-html-to-pdf). All the options passed will be forwarded into the corresponding package.
{'fraction_non_alphanumeric': 0.1842456608811749, 'fraction_numerical': 0.0, 'mean_word_length': 5.8807339449541285, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, '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': '390567', 'n_tokens_mistral': 271, 'n_tokens_neox': 248, 'n_words': 40}