<commit_before>## word-extractor

![test workflow](https://github.com/morungos/node-word-extractor/actions/workflows/main.yml/badge.svg)

Read data from a Word document (.doc or .docx) using Node.js

### Why use this module?

There are a fair number of npm components which can extract text from Word .doc
files, but they often appear to require some external helper program, and involve
either spawning a process or communicating with a persistent one. That raises
the installation and deployment burden as well as the runtime one.

This module is intended to provide a much faster way of reading the text from a<commit_msg>feat: added version badge<commit_after>## word-extractor

[![npm version](https://badge.fury.io/js/word-extractor.svg)](https://badge.fury.io/js/word-extractor) ![test workflow](https://github.com/morungos/node-word-extractor/actions/workflows/main.yml/badge.svg)

Read data from a Word document (.doc or .docx) using Node.js

### Why use this module?

There are a fair number of npm components which can extract text from Word .doc
files, but they often appear to require some external helper program, and involve
either spawning a process or communicating with a persistent one. That raises
the installation and deployment burden as well as the runtime one.

This module is intended to provide a much faster way of reading the text from a
{'fraction_non_alphanumeric': 0.07692307692307693, 'fraction_numerical': 0.0, 'mean_word_length': 4.621399176954733, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '1577627', 'n_tokens_mistral': 378, 'n_tokens_neox': 361, 'n_words': 176}