@lanetix/type-visitor-label

output human readable name for lanetix types

Usage no npm install needed!

<script type="module">
  import lanetixTypeVisitorLabel from 'https://cdn.skypack.dev/@lanetix/type-visitor-label';
</script>

README

type-visitor-label

usage

import {tyfun} from '@lanetix/type-visitor'
import visitorLabel from '@lanetix/type-visitor-label'

const type = visitorLabel({ fun: tyfun.string })
console.log(type) // type = 'string'