{"_id":"apollo-type-bigint","_rev":"9-7f91f1242679e5da316e52cb4510bfc1","time":{"0.1.1":"2019-01-15T07:40:35.961Z","created":"2019-01-16T19:37:10.144Z","0.1.0":"2019-01-16T19:37:10.366Z","modified":"2022-04-11T14:45:55.256Z","0.1.2":"2019-10-04T09:58:42.456Z","0.1.3":"2019-10-14T10:00:21.378Z"},"name":"apollo-type-bigint","dist-tags":{"latest":"0.1.3"},"versions":{"0.1.0":{"name":"apollo-type-bigint","version":"0.1.0","description":"53-bit and 63-bit integer implementation for GraphQL","main":"lib/index.js","directories":{"lib":"lib","test":"tests"},"scripts":{"prepublishOnly":"npx babel src --out-dir lib","test":"npx mocha --timeout 15000 --compilers js:@babel/register tests/index.js"},"repository":{"type":"git","url":"git+https://github.com/Nberezhnoy/apollo-type-bigint.git"},"keywords":["apollo","bigint","graphql","int","number"],"author":{"name":"Nikita Berezhnoy","email":"nik.pr2012@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/Nberezhnoy/apollo-type-bigint/issues"},"homepage":"https://github.com/Nberezhnoy/apollo-type-bigint#readme","peerDependencies":{"graphql":">=0.13.0"},"devDependencies":{"@babel/cli":"^7.2.3","@babel/core":"^7.2.2","@babel/preset-env":"^7.2.3","@babel/register":"^7.0.0","chai":"^4.2.0","graphql":"^14.0.2","mocha":"^5.2.0"},"gitHead":"da6944e7d0d645ca8f6083fba33d35db7c5ad679","_id":"apollo-type-bigint@0.1.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"nberezhnoy","email":"nik.pr2012@gmail.com"},"dist":{"integrity":"sha512-xF1pUX7E8QTdyUteg3z09U428pbzy7qQjGJwnycLH2AuDsB/CG3QvR1Hmnd6NNI3Mpu5YN29svd2evq7rFu+TA==","shasum":"49c333fe86885aecc8dc4de0c909f5c874de54df","tarball":"https://registry.npmjs.org/apollo-type-bigint/-/apollo-type-bigint-0.1.0.tgz","fileCount":13,"unpackedSize":20212,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcP4fnCRA9TVsSAnZWagAA318P/imTSpqH4DwxzKdoCnOL\n5IjTkGqr8/j+qqpGWi1GeaiY+Jxd73ehYymV2cKEoEq659Z/G3y5C82rGiil\n5fHklI9EW9riBDSzk5sfv3YGhtV3Da4cpG8X9Jdn/r2tLWyDCUuf7nQJgAA9\neDdfj3RkIFFytPR4bitGP9NBKiXVwYj7IJB9mevqJXOUwHMo6zRkF6A6VR6C\nKGtae9kfuQrqtqPXHP+iw4yiP3u964QYZh0aNn8dNLkgrFtsMP4HX1k2OVsr\nUdc7c5LITnifh+kSLT3Gs36xM9HWjnYsU56MEjwDjoP0LXcKj7zVSm8upp20\np3QMxHMHe2w26W1PCHzJOE4Tmt63p/srpQiRCZBMUaf+7HcDE0UaNYAqqWSB\nYuWlN9RdsCKRzJahp+YxPqrak92sZg3ieD7ZdPdaEXRw+6FCRUW205tY8avV\nHR6QlQ1jxPdA1FL+x3AO321tkFvuRPxn9QNr1jiSsVvNEUd7uJTzdK/nWXsu\n8swYrPlY7irLipe+ByMW4hTW0W68FdUjRQcvKqZkfJ6BJmozki9Ajr3Ktxdu\nsXyBkrN899T9nEKtKwdEtHycL25Ncf+1TcPrJ1dzeUyWU2YvytCk6op66BJG\naREUe1TVRSiUjL+TpNuqX/4sRi4WMrXTOwXCMdC3FMxn9xPWTeNqhOTiWXzZ\noMQF\r\n=wWJM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD9cFOPmHMrmLZSjjKaHAHCEogbteuOqWd0VYCxc+MW/QIhAKN7EiuPPw/J29nO5FocCdig9bCFRoY97dhosr+S65Hp"}]},"maintainers":[{"name":"nberezhnoy","email":"nik.pr2012@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apollo-type-bigint_0.1.0_1547667430145_0.5541340911490309"},"_hasShrinkwrap":false},"0.1.2":{"name":"apollo-type-bigint","version":"0.1.2","description":"53-bit and 63-bit integer implementation for GraphQL","main":"lib/index.js","directories":{"lib":"lib","test":"tests"},"types":"index.d.ts","scripts":{"prepublishOnly":"npx babel src --out-dir lib","test":"npx mocha --timeout 15000 --compilers js:@babel/register tests/index.js"},"repository":{"type":"git","url":"git+https://github.com/Nberezhnoy/apollo-type-bigint.git"},"keywords":["apollo","bigint","graphql","int","number"],"author":{"name":"Nikita Berezhnoy","email":"nik.pr2012@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/Nberezhnoy/apollo-type-bigint/issues"},"homepage":"https://github.com/Nberezhnoy/apollo-type-bigint#readme","peerDependencies":{"graphql":">=0.13.0"},"devDependencies":{"@babel/cli":"^7.2.3","@babel/core":"^7.2.2","@babel/preset-env":"^7.2.3","@babel/register":"^7.0.0","chai":"^4.2.0","graphql":"^14.0.2","mocha":"^5.2.0"},"gitHead":"b527549fcd5e430e68909f6a06434f93dfe6cbcd","_id":"apollo-type-bigint@0.1.2","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-c/5nhAe06NFsIpQLNCVCvJpb36LSNKkcjIJO2OBJVuJIkDDdrSCpjzjK+WYuaxFYjnXcYstrxkAXblf8hJoXFg==","shasum":"54d1e265f658b8c08a6e9fb8a8791de7e9997a24","tarball":"https://registry.npmjs.org/apollo-type-bigint/-/apollo-type-bigint-0.1.2.tgz","fileCount":5,"unpackedSize":6948,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdlxfSCRA9TVsSAnZWagAAsAsP/2QG1M7GLJJqWt6h2H5g\nSUK13uuMRu8iKubwEIasAJKDvirOVtDCfhNCGsZyuBFiBG0nGETL54C53Rej\nkhQ3GGWwk3tm3k+QLpXuVi9ccaYFzIm8uBo3+WSZJdHh9chQLGnZES9Efu3Y\ntdWoj+50pgwLk8p87/9BSjieURKghqLb15tlMjhvPL4SH0KqRuUzg4gKzdAO\nJKR3bv0q3r4EJiP9L454usrXGM65cR0lzp3Rp9O76uOfW+cwCFGpvlqS0C6u\nFH+HY5X5p4yOsNExILPW/vJCXfhmFTXVUurFWEwsDimsrYpxjE363ywsXeFJ\nCV/77ivc1wokLnM0ZCaLYAwfo6IPbehqEnAo9+yeI4gbKgUtGCeGz4tWsCZ+\nRwDJV3qzSWCdhfLZVXDD1Cq26V12IV8Pvot4TWx52eFrbEoWYyJq4RIqoMom\n/JuFm8u6FS+qRNFK6LQcvoZ775nd+qVCi1VVB+h3N9OZFagGHlsKCZGFWZcB\nX0csomH3ItQQo1iPUc7U74LdXrGmDtuPTSYEObdAABhjymPmYt2igZqm5XqY\n9rvlYYMz8A1exJyJMqY1EY0MA8IoJEs7MEfjajquLA2WgcVcpYNNu/WO+4ar\n8TOGfZ82uDpKjKEVFW73Vv8rYp4VUyJFeZJApJB8tOeY+DPpkU5hoRLjtuf2\nCAh5\r\n=Z8Ux\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDwZ3PdeqNh1meeraWW0K3uxQWjjwGDYpebhpmkNLfHSQIgbfhoCg72pTC4pbWGCAc4C4YT8A9GYHZ8lyxeFAtbB0s="}]},"maintainers":[{"name":"nberezhnoy","email":"nik.pr2012@gmail.com"}],"_npmUser":{"name":"nberezhnoy","email":"nik.pr2012@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apollo-type-bigint_0.1.2_1570183121019_0.278901311167266"},"_hasShrinkwrap":false},"0.1.3":{"name":"apollo-type-bigint","version":"0.1.3","description":"53-bit and 63-bit integer implementation for GraphQL","main":"lib/index.js","directories":{"lib":"lib","test":"tests"},"types":"index.d.ts","scripts":{"prepublishOnly":"npx babel src --out-dir lib","test":"npx mocha --timeout 15000 --compilers js:@babel/register tests/index.js"},"repository":{"type":"git","url":"git+https://github.com/Nberezhnoy/apollo-type-bigint.git"},"keywords":["apollo","bigint","graphql","int","number"],"author":{"name":"Nikita Berezhnoy","email":"nik.pr2012@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/Nberezhnoy/apollo-type-bigint/issues"},"homepage":"https://github.com/Nberezhnoy/apollo-type-bigint#readme","peerDependencies":{"graphql":">=0.13.0"},"devDependencies":{"@babel/cli":"^7.2.3","@babel/core":"^7.2.2","@babel/preset-env":"^7.2.3","@babel/register":"^7.0.0","chai":"^4.2.0","graphql":"^14.0.2","mocha":"^5.2.0"},"gitHead":"cbf643161c8b99889a41783a0d686b0fd8d3c1f8","_id":"apollo-type-bigint@0.1.3","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-nyfwEWRZ+kon3Nnot20DufGm2EHZrkJoryYzw3soD+USdxhkcW434w1c/n+mjMLQDl86Z6EvlkvMX5Lordf2Wg==","shasum":"9242115ca909b9467ba5c4bc6493a56a06984c0b","tarball":"https://registry.npmjs.org/apollo-type-bigint/-/apollo-type-bigint-0.1.3.tgz","fileCount":5,"unpackedSize":6939,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdpEc1CRA9TVsSAnZWagAAFY0P/3M9CUenAUpH0s0mhv9g\nxd09EyN1Sb8WfqcqvqXjNEHr4wsaYE1cwacoC/Db5+26mSykGmvRozUYO2Xd\n6asMIVH8ZxWHmIcrJftoYsWqok1Neb/emH0NKL/vHoKnlpHnF9xyiZj+YYsk\nUin+pwLSjk4I4B0oYbcFKj7S9oBSYtmauwBhd/9+em9kSFNZHbEmSG8PPr0L\nmaLA6S5+C6BMgc2I9TxL4a/Q26CysEHOQ4oHrB8vNV8fxm7GS8jEP5fM1uMQ\neYz8f62//MjCJYKua/5+X5bvMdoR7h/H6R+gmtOG8KXzMRlYXm9VAeHTpdic\nYh0oHmf8yDAG7fXDibI0Iz/6+pGHTYI6uVh7UkjEnU0LToZ1/7taq/F9PkGZ\nkZsa9rt96RxNHuJy/s+YYN5+BjHTABgXEozgexnKHMKXjkYgpgCs9rkXwpVe\n5H7QHHi2OTG14876ByNDfmYSamBrK3WKSOGADXGZkPOFnUa02f9D6gg6D+G7\nbJfYi4GePvSAzNO0c+jibNw98Jl41A0kUPDWsvjooqhIqFJdq1KuetSE3leQ\nSE1UgNQI/T0li6s9J6/5IwHy2kS7ReZbCadUC1L4ajL1Aa+/QSQtfQVmbkLc\nR9nzcvtd1QyLoMmvkaiYbO4CF4Q8WgZcU2ebe52fNC/LWIMMDb6zcvD2xHtW\n1t/Z\r\n=ROfl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCGidUPXeRPTamaITVTjbtXNYZDVLls2pgu/3LF+WMC2QIgWBoKPJ9FiHkvHeNMgiBkkWArqtDByL9D2ZXUosYC4Bw="}]},"maintainers":[{"name":"nberezhnoy","email":"nik.pr2012@gmail.com"}],"_npmUser":{"name":"nberezhnoy","email":"nik.pr2012@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apollo-type-bigint_0.1.3_1571047221262_0.32404072252704963"},"_hasShrinkwrap":false}},"maintainers":[{"name":"nberezhnoy","email":"nik.pr2012@gmail.com"}],"description":"53-bit and 63-bit integer implementation for GraphQL","homepage":"https://github.com/Nberezhnoy/apollo-type-bigint#readme","keywords":["apollo","bigint","graphql","int","number"],"repository":{"type":"git","url":"git+https://github.com/Nberezhnoy/apollo-type-bigint.git"},"author":{"name":"Nikita Berezhnoy","email":"nik.pr2012@gmail.com"},"bugs":{"url":"https://github.com/Nberezhnoy/apollo-type-bigint/issues"},"license":"MIT","readme":"# apollo-type-bigint\nBigInt integer type for [Apollo server](https://github.com/apollographql/apollo-server).  This package provides **2** implementation options for working with large integers.\n\n### First implementation\n___\nThis implementation allows working with only 53 bit integers. To work in the 53-bit number mode, you need to create an instance of the GraphQLBigInt class and pass the string \"safe\" to the constructor.\n\n#### Example\n\n    import { makeExecutableSchema } from \"graphql-tools\";\n    import BigInt from \"apollo-type-bigint\";\n    \n    const typeDefs = `\n    scalar BigInt\n    \n    type Query {\n      Test: BigInt\n    }\n    `;\n    \n    const resolvers = {\n    \tBigInt: new BigInt(\"safe\")\n    };\n    \n    export default makeExecutableSchema({ typeDefs, resolvers });\n\n### Second implementation\n___\nThe second implementation allows you to work with 63 bit integers using a new data type in JavaScript - [BigInt](https://github.com/tc39/proposal-bigint). To work in this mode, you need to create an instance of the GraphQLBigInt class and pass the \"bigInt\" to the constructor for the term.\n\n#### Example\n\n    import { makeExecutableSchema } from \"graphql-tools\";\n    import BigInt from \"apollo-type-bigint\";\n    \n    const typeDefs = `\n    scalar BigInt\n    \n    type Query {\n      Test: BigInt\n    }\n    `;\n    \n    const resolvers = {\n    \tBigInt: new BigInt(\"bigInt\")\n    };\n    \n    export default makeExecutableSchema({ typeDefs, resolvers });","readmeFilename":"README.md"}