babel-plugin-null-to-undefined
Babel plugin that transforms all `null` literals to `undefined`.
Last updated 2 years ago by pi0 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install babel-plugin-null-to-undefined 
SYNC missed versions from official npm registry.

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

Related Topics

Intent to stop using null in my JS code

Current Tags

  • 0.0.0                                ...           latest (2 years ago)

1 Versions

  • 0.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (0)
None
Dev Dependencies (10)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |