node package manager
Stop writing boring code. Discover, share, and reuse within your team. Create a free org »

prufer

prufer

Implements the Prüfer sequence algorithm in pure javascript, for space-efficient representation of trees using a unique sequence. Useful for generating random trees of data.