graphqlphonetype

1.0.0 • Public • Published

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'

Readme

Keywords

none

Package Sidebar

Install

npm i graphqlphonetype

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • mfix22