{"_id":"graphql-input-number","_rev":"15-c4cd07421fce5cd8a4104e173515892d","name":"graphql-input-number","description":"A configurable custom input number type for GraphQL with sanitization and validation.","dist-tags":{"latest":"0.0.10"},"versions":{"0.0.1":{"name":"graphql-input-number","version":"0.0.1","description":"A configurable custom input number type for GraphQL with sanitization and validation.","main":"lib/index.js","scripts":{"clear":"rm -rf ./lib/ ./testout/","build":"babel src --out-dir lib","build-watch":"babel src --watch --out-dir lib","start":"npm run clear && npm run build && npm run test-build && npm run test","test-build":"babel test --out-dir testout","test-build-watch":"babel test --watch --out-dir testout","pretest":"npm run build && npm run test-build","test":"mocha testout/**/*.js","test-watch":"mocha --watch testout/**/*.js","watch":"npm run build-watch & npm run test-build-watch & npm run test-watch","update-D":"npm install --save-dev babel-cli@latest babel-preset-es2015@latest babel-preset-stage-0@latest chai@latest mocha@latest"},"repository":{"type":"git","url":"git+https://github.com/joonhocho/graphql-input-number.git"},"keywords":["configurable","custom","input","number","scalar","type","GraphQL","sanitization","validation."],"author":{"name":"Joon Ho Cho"},"license":"MIT","bugs":{"url":"https://github.com/joonhocho/graphql-input-number/issues"},"homepage":"https://github.com/joonhocho/graphql-input-number#readme","peerDependencies":{"graphql":"*"},"dependencies":{},"devDependencies":{"babel-cli":"^6.9.0","babel-preset-es2015":"^6.9.0","babel-preset-stage-0":"^6.5.0","chai":"^3.5.0","graphql":"*","mocha":"^2.5.3"},"gitHead":"6a55594c00b893e4ec30ec837e97ea7c9be6f28a","_id":"graphql-input-number@0.0.1","_shasum":"a0278b9f221dde0a41711d45d37ce9eb762e6e97","_from":".","_npmVersion":"3.9.3","_nodeVersion":"6.2.1","_npmUser":{"name":"joonho1101","email":"joonho1101@gmail.com"},"dist":{"shasum":"a0278b9f221dde0a41711d45d37ce9eb762e6e97","tarball":"https://registry.npmjs.org/graphql-input-number/-/graphql-input-number-0.0.1.tgz","integrity":"sha512-94GehmPoZTJfmGAhyuWSfZWfuPp+b3KsGBgaqh8BpnEk58bJp43gcatJWULGUNq5jRYt1Mlah8HeIrttRkR2ww==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC+UTQPLWvbIYWNe2OjyG154Z143vqkR7VxXM8RoVpx7QIhAM4sK9TqxtGytSPMPsLjL30zle0ayvwY++lM0lh3O5Jx"}]},"maintainers":[{"name":"joonho1101","email":"joonho1101@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/graphql-input-number-0.0.1.tgz_1465454432304_0.4316007033921778"}},"0.0.2":{"name":"graphql-input-number","version":"0.0.2","description":"A configurable custom input number type for GraphQL with sanitization and validation.","main":"lib/index.js","scripts":{"build":"babel src --out-dir lib","build-watch":"babel src --watch --out-dir lib","clear":"rm -rf ./lib ./coverage ./.nyc_output","coverage":"nyc npm test && nyc report --reporter=text-lcov | coveralls","prepublish":"npm run clear && npm test","pretest":"npm run build","start":"npm test","test":"mocha","test-watch":"mocha --watch","update-D":"npm install --save-dev babel-cli@latest babel-preset-es2015@latest babel-preset-stage-0@latest babel-register@latest chai@latest chai-as-promised@latest coveralls@latest graphql@latest mocha@latest nyc@latest","watch":"npm run build-watch & npm run test-watch"},"repository":{"type":"git","url":"git+https://github.com/joonhocho/graphql-input-number.git"},"keywords":["configurable","custom","input","number","scalar","type","GraphQL","sanitization","validation."],"author":{"name":"Joon Ho Cho"},"license":"MIT","bugs":{"url":"https://github.com/joonhocho/graphql-input-number/issues"},"homepage":"https://github.com/joonhocho/graphql-input-number#readme","peerDependencies":{"graphql":"*"},"dependencies":{},"devDependencies":{"babel-cli":"^6.9.0","babel-preset-es2015":"^6.9.0","babel-preset-stage-0":"^6.5.0","babel-register":"^6.9.0","chai":"^3.5.0","chai-as-promised":"^5.3.0","coveralls":"^2.11.9","graphql":"*","mocha":"^2.5.3","nyc":"^6.4.4"},"gitHead":"818aae4cb82a316cc168b0c8f3d315770843a820","_id":"graphql-input-number@0.0.2","_shasum":"e8bb3e267e4f05bf66d51f0a5415b48507bdc6d2","_from":".","_npmVersion":"3.9.3","_nodeVersion":"6.2.1","_npmUser":{"name":"joonho1101","email":"joonho1101@gmail.com"},"dist":{"shasum":"e8bb3e267e4f05bf66d51f0a5415b48507bdc6d2","tarball":"https://registry.npmjs.org/graphql-input-number/-/graphql-input-number-0.0.2.tgz","integrity":"sha512-qQwglT15x+iR1Ba8rSQdPWKuC/H5MWwe8x1IW86V8jBwOMo5hYXI52xp3IvlZ+YR3EKtkuj/L8EUrabixsam5w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCqxRZRVs1AbaUeBgo5nVFkPdEbyAJbDoSobkpSIZu0xwIhAJf1knuhBXCa1IBk356iJ4khR/s48n0hxRUJ5oJHXhLX"}]},"maintainers":[{"name":"joonho1101","email":"joonho1101@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/graphql-input-number-0.0.2.tgz_1465459649283_0.7730325551237911"}},"0.0.3":{"name":"graphql-input-number","version":"0.0.3","description":"A configurable custom input number type for GraphQL with sanitization and validation.","main":"lib/index.js","scripts":{"build":"babel src --out-dir lib","build-watch":"babel src --watch --out-dir lib","clear":"rm -rf ./lib ./coverage ./.nyc_output","coverage":"nyc npm test && nyc report --reporter=text-lcov | coveralls","nyc":"nyc npm test && nyc report --reporter=lcov","prepublish":"npm run clear && npm test","pretest":"npm run build","start":"npm test","test":"mocha","test-watch":"mocha --watch","update-D":"npm install --save-dev babel-cli@latest babel-preset-es2015@latest babel-preset-stage-0@latest babel-register@latest chai@latest chai-as-promised@latest coveralls@latest graphql@latest mocha@latest nyc@latest","watch":"npm run build-watch & npm run test-watch"},"repository":{"type":"git","url":"git+https://github.com/joonhocho/graphql-input-number.git"},"keywords":["configurable","custom","input","number","scalar","type","GraphQL","sanitization","validation."],"author":{"name":"Joon Ho Cho"},"license":"MIT","bugs":{"url":"https://github.com/joonhocho/graphql-input-number/issues"},"homepage":"https://github.com/joonhocho/graphql-input-number#readme","peerDependencies":{"graphql":"*"},"dependencies":{},"devDependencies":{"babel-cli":"^6.9.0","babel-preset-es2015":"^6.9.0","babel-preset-stage-0":"^6.5.0","babel-register":"^6.9.0","chai":"^3.5.0","chai-as-promised":"^5.3.0","coveralls":"^2.11.9","graphql":"*","mocha":"^2.5.3","nyc":"^6.4.4"},"gitHead":"cfcf856859f637b3d47b786c20327155a6aaab46","_id":"graphql-input-number@0.0.3","_shasum":"2972b6b46338f24f4f6d4813d5ede83d2df36f2f","_from":".","_npmVersion":"3.9.3","_nodeVersion":"6.2.1","_npmUser":{"name":"joonho1101","email":"joonho1101@gmail.com"},"dist":{"shasum":"2972b6b46338f24f4f6d4813d5ede83d2df36f2f","tarball":"https://registry.npmjs.org/graphql-input-number/-/graphql-input-number-0.0.3.tgz","integrity":"sha512-/3Ca+RyaacNcLlfeEVTHXlZKFREqh64SiVc4T5krZXRf9xMfP8sZOYdRCXbYj9DM7CaRy3DKcDDiACL/GKlAag==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCkuynvuciBORnPSJQHPMVMCvSjDUuudBaMLQKogtWHMQIhAPgc8HQxE81UbwqOSMCAABceEG0d56VP4SxSOk1TFROr"}]},"maintainers":[{"name":"joonho1101","email":"joonho1101@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/graphql-input-number-0.0.3.tgz_1465468417022_0.4053838753607124"}},"0.0.4":{"name":"graphql-input-number","version":"0.0.4","description":"A configurable custom input number type for GraphQL with sanitization and validation.","main":"lib/index.js","scripts":{"build":"babel src --out-dir lib","build-watch":"babel src --watch --out-dir lib","clear":"rm -rf ./lib ./coverage ./.nyc_output","coverage":"nyc npm test && nyc report --reporter=text-lcov | coveralls","nyc":"nyc npm test && nyc report --reporter=lcov","prepublish":"npm run clear && npm test","pretest":"npm run build","start":"npm test","test":"mocha","test-watch":"mocha --watch","update-D":"npm install --save-dev babel-cli@latest babel-preset-es2015@latest babel-preset-stage-0@latest babel-register@latest chai@latest chai-as-promised@latest coveralls@latest graphql@latest mocha@latest nyc@latest","watch":"npm run build-watch & npm run test-watch"},"repository":{"type":"git","url":"git+https://github.com/joonhocho/graphql-input-number.git"},"keywords":["configurable","custom","input","number","scalar","type","GraphQL","sanitization","validation."],"author":{"name":"Joon Ho Cho"},"license":"MIT","bugs":{"url":"https://github.com/joonhocho/graphql-input-number/issues"},"homepage":"https://github.com/joonhocho/graphql-input-number#readme","peerDependencies":{"graphql":"*"},"dependencies":{},"devDependencies":{"babel-cli":"^6.9.0","babel-preset-es2015":"^6.9.0","babel-preset-stage-0":"^6.5.0","babel-register":"^6.9.0","chai":"^3.5.0","chai-as-promised":"^5.3.0","coveralls":"^2.11.9","graphql":"*","mocha":"^2.5.3","nyc":"^6.4.4"},"gitHead":"3162f5ca0f6f30041e79d8640855c90d25b1acf8","_id":"graphql-input-number@0.0.4","_shasum":"39c1f41c33810544a2f3668c1428df64be267495","_from":".","_npmVersion":"3.9.3","_nodeVersion":"6.2.1","_npmUser":{"name":"joonho1101","email":"joonho1101@gmail.com"},"dist":{"shasum":"39c1f41c33810544a2f3668c1428df64be267495","tarball":"https://registry.npmjs.org/graphql-input-number/-/graphql-input-number-0.0.4.tgz","integrity":"sha512-5E8C0CQZ/1FIxzqLqE7ppozLKelkVIrpayLpxwBLHO0/EiCjcQ6oSC+HMSlOciXUaW+Fra4GAJhb7wSgrZZhfg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDkAT08CltZyF99oMHYfCG5+JNl2o1oG9ZBG12flu5MjQIhAIjH+kqz83/VTz4+PwMstMuxz6sVd5a/uPFPy/L6SLY2"}]},"maintainers":[{"name":"joonho1101","email":"joonho1101@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/graphql-input-number-0.0.4.tgz_1465477058445_0.037396197905763984"}},"0.0.5":{"name":"graphql-input-number","version":"0.0.5","description":"A configurable custom input number type for GraphQL with sanitization and validation.","main":"lib/index.js","scripts":{"build":"babel src --out-dir lib","build-watch":"babel src --watch --out-dir lib","clear":"rm -rf ./lib ./coverage ./.nyc_output","coverage":"nyc npm test && nyc report --reporter=text-lcov | coveralls","nyc":"nyc npm test && nyc report --reporter=lcov","prepublish":"npm run clear && npm test","pretest":"npm run build","start":"npm test","test":"mocha","test-watch":"mocha --watch","update-D":"npm install --save-dev babel-cli@latest babel-preset-es2015@latest babel-preset-stage-0@latest babel-register@latest chai@latest chai-as-promised@latest coveralls@latest graphql@latest mocha@latest nyc@latest","watch":"npm run build-watch & npm run test-watch"},"repository":{"type":"git","url":"git+https://github.com/joonhocho/graphql-input-number.git"},"keywords":["configurable","custom","input","number","scalar","type","GraphQL","sanitization","validation."],"author":{"name":"Joon Ho Cho"},"license":"MIT","bugs":{"url":"https://github.com/joonhocho/graphql-input-number/issues"},"homepage":"https://github.com/joonhocho/graphql-input-number#readme","peerDependencies":{"graphql":"*"},"dependencies":{},"devDependencies":{"babel-cli":"^6.9.0","babel-preset-es2015":"^6.9.0","babel-preset-stage-0":"^6.5.0","babel-register":"^6.9.0","chai":"^3.5.0","chai-as-promised":"^5.3.0","coveralls":"^2.11.9","graphql":"*","mocha":"^2.5.3","nyc":"^6.4.4"},"gitHead":"4838414cae6e65c967c29262a4a0339979250f93","_id":"graphql-input-number@0.0.5","_shasum":"a56fb935562e7e3f34300b02f3b9f9544f2b5863","_from":".","_npmVersion":"3.9.3","_nodeVersion":"6.2.1","_npmUser":{"name":"joonho1101","email":"joonho1101@gmail.com"},"dist":{"shasum":"a56fb935562e7e3f34300b02f3b9f9544f2b5863","tarball":"https://registry.npmjs.org/graphql-input-number/-/graphql-input-number-0.0.5.tgz","integrity":"sha512-OVE/dxW0yaT83SVNPk5uRhRLU4ziVtXmQZgHpXROqVf0IB5H942Zy+W33os9LSIceCpxf8TRE3RBi1plbOFteQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCPE2030+ofhz/JkUajXjsiIxkgk3OCevKoljrAEv4+ZQIhAIyowX6Wff2XLQxNfE9doabKN+Efxqg1L3W74BgueAgE"}]},"maintainers":[{"name":"joonho1101","email":"joonho1101@gmail.com"},{"name":"joonhocho","email":"joonho1101@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/graphql-input-number-0.0.5.tgz_1465477801864_0.9023532294668257"}},"0.0.6":{"name":"graphql-input-number","version":"0.0.6","description":"A configurable custom input number type for GraphQL with sanitization and validation.","main":"lib/index.js","scripts":{"build":"babel src --out-dir lib","build-watch":"babel src --watch --out-dir lib","clear":"rm -rf ./lib ./coverage ./.nyc_output","coverage":"nyc npm test && nyc report --reporter=text-lcov | coveralls","nyc":"nyc npm test && nyc report --reporter=lcov","prepublish":"npm run clear && npm test","pretest":"npm run build","start":"npm test","test":"mocha","test-watch":"mocha --watch","update-D":"npm install --save-dev babel-cli@latest babel-preset-es2015@latest babel-preset-stage-0@latest babel-register@latest chai@latest chai-as-promised@latest coveralls@latest graphql@latest mocha@latest nyc@latest","watch":"npm run build-watch & npm run test-watch"},"repository":{"type":"git","url":"git+https://github.com/joonhocho/graphql-input-number.git"},"keywords":["configurable","custom","input","number","scalar","type","GraphQL","sanitization","validation."],"author":{"name":"Joon Ho Cho"},"license":"MIT","bugs":{"url":"https://github.com/joonhocho/graphql-input-number/issues"},"homepage":"https://github.com/joonhocho/graphql-input-number#readme","peerDependencies":{"graphql":"*"},"dependencies":{},"devDependencies":{"babel-cli":"^6.9.0","babel-preset-es2015":"^6.9.0","babel-preset-stage-0":"^6.5.0","babel-register":"^6.9.0","chai":"^3.5.0","chai-as-promised":"^5.3.0","coveralls":"^2.11.9","graphql":"*","mocha":"^2.5.3","nyc":"^6.4.4"},"gitHead":"8078ee8cbf89c6709a2ca493fe10554579c838f0","_id":"graphql-input-number@0.0.6","_shasum":"42b0cbf77f83df41e398575dab543729a50c0c24","_from":".","_npmVersion":"3.9.3","_nodeVersion":"6.2.1","_npmUser":{"name":"joonho1101","email":"joonho1101@gmail.com"},"dist":{"shasum":"42b0cbf77f83df41e398575dab543729a50c0c24","tarball":"https://registry.npmjs.org/graphql-input-number/-/graphql-input-number-0.0.6.tgz","integrity":"sha512-ettFBe8G5YvulMTY4FCMOtCVXW/J5XdIY0CVuA7OH5455dJphSSUOBWM9w1tBX5aSKVQ3jeJF3tl2HiFn6NuPA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID+SZ7DyUMxBmsEtKGE+DGGtk+2j50hkPO93Bdcsr/yAAiEAsbz2MMZf7Mb6b4M82ZYGck5HdH6zP7Dh0WRmaZBiwQY="}]},"maintainers":[{"name":"joonho1101","email":"joonho1101@gmail.com"},{"name":"joonhocho","email":"joonho1101@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/graphql-input-number-0.0.6.tgz_1465479678059_0.21100981393828988"}},"0.0.7":{"name":"graphql-input-number","version":"0.0.7","description":"A configurable custom input number type for GraphQL with sanitization and validation.","main":"lib/index.js","scripts":{"build":"babel src --out-dir lib","build-watch":"babel src --watch --out-dir lib","clear":"rm -rf ./lib ./coverage ./.nyc_output","coverage":"nyc npm test && nyc report --reporter=text-lcov | coveralls","nyc":"nyc npm test && nyc report --reporter=lcov","prepublish":"npm run clear && npm test","pretest":"npm run build","start":"npm test","test":"mocha","test-watch":"mocha --watch","update-D":"npm install --save-dev babel-cli@latest babel-preset-es2015@latest babel-preset-stage-0@latest babel-register@latest chai@latest chai-as-promised@latest coveralls@latest graphql@latest mocha@latest nyc@latest","watch":"npm run build-watch & npm run test-watch"},"repository":{"type":"git","url":"git+https://github.com/joonhocho/graphql-input-number.git"},"keywords":["configurable","custom","input","number","scalar","type","GraphQL","sanitization","validation."],"author":{"name":"Joon Ho Cho"},"license":"MIT","bugs":{"url":"https://github.com/joonhocho/graphql-input-number/issues"},"homepage":"https://github.com/joonhocho/graphql-input-number#readme","peerDependencies":{"graphql":"*"},"dependencies":{},"devDependencies":{"babel-cli":"^6.9.0","babel-preset-es2015":"^6.9.0","babel-preset-stage-0":"^6.5.0","babel-register":"^6.9.0","chai":"^3.5.0","chai-as-promised":"^5.3.0","coveralls":"^2.11.9","graphql":"*","mocha":"^2.5.3","nyc":"^6.4.4"},"gitHead":"beb26c49ff4c092f70e2f3341033244b2d590175","_id":"graphql-input-number@0.0.7","_shasum":"57e49eb30ca59c649b272d5c0f47d97a9f183a0e","_from":".","_npmVersion":"3.9.3","_nodeVersion":"6.2.1","_npmUser":{"name":"joonho1101","email":"joonho1101@gmail.com"},"dist":{"shasum":"57e49eb30ca59c649b272d5c0f47d97a9f183a0e","tarball":"https://registry.npmjs.org/graphql-input-number/-/graphql-input-number-0.0.7.tgz","integrity":"sha512-YiR15dvsWfQiBww24THLKChr2yNr1msYwaPgAtG8a9ZfcomWiVvZtwuNikGs76h+Lsp6buLCOhTC3tEcz/3YvA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHqbmEyCQUiu6d4miKc3tIaqoCXz/zj4kDTloM5hVTZZAiAMrS91QYKyQhokSvqo6cfDpDizgpiOZlMssL7O7iEKHw=="}]},"maintainers":[{"name":"joonho1101","email":"joonho1101@gmail.com"},{"name":"joonhocho","email":"joonho1101@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/graphql-input-number-0.0.7.tgz_1465481296653_0.3760393525008112"}},"0.0.8":{"name":"graphql-input-number","version":"0.0.8","description":"A configurable custom input number type for GraphQL with sanitization and validation.","main":"lib/index.js","scripts":{"build":"babel src --out-dir lib","build-watch":"babel src --watch --out-dir lib","clear":"rm -rf ./lib ./coverage ./.nyc_output","coverage":"nyc npm test && nyc report --reporter=text-lcov | coveralls","nyc":"nyc npm test && nyc report --reporter=lcov","prepublish":"npm run clear && npm test","pretest":"npm run build","start":"npm test","test":"mocha","test-watch":"mocha --watch","update-D":"npm install --save-dev babel-cli@latest babel-preset-es2015@latest babel-preset-stage-0@latest babel-register@latest chai@latest chai-as-promised@latest coveralls@latest graphql@latest mocha@latest nyc@latest","watch":"npm run build-watch & npm run test-watch"},"repository":{"type":"git","url":"git+https://github.com/joonhocho/graphql-input-number.git"},"keywords":["configurable","custom","input","number","scalar","type","GraphQL","sanitization","validation."],"author":{"name":"Joon Ho Cho"},"license":"MIT","bugs":{"url":"https://github.com/joonhocho/graphql-input-number/issues"},"homepage":"https://github.com/joonhocho/graphql-input-number#readme","peerDependencies":{"graphql":"*"},"dependencies":{},"devDependencies":{"babel-cli":"^6.9.0","babel-preset-es2015":"^6.9.0","babel-preset-stage-0":"^6.5.0","babel-register":"^6.9.0","chai":"^3.5.0","chai-as-promised":"^5.3.0","coveralls":"^2.11.9","graphql":"*","mocha":"^2.5.3","nyc":"^6.4.4"},"gitHead":"b1a5627fcf13171b1b409cc621a420d5ce8d947d","_id":"graphql-input-number@0.0.8","_shasum":"c529af57d98fe54e27b6cad587701061b2aa0dc5","_from":".","_npmVersion":"3.9.3","_nodeVersion":"6.2.1","_npmUser":{"name":"joonho1101","email":"joonho1101@gmail.com"},"dist":{"shasum":"c529af57d98fe54e27b6cad587701061b2aa0dc5","tarball":"https://registry.npmjs.org/graphql-input-number/-/graphql-input-number-0.0.8.tgz","integrity":"sha512-YNrmXO3BiGbr1NtI5E87JH6h3gumSWYh2i3OklVjIJ0pbDEt8GBMQUekPnS6uewnMJdvgKVvkFdSiCsn0NvrbA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA/1tvfTEGf2xZSlKL2/3vcOX5gLIMb9Y6aCvj9b/sBkAiEAzWAY0gfhJpaFxnJs6npTXi70b2K/hYmDZMZnCMt9F9Y="}]},"maintainers":[{"name":"joonho1101","email":"joonho1101@gmail.com"},{"name":"joonhocho","email":"joonho1101@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/graphql-input-number-0.0.8.tgz_1465605475589_0.7049942435696721"}},"0.0.9":{"name":"graphql-input-number","version":"0.0.9","description":"A configurable custom input number type for GraphQL with sanitization and validation.","main":"lib/index.js","scripts":{"build":"babel src --out-dir lib","build-watch":"babel src --watch --out-dir lib","clear":"rm -rf ./lib ./coverage ./.nyc_output","coverage":"nyc npm test && nyc report --reporter=text-lcov | coveralls","nyc":"nyc npm test && nyc report --reporter=lcov","prepublish":"npm run clear && npm test","pretest":"npm run build","start":"npm test","test":"mocha","test-watch":"mocha --watch","update-D":"npm install --save-dev babel-cli@latest babel-preset-es2015@latest babel-preset-stage-0@latest babel-register@latest chai@latest chai-as-promised@latest coveralls@latest graphql@latest mocha@latest nyc@latest","watch":"npm run build-watch & npm run test-watch"},"repository":{"type":"git","url":"git+https://github.com/joonhocho/graphql-input-number.git"},"keywords":["configurable","custom","input","number","scalar","type","GraphQL","sanitization","validation."],"author":{"name":"Joon Ho Cho"},"license":"MIT","bugs":{"url":"https://github.com/joonhocho/graphql-input-number/issues"},"homepage":"https://github.com/joonhocho/graphql-input-number#readme","peerDependencies":{"graphql":"*"},"dependencies":{},"devDependencies":{"babel-cli":"^6.9.0","babel-preset-es2015":"^6.9.0","babel-preset-stage-0":"^6.5.0","babel-register":"^6.9.0","chai":"^3.5.0","chai-as-promised":"^5.3.0","coveralls":"^2.11.9","graphql":"*","mocha":"^2.5.3","nyc":"^6.4.4"},"gitHead":"87cd44b9965972d06a5bd137d174c4978e709cd1","_id":"graphql-input-number@0.0.9","_shasum":"1f490bafb542590e4cdce9fc35f26ed08c4884a8","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.4.0","_npmUser":{"name":"joonhocho","email":"joonho1101@gmail.com"},"dist":{"shasum":"1f490bafb542590e4cdce9fc35f26ed08c4884a8","tarball":"https://registry.npmjs.org/graphql-input-number/-/graphql-input-number-0.0.9.tgz","integrity":"sha512-XebLlaTuKbPh4UTwds5ZlJvdFDUhmMFw7EWc4QoZc9Uwf8Yp3UT83WDMkB/xfQWqzJr+JlsEg0OUGsjiVqr8Gg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICJTlg6M2xGpAa41HdRrBmY7b9YNlincqro1jn+bgxDbAiBv623bi5VAQutpfopLueHDdcir7Hh6CJpviY64oJKC5A=="}]},"maintainers":[{"name":"joonho1101","email":"joonho1101@gmail.com"},{"name":"joonhocho","email":"joonho1101@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/graphql-input-number-0.0.9.tgz_1485202030058_0.18130940617993474"}},"0.0.10":{"name":"graphql-input-number","version":"0.0.10","description":"A configurable custom input number type for GraphQL with sanitization and validation.","main":"lib/index.js","scripts":{"build":"babel src --out-dir lib","build-watch":"babel src --watch --out-dir lib","clear":"rm -rf ./lib ./coverage ./.nyc_output","coverage":"nyc npm test && nyc report --reporter=text-lcov | coveralls","nyc":"nyc npm test && nyc report --reporter=lcov","prepublish":"npm run clear && npm test","pretest":"npm run build","start":"npm test","test":"mocha","test-watch":"mocha --watch","update-D":"npm install --save-dev babel-cli@latest babel-preset-es2015@latest babel-preset-stage-0@latest babel-register@latest chai@latest chai-as-promised@latest coveralls@latest graphql@latest mocha@latest nyc@latest","watch":"npm run build-watch & npm run test-watch"},"repository":{"type":"git","url":"git+https://github.com/joonhocho/graphql-input-number.git"},"keywords":["configurable","custom","input","number","scalar","type","GraphQL","sanitization","validation."],"author":{"name":"Joon Ho Cho"},"license":"MIT","bugs":{"url":"https://github.com/joonhocho/graphql-input-number/issues"},"homepage":"https://github.com/joonhocho/graphql-input-number#readme","peerDependencies":{"graphql":"*"},"dependencies":{},"devDependencies":{"babel-cli":"^6.9.0","babel-plugin-add-module-exports":"^0.2.1","babel-preset-es2015":"^6.9.0","babel-preset-stage-0":"^6.5.0","babel-register":"^6.9.0","chai":"^3.5.0","chai-as-promised":"^5.3.0","coveralls":"^2.11.9","graphql":"*","mocha":"^2.5.3","nyc":"^6.4.4"},"gitHead":"def2ce0c63a1125f45653a06c7a309aff5698fab","_id":"graphql-input-number@0.0.10","_shasum":"509b1c1fb5baeef8ab516a7c82c40dcebb8f8358","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.7.4","_npmUser":{"name":"joonhocho","email":"joonho1101@gmail.com"},"dist":{"shasum":"509b1c1fb5baeef8ab516a7c82c40dcebb8f8358","tarball":"https://registry.npmjs.org/graphql-input-number/-/graphql-input-number-0.0.10.tgz","integrity":"sha512-vbI+XsT9540+ZyWJkJvltsD+oz00oFQSlmesQIR5dtRP/e2zPRqpgsG24NUww/uT2oToLbwbuVL5OlqJTnNPmg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDHgoL/uuyCfKcgIzmw+ercjfJdioTjlMvklSdVpCXyWgIhAIR4tEEFll9bLSI6GEkUgO9z/m4yLQhE5Gm5me6VtPYt"}]},"maintainers":[{"name":"joonho1101","email":"joonho1101@gmail.com"},{"name":"joonhocho","email":"joonho1101@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphql-input-number-0.0.10.tgz_1504490262473_0.8721156832762063"}}},"readme":"# graphql-input-number\n[![Build Status](https://travis-ci.org/joonhocho/graphql-input-number.svg?branch=master)](https://travis-ci.org/joonhocho/graphql-input-number)\n[![Coverage Status](https://coveralls.io/repos/github/joonhocho/graphql-input-number/badge.svg?branch=master)](https://coveralls.io/github/joonhocho/graphql-input-number?branch=master)\n[![npm version](https://badge.fury.io/js/graphql-input-number.svg)](https://badge.fury.io/js/graphql-input-number)\n[![Dependency Status](https://david-dm.org/joonhocho/graphql-input-number.svg)](https://david-dm.org/joonhocho/graphql-input-number)\n[![License](http://img.shields.io/:license-mit-blue.svg)](http://doge.mit-license.org)\n\nA configurable custom input number type for GraphQL with sanitization and validation.\n\nCheckout [graphql-input-string](https://github.com/joonhocho/graphql-input-string) for validating string inputs.\n\n\n### Install\n```\nnpm install --save graphql-input-number\n```\n\n\n### Usage\n```javascript\nimport {\n  GraphQLInputInt,\n  GraphQLInputFloat,\n} from 'graphql-input-number';\n\nconst argType = GraphQLInputInt({\n  name: 'OneToNineInt',\n  min: 1,\n  max: 9,\n});\n\nnew GraphQLObjectType({\n  name: 'Query',\n  fields: {\n    input: {\n      type: GraphQLInt,\n      args: {\n        number: {\n          type: argType,\n        },\n      },\n      resolve: (_, {number}) => {\n\n        // 'number' IS AN INT BETWEEN 1 to 9.\n\n      };\n    },\n  },\n});\n```\n\n### Options\n```javascript\nGraphQLInputInt({\n  // Type name.\n  // [REQUIRED]\n  name: string = null,\n\n  // Sanitize function that is called at the end of sanitzation phase and before\n  // validation phase.\n  sanitize: ((number) => number) = null,\n\n  // Minimum value allowed (inclusive).\n  min: number = null,\n\n  // Maximum value allowed (inclusive).\n  max: number = null,\n\n  // Test function that is called at the end of validation phase.\n  test: ((number) => boolean) = null,\n\n  // Custom error handler.\n  // May throw an error or return a value.\n  // If a value is returned, it will become the final value.\n  error: ErrorHandler = () => throw GraphQLError,\n\n  // Parse function that is called after validation phase before returning a\n  // value.\n  // May throw an error or return a value.\n  parse: ((number) => any) = null,\n\n  // If you want to pass some config to type constructor, simply add them here.\n  // For example,\n  description: string,\n});\n\nGraphQLInputFloat({\n  ...same as GraphQLInputInt\n});\n\n\ntype ErrorInfo = {\n  type: string,\n  value: number,\n  message: ?string,\n  ast: ?Ast,\n  ...args,\n};\n\n\ntype ErrorHandler = (ErrorInfo) => any;\n```\n\n\n### License\n```\nThe MIT License (MIT)\n\nCopyright (c) 2016 Joon Ho Cho\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n```\n","maintainers":[{"name":"joonho1101","email":"joonho1101@gmail.com"},{"name":"joonhocho","email":"joonho1101@gmail.com"}],"time":{"modified":"2022-06-18T13:57:17.476Z","created":"2016-06-09T06:40:32.774Z","0.0.1":"2016-06-09T06:40:32.774Z","0.0.2":"2016-06-09T08:07:29.819Z","0.0.3":"2016-06-09T10:33:37.547Z","0.0.4":"2016-06-09T12:57:41.828Z","0.0.5":"2016-06-09T13:10:05.396Z","0.0.6":"2016-06-09T13:41:18.663Z","0.0.7":"2016-06-09T14:08:20.247Z","0.0.8":"2016-06-11T00:37:56.131Z","0.0.9":"2017-01-23T20:07:10.278Z","0.0.10":"2017-09-04T01:57:42.540Z"},"homepage":"https://github.com/joonhocho/graphql-input-number#readme","keywords":["configurable","custom","input","number","scalar","type","GraphQL","sanitization","validation."],"repository":{"type":"git","url":"git+https://github.com/joonhocho/graphql-input-number.git"},"author":{"name":"Joon Ho Cho"},"bugs":{"url":"https://github.com/joonhocho/graphql-input-number/issues"},"license":"MIT","readmeFilename":"README.md","users":{"mjurincic":true,"pje":true}}