···11# Morphlex
2233-Morphlex is an attempt to create a DOM morphing function in less than 100 lines of code with no runtime dependencies, to use with [HTMZ](https://leanrada.com/htmz/) in small projects. It is still very much a work-in-progress.
33+Morphlex is tiny (less than 1KB minified and gzipped), optimal DOM morphing library written in TypeScript. It uses IdSets, inspired by [Idiomorph](https://github.com/bigskysoftware/idiomorph) and `isEqualNode` inspired by [Morphdom](https://github.com/patrick-steele-idem/morphdom). Credit is also due to [Nanomorph](https://github.com/choojs/nanomorph) for their work on input properties.
4455## Why are we doing this?
66