README
JS Type Conversion
This is a simple utility for customizable type conversion in JS.
The package determines the type of an entity with the following precedence:
- __typename key
- constructor name
- typeof
Simple, configurable type conversion utility for JS
<script type="module">
import jsTypeConversion from 'https://cdn.skypack.dev/js-type-conversion';
</script>
This is a simple utility for customizable type conversion in JS.
The package determines the type of an entity with the following precedence: