🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

babel-plugin-transform-catch-promise

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-transform-catch-promise

This is a babel plugin that:

0.1.2
latest
npm
Version published
Maintainers
1
Created
Source

babel-plugin-transform-catch-promise

This is a babel plugin that:

  • Prepend var CatchPromise = require('catch-promise'); to the file

  • Replace all Promise identifiers with CatchPromise

Dev

npm run build

npm publish

npm run build
npm publish

Refs

  • https://github.com/thejameskyle/babel-plugin-handbook
  • https://github.com/babel/babel/tree/master/packages/babel-types
  • https://gist.github.com/zbraniecki/649e0390d57ac353494d

Keywords

babel-plugin

FAQs

Package last updated on 15 Dec 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts