Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

Update README to indicate that hideFunctions is optional #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mike-north
Copy link

The README example

var treeify = require('treeify');
console.log(
   treeify.asTree({
      apples: 'gala',      //  ├─ apples: gala
      oranges: 'mandarin'  //  └─ oranges: mandarin
   }, true)
);

uses asTree without passing a hideFunctions option. This PR updates the API documentation to indicate that hideFunctions is optional both in asLines and asTree

The README example
```js
var treeify = require('treeify');
console.log(
   treeify.asTree({
      apples: 'gala',      //  ├─ apples: gala
      oranges: 'mandarin'  //  └─ oranges: mandarin
   }, true)
);
```
uses `asTree` without passing a `hideFunctions` option. This PR updates the API documentation to indicate that `hideFunctions` is optional both in `asLines` and `asTree`
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant