Precise DOM morphing
morphing typescript dom
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add funding URLs

+9 -4
+1
.github/FUNDING.yml
··· 1 + github: [joeldrapper]
+1 -1
README.md
··· 1 1 # Morphlex 2 2 3 - 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. 3 + Morphlex is a 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. 4 4 5 5 ## Why are we doing this? 6 6
+7 -3
package.json
··· 1 1 { 2 2 "name": "morphlex", 3 3 "version": "0.0.3", 4 + "author": "Joel Drapper", 5 + "license": "MIT", 4 6 "type": "module", 5 - "description": "Morphlex is an attempt to create a DOM morphing function in less than 100 lines of code.", 7 + "description": "A safe, tiny (less than 1KB minified & gzipped), optimal DOM morphing library written in TypeScript.", 6 8 "main": "dist/morphlex.js", 7 9 "types": "dist/morphlex.d.ts", 10 + "funding": { 11 + "type": "github", 12 + "url": "https://github.com/sponsors/joeldrapper" 13 + }, 8 14 "scripts": { 9 15 "test": "web-test-runner test/**/*.test.js --node-resolve", 10 16 "build": "tsc && prettier --write ./src ./dist", ··· 15 21 "prepare": "npm run build && npm run minify", 16 22 "ship": "npm run prepare && npm run test && npm run lint && npm publish" 17 23 }, 18 - "author": "Joel Drapper", 19 - "license": "MIT", 20 24 "devDependencies": { 21 25 "@open-wc/testing": "^3.0.0-next.5", 22 26 "@web/test-runner": "^0.18.0",