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

yields/visit-nodes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

visit-nodes

Visit all nodes under the given node.

Installation

Install with component(1):

$ component install yields/visit-nodes

Example

visit(node, function(node, next){});

TreeWalker

TreeWalker is slower than this implementation for some reason (at least on my machine).

Tests

$ make test

License

MIT

About

Visit all nodes within node.

Resources

Stars

Watchers

Forks

Packages

No packages published