@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');

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

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

    Weekly Downloads

    0

    Version

    0.0.1

    License

    MIT

    Unpacked Size

    2.6 kB

    Total Files

    4

    Last publish

    Collaborators

    • dylanarmstrong