README
babel-plugin-null-to-undefined
Babel plugin that transforms all null literals to undefined.
Input:
const foo = null
const bar = foo === null
Output:
const foo = undefined
const bar = foo === undefined
Babel plugin that transforms all null literals to undefined.
<script type="module">
import babelPluginNullToUndefined from 'https://cdn.skypack.dev/babel-plugin-null-to-undefined';
</script>
Babel plugin that transforms all null literals to undefined.
Input:
const foo = null
const bar = foo === null
Output:
const foo = undefined
const bar = foo === undefined