PhyloJS is a powerful javascript/typescript library for manipulating phylogenetic trees. It allows users to read and write trees in various formats, extract subtrees, and compute properties such as the most recent common ancestor (MRCA) of a set of nodes, among other features.
PhyloJS is especially helpful in situations where you need to analyze large phylogenetic trees, such as when you're studying evolutionary relationships in bioinformatics or computational biology. PhyloJS is lightweight and has zero dependencies.
You can install PhyloJS using npm:
npm install phylojs
Please refer to the documentation for more API documentation and examples of use for phylojs.
PhyloJS it derived from Tim Vaughan's IcyTree and is similarly licensed under version 3 of the GNU General Public License (GPL).