1.0.0 • Published 8 years ago
graphqlphonetype v1.0.0
graphqlphonetype
Usage
$ npm install --save graphqlphonetypeand then add to your schema:
const PhoneNumber = require('graphqlphonetype')
...
args: {
phoneNumber: { type: new GraphQLNonNull(PhoneNumber) }
}Example
Input: '(817) 569-8900'
Output: '+18175698900'1.0.0
8 years ago