<commit_before># gatsby-transformer-pdf

Use [pdf2Json](`https://github.com/modesty/pdf2json`) to extract textual content of pdf files.

## Install

`npm install --save gatsby-transformer-pdf`

You also need to have gatsby-source-filesystem installed and configured so it points to your files.

## How to use

```javascript
// In your gatsby-config.js
module.exports = {
  plugins: [<commit_msg>fix(docs): fix link in gatsby-transformer-pdf/README (#9053)<commit_after># gatsby-transformer-pdf

Use [pdf2Json](https://github.com/modesty/pdf2json) to extract textual content of pdf files.

## Install

`npm install --save gatsby-transformer-pdf`

You also need to have gatsby-source-filesystem installed and configured so it points to your files.

## How to use

```javascript
// In your gatsby-config.js
module.exports = {
  plugins: [
{'fraction_non_alphanumeric': 0.11377245508982035, 'fraction_numerical': 0.009580838323353293, 'mean_word_length': 4.393548387096774, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '4727473', 'n_tokens_mistral': 278, 'n_tokens_neox': 266, 'n_words': 85}