Not a Penny More

    babel-preset-bluebird

    1.0.1 • Public • Published

    babel-preset-bluebird

    This package combines async-to-bluebird and promise-to-bluebird into one preset.

    Usage

    1. Install: npm install --save-dev babel-preset-bluebird
    2. Add babel-preset-bluebird to your .babelrc file:
    {
        "presets": ["bluebird"]
    }
    1. Install bluebird: npm install --save bluebird

    With babel-plugin-transform-runtime enabled

    1. Install: npm install --save-dev babel-plugin-transform-async-to-bluebird babel-plugin-transform-promise-to-bluebird
    2. Add the plugins to your .babelrc file:
    {
        "plugins": [
            "transform-async-to-bluebird",
            "transform-promise-to-bluebird",
            "transform-runtime"
        ]
    }
    1. Install bluebird: npm install --save bluebird

    Install

    npm i babel-preset-bluebird

    DownloadsWeekly Downloads

    206

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • chpio