Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian Walter committed Oct 25, 2019
1 parent bfa2e2e commit 4ed3582
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ yarn add @ianwalter/decision-tree
## Usage

```js
import { DecisionTree } from '@ianwalter/decision-tree'

const decisionTree = new DecisionTree({
key: 'attribute',
title: 'What is your greatest attribute?',
Expand Down Expand Up @@ -148,9 +150,17 @@ decisionTree.current() /* => {

## API

### Instance methods

next
prev

### Errors

NoChildrenError
NoLeadToError
NoParenError

## License

Hippocratic License - See [LICENSE][licenseUrl]
Expand Down

0 comments on commit 4ed3582

Please sign in to comment.