@dylanarmstrong/babel-plugin-transform-boolean

0.0.1 • Public • Published

Convert those pesky || into string concatenations.

In your babel.config.json, place the following:

  "plugins": [
    "@dylanarmstrong/babel-plugin-transform-boolean"
  ]
console.log('hello' || ' ' || 'world');

Package Sidebar

Install

npm i @dylanarmstrong/babel-plugin-transform-boolean

Weekly Downloads

1

Version

0.0.1

License

MIT

Unpacked Size

2.6 kB

Total Files

4

Last publish

Collaborators

  • dylanarmstrong