Sign In

crelt

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

crelt - npm Package Compare versions

Comparing version
1.0.6
to
1.0.7
+6
-2
dist/index.d.cts
type Child = string | Node | null | undefined | readonly Child[]
export default function crelt(elt: string | HTMLElement, attrs: {[attr: string]: any}, ...children: Child[]): HTMLElement
export default function crelt(elt: string | HTMLElement, ...children: Child[]): HTMLElement
type EltType<N extends string> = N extends keyof HTMLElementTagNameMap ? HTMLElementTagNameMap[N] : HTMLElement
export default function crelt<N extends string>(elt: N, attrs: {[attr: string]: any}, ...children: Child[]): EltType<N>
export default function crelt<N extends string>(elt: N, ...children: Child[]): EltType<N>
export default function crelt(elt: HTMLElement, attrs: {[attr: string]: any}, ...children: Child[]): HTMLElement
export default function crelt(elt: HTMLElement, ...children: Child[]): HTMLElement
type Child = string | Node | null | undefined | readonly Child[]
export default function crelt(elt: string | HTMLElement, attrs: {[attr: string]: any}, ...children: Child[]): HTMLElement
export default function crelt(elt: string | HTMLElement, ...children: Child[]): HTMLElement
type EltType<N extends string> = N extends keyof HTMLElementTagNameMap ? HTMLElementTagNameMap[N] : HTMLElement
export default function crelt<N extends string>(elt: N, attrs: {[attr: string]: any}, ...children: Child[]): EltType<N>
export default function crelt<N extends string>(elt: N, ...children: Child[]): EltType<N>
export default function crelt(elt: HTMLElement, attrs: {[attr: string]: any}, ...children: Child[]): HTMLElement
export default function crelt(elt: HTMLElement, ...children: Child[]): HTMLElement
{
"name": "crelt",
"version": "1.0.6",
"version": "1.0.7",
"description": "Tiny DOM-element-creation utility",

@@ -18,3 +18,3 @@ "main": "dist/index.cjs",

"type": "git",
"url": "git+https://github.com/marijnh/crelt.git"
"url": "git+https://code.haverbeke.berlin/marijn/crelt.git"
},

@@ -29,5 +29,5 @@ "keywords": [

"bugs": {
"url": "https://github.com/marijnh/crelt/issues"
"url": "https://code.haverbeke.berlin/marijn/crelt/issues"
},
"homepage": "https://github.com/marijnh/crelt#readme",
"homepage": "https://code.haverbeke.berlin/marijn/crelt",
"devDependencies": {

@@ -34,0 +34,0 @@ "rollup": "^2.0.5",