node package manager
Love JavaScript? Your insights can make it even better. Take the 2017 JavaScript Ecosystem Survey »

re-define-react

re-define-react

re-define plugin for parsing FB React jsx files.

Usage:

var rectify = require('re-define-react')({
    extensions: ['.js', '.jsx'] //defaults
  })

Example