<commit_before># asciidoc-dependency-graph [![Build Status](https://travis-ci.org/azu/asciidoc-dependency-graph.svg)](https://travis-ci.org/azu/asciidoc-dependency-graph)

Generate dependency-graph JSON tree from [AsciiDoc](http://www.methods.co.nz/asciidoc/ "AsciiDoc").

## Installation

``` sh
npm install asciidoc-dependency-graph
```

## Usage

`new AsciidocDependency(options)`

### options

`cwd` : current working directory

e.g) `"cwd" : process.cwd(),`

`pattern` : glob pattern using minimatch module <commit_msg>chore(readme): add summary<commit_after># asciidoc-dependency-graph [![Build Status](https://travis-ci.org/azu/asciidoc-dependency-graph.svg)](https://travis-ci.org/azu/asciidoc-dependency-graph)

Generate dependency-graph JSON tree from [AsciiDoc](http://www.methods.co.nz/asciidoc/ "AsciiDoc").

This library collect `id` and `referenceId` of each asciidoc file.

## Installation

``` sh
npm install asciidoc-dependency-graph
```

## Usage

`new AsciidocDependency(options)`

### options

`cwd` : current working directory

e.g) `"cwd" : process.cwd(),`

`pattern` : glob pattern using minimatch module 
{'fraction_non_alphanumeric': 0.15943312666076173, 'fraction_numerical': 0.0, 'mean_word_length': 5.312849162011173, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, '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': '4680038', 'n_tokens_mistral': 410, 'n_tokens_neox': 395, 'n_words': 78}