Socket
Book a DemoInstallSign in
Socket

graphqlphonetype

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphqlphonetype

Normalized phone number type for GraphQL

latest
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

graphqlphonetype

Usage

$ npm install --save graphqlphonetype

and then add to your schema:

const PhoneNumber = require('graphqlphonetype')
...
args: {
  phoneNumber: { type: new GraphQLNonNull(PhoneNumber) }
}

Example

Input:  '(817) 569-8900'
Output: '+18175698900'

FAQs

Package last updated on 01 May 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