Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gql2flow

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gql2flow - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1

2

package.json
{
"name": "gql2flow",
"version": "0.4.0",
"version": "0.4.1",
"description": "Convert a GraphQL Schema to a Flowtype definition",

@@ -5,0 +5,0 @@ "main": "index.js",

# GraphQL To Flow Types
*A fork of [gql2ts](https://github.com/avantcredit/gql2ts)*
```shell
yarn global add gql2flow (recommended)
npm i -g gql2flow (legacy)
npm i -g gql2flow
```

@@ -20,3 +16,7 @@

-o --output-file [outputFile] name for output file, defaults to graphql-export.flow.js
-m --module-name [moduleName] name for the export module. Types are not wrapped in a module if this is not set
-i --ignored-types <ignoredTypes> names of types to ignore (comma delimited)
-w --whitelist <whitelist> names of types to whitelist (comma delimited)
--null-keys adds a '?' to all keys
--null-values adds a '?' to all values
```

@@ -23,0 +23,0 @@

@@ -139,3 +139,3 @@ 'use strict';

type.name,
type.enumValues.map(v => `"${v.name}"`)
type.enumValues.map(v => `${v.name}`)
);

@@ -142,0 +142,0 @@ }

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc