UNPKG
newick
Version:
latest (3.0.1)
3.0.1
3.0.0
3.0.0-rc2
3.0.0-rc1
2.0.0
1.4.0
1.3.3
1.3.2
1.3.1
1.2.3
1.2.2
1.2.1
1.2.0
1.1.2
1.1.1
1.1.0
1.0.2
1.0.1
1.0.0
A Newick tree parser
github.com/octav47/newick.js
octav47/newick.js
newick
/
dist
/
cjs
/
tools
/
serialize.d.ts
8 lines
(7 loc)
•
289 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
import
{
NewickNode
}
from
'../types'
;
/** * Recursively serialize a NewickNode tree into a Newick-format string (without trailing semicolon) *
@param
node
- Newick tree node *
@returns
Newick string for the node subtree */
export
declare
function
serialize
(
node
:
NewickNode
):
string
;