New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

babel-relay-plugin

Package Overview
Dependencies
Maintainers
8
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-relay-plugin

Babel Relay Plugin for transpiling GraphQL queries for use with Relay.

0.11.0
latest
Source
npm
Version published
Weekly downloads
787
2.47%
Maintainers
8
Weekly downloads
 
Created
Source

babel-relay-plugin

Installation

cd relay/scripts/babel-relay-plugin
npm install

Tests

npm test

Usage

var plugin = getBabelRelayPlugin(parsedSchemaJSON.data);

babel.transform(source, {
  plugins: [plugin],
  ...
});

License

Relay is BSD licensed. We also provide an additional patent grant.

FAQs

Package last updated on 31 Jan 2017

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