Skip to content

viktor-yakubiv/hast-util-merge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hast-util-merge

An utility to merge hast trees (elements).

The exported mergeDocument function merges two documents consolidating heads and replacing body content by default. This behaviour could be overriden, see options in the source code.

If you need better documentation, or the package lacks something, e.g. types, leave a request in the issues.

License

This package is licensed under MIT.

About

hast utility to consolidate subtrees and documents

Resources

License

Stars

Watchers

Forks

Packages

No packages published