@putout/plugin-apply-nullish-coalescing
Advanced tools
Weekly downloads
Readme
putout
plugin apply optional chaining
.
npm i @putout/plugin-apply-nullish-coalescing
{
"rules": {
"apply-nullish-coalescing": true
}
}
result = result || 'hello';
result = typeof result === 'undefined' ? 'hello': result;
const result = result ?? 'hello';
MIT
FAQs
putout plugin add ability to apply nullish coalescing operator (??)
The npm package @putout/plugin-apply-nullish-coalescing receives a total of 804 weekly downloads. As such, @putout/plugin-apply-nullish-coalescing popularity was classified as not popular.
We found that @putout/plugin-apply-nullish-coalescing demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.