{#each Object.entries(object) as [key, value]} {#if value}

{name(key)}

{#if typeof value === 'object'} {:else} {value} {/if} {/if} {/each}