{"_id":"format-graphql","_rev":"8-e9a935c8ad1716ac4d460f87a16668fa","name":"format-graphql","dist-tags":{"latest":"1.5.0"},"versions":{"1.2.0":{"author":{"name":"Gajus Kuizinas","email":"gajus@gajus.com","url":"http://gajus.com"},"ava":{"files":["test/**/*"],"helpers":["test/helpers/**/*"],"require":["@babel/register"],"sources":["src/**/*"]},"bin":{"format-graphql":"./dist/bin/index.js"},"dependencies":{"graphql":"^14.5.8","map-obj":"^4.1.0","yargs":"^14.2.0"},"description":"Formarts GraphQL schema definition language (SDL) document.","devDependencies":{"@babel/cli":"^7.6.4","@babel/core":"^7.6.4","@babel/node":"^7.6.3","@babel/plugin-transform-flow-strip-types":"^7.6.3","@babel/preset-env":"^7.6.3","@babel/register":"^7.6.2","ava":"^2.4.0","babel-plugin-istanbul":"^5.2.0","babel-plugin-transform-export-default-name":"^2.0.4","coveralls":"^3.0.7","eslint":"^6.5.1","eslint-config-canonical":"^17.7.0","flow-bin":"^0.109.0","flow-copy-source":"^2.0.8","husky":"^3.0.9","nyc":"^14.1.1","semantic-release":"^15.13.27"},"engines":{"node":">=10.0"},"husky":{"hooks":{"pre-commit":"npm run lint && npm run test && npm run build"}},"keywords":["graphql","schema","sdl","sort","lint","format"],"main":"./dist/index.js","name":"format-graphql","nyc":{"include":["src/**/*.js"],"instrument":false,"reporter":["text-lcov"],"require":["@babel/register"],"sourceMap":false},"repository":{"type":"git","url":"git+ssh://git@github.com/gajus/format-graphql.git"},"scripts":{"build":"rm -fr ./dist && NODE_ENV=production babel ./src --out-dir ./dist --copy-files --source-maps && flow-copy-source src dist","dev":"NODE_ENV=production babel ./src --out-dir ./dist --copy-files --source-maps --watch","lint":"eslint ./src ./test && flow","test":"NODE_ENV=test ava --serial --verbose"},"version":"1.2.0","gitHead":"d65d394d5f9c770abb1a7b4675fe665393581231","bugs":{"url":"https://github.com/gajus/format-graphql/issues"},"homepage":"https://github.com/gajus/format-graphql#readme","_id":"format-graphql@1.2.0","_nodeVersion":"13.0.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-c1HUYoUNvBeoH3Hmr5fDYgkvVaNKpBfahUBN/szvHHk9TTmcsEk57O3tV8gowe1YMm7hp7yzRXIt5d+2OBvVRg==","shasum":"3ffa378ffb6853e671a4452c6729e35d60386eda","tarball":"https://registry.npmjs.org/format-graphql/-/format-graphql-1.2.0.tgz","fileCount":12,"unpackedSize":13214,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJduETgCRA9TVsSAnZWagAA4Y4QAJuIEl6Df8Hu1tuYi4FR\n3Qz9J1O0DpF6//NTbAufvFedSRuZRQzONJ4DOwd4Ip3sKQrBDf2i/+Ft0yvZ\nYeEw03PqCo1WKe2c5kkvKt1bPiKkZ/vg6Kp3a7mCTN2e00P8wnfyBr6iEQ1U\nOLkePbMzBPH4wNuacN+DTjILZxS1s6AohcwekGWMIosF/dNXMRocYzqO//MR\nl0YKe7C05Qguounps8Nqo0SaKm8WPP5qiejwuoq6QueG8JfM/ZcFodFdV0o9\nQpvEao6F9N++lXxF2pPJqEbEWXZ+G0DeudU1uZyNdlur+H6SWCotZ0NGVd8A\nWkjmbehIAZlQZgq54NieDIBEP6Z4jkKcETIj6rDp2FyY2Rq3xoaf4SiCuB73\n9C0/5GmsZXz4C550V/e1J7PUBaLgX0W9wmPMmtE1o5GscwHj9n/z86izWfam\nsg0ol5xZIg/le+H7UfawF9n4ktrIF+YaDClWOJrMj9oK+YjKCsizz6u0LN89\nMNFqvIjiXYHWQZ0hm2pLwbYoyuTmttPRakwlJZRAWnsGBy/7h3hUIGA7Ujxc\nc/hxi8bVMIdVPAf3ugl6BygLPPVv7weekC/j1vwtrEs20cLuIKrMTxb7Tsm8\nWKVSGYjzA0iSA1UpYd5hx5YkdlpVCaf+5gBJcjUyhjDfe5PkvO/Yo4Cuv05e\nFCn1\r\n=+aOf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGkAXuN9YazhSfAxVxCofV2eNMBLJsED2BEDPanbe8tbAiEAmCQwjJdKkCRJHZU1IBVHtXD//3ICltnsu4900N/gkCE="}]},"maintainers":[{"name":"gajus","email":"gajus@gajus.com"}],"_npmUser":{"name":"gajus","email":"gajus@gajus.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/format-graphql_1.2.0_1572357343850_0.6430128903833912"},"_hasShrinkwrap":false},"1.1.0":{"author":{"name":"Gajus Kuizinas","email":"gajus@gajus.com","url":"http://gajus.com"},"ava":{"files":["test/**/*"],"helpers":["test/helpers/**/*"],"require":["@babel/register"],"sources":["src/**/*"]},"bin":{"format-graphql":"./dist/bin/index.js"},"dependencies":{"graphql":"^14.5.8","map-obj":"^4.1.0","yargs":"^14.2.0"},"description":"Formarts GraphQL schema definition language (SDL) document.","devDependencies":{"@babel/cli":"^7.6.4","@babel/core":"^7.6.4","@babel/node":"^7.6.3","@babel/plugin-transform-flow-strip-types":"^7.6.3","@babel/preset-env":"^7.6.3","@babel/register":"^7.6.2","ava":"^2.4.0","babel-plugin-istanbul":"^5.2.0","babel-plugin-transform-export-default-name":"^2.0.4","coveralls":"^3.0.7","eslint":"^6.5.1","eslint-config-canonical":"^17.7.0","flow-bin":"^0.109.0","flow-copy-source":"^2.0.8","husky":"^3.0.9","nyc":"^14.1.1","semantic-release":"^15.13.27"},"engines":{"node":">=10.0"},"husky":{"hooks":{"pre-commit":"npm run lint && npm run test && npm run build"}},"keywords":["graphql","schema","sdl","sort","lint","format"],"main":"./dist/index.js","name":"format-graphql","nyc":{"include":["src/**/*.js"],"instrument":false,"reporter":["text-lcov"],"require":["@babel/register"],"sourceMap":false},"repository":{"type":"git","url":"git+ssh://git@github.com/gajus/format-graphql.git"},"scripts":{"build":"rm -fr ./dist && NODE_ENV=production babel ./src --out-dir ./dist --copy-files --source-maps && flow-copy-source src dist","dev":"NODE_ENV=production babel ./src --out-dir ./dist --copy-files --source-maps --watch","lint":"eslint ./src ./test && flow","test":"NODE_ENV=test ava --serial --verbose"},"version":"1.1.0","gitHead":"dd239625891f71cbad175067a9d589d7df0a43e5","bugs":{"url":"https://github.com/gajus/format-graphql/issues"},"homepage":"https://github.com/gajus/format-graphql#readme","_id":"format-graphql@1.1.0","_nodeVersion":"13.0.1","_npmVersion":"6.12.0","dist":{"integrity":"sha512-ZKEQM1PDyd9xppyLDIqKR0rgBoNUMbcnl5Jw6pYlpWLvz9+gJR8h68gnojLAYmgf1n358UJhUuB3eZ5w7VAE6w==","shasum":"0dc7f3f9cfcceb96c242f6cbbf22d8d2ce959fc8","tarball":"https://registry.npmjs.org/format-graphql/-/format-graphql-1.1.0.tgz","fileCount":12,"unpackedSize":13283,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJduEX5CRA9TVsSAnZWagAA8xQP/3vHEvxWiJQuy4rDRR99\nNiweFSfMo+/Wz5TmypQr4E/tOoQ8FPgKgfDcobb3GKSr1taljvIb7nAjje99\n+VbLFbxVLkf5IrCxr2a3lQ/9C+y3l3RnG7c1aXI+9IzeMQzfqH4P69NpmE80\nXI2kIoXFDR8YyBvTEa6PdjfSRrB4NDxPrCV9AkwjldsgQmFndYDzhwsc3Izd\nY9cqJLEdbEhczC0dusL5v/N93hvgotSw07A6CJdk5NWu4ZEv9Fkl1Nurz6I8\noVtHq6tr5tCp5QO13vCzfGJ7CY4rN9n2bspWQrYxK44VaVAVVo8QoO7xH6bK\nBDVDbQZhpLgUFznnDDJ+t5FvFBxyxm307JIH3WMGnqYY4biyv9v185FVZlAB\nIRkruNUP+3aRBKrhwgwvA6H6CGv+PBvIMCIgC4xHdsvyFPgol4vzT0/3jJwU\nzK7cahSB+yhpxPhAQ7vOUp387KLUd1zZjAIzX31U3u5SGV5S+Bb5Dcw1UIY9\nouiixaqzXeLphtgxs/q94AWzb0jTQ78F31Frx3I9PFFD2RrxKcVXztkjXern\n7c+RDtabUeEaFkD8IUunsHp99/38Jg98zMP2eK67JFyj5AAzFJZcwW7zBSih\naYRA23eAnzU3e/741YqXmvc1A7r+EpDCkrCJiBowIKh/xvnUZFWHl48wKhUa\nOE8l\r\n=pqpE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDAOTs1r5dDL8jioZmh3pQcOs2rQ6hv+pBna0PQLQ20kAiEA+YtK1vM3i/NbGvNZ8EwxNhAd/YFf64pTrFiUJi0Adco="}]},"maintainers":[{"name":"gajus","email":"gajus@gajus.com"}],"_npmUser":{"name":"gajus","email":"gajus@gajus.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/format-graphql_1.1.0_1572357625081_0.5504057820826311"},"_hasShrinkwrap":false},"1.1.1":{"author":{"name":"Gajus Kuizinas","email":"gajus@gajus.com","url":"http://gajus.com"},"ava":{"files":["test/**/*"],"helpers":["test/helpers/**/*"],"require":["@babel/register"],"sources":["src/**/*"]},"bin":{"format-graphql":"./dist/bin/index.js"},"dependencies":{"graphql":"^14.5.8","map-obj":"^4.1.0","yargs":"^14.2.0"},"description":"Formarts GraphQL schema definition language (SDL) document.","devDependencies":{"@babel/cli":"^7.6.4","@babel/core":"^7.6.4","@babel/node":"^7.6.3","@babel/plugin-transform-flow-strip-types":"^7.6.3","@babel/preset-env":"^7.6.3","@babel/register":"^7.6.2","ava":"^2.4.0","babel-plugin-istanbul":"^5.2.0","babel-plugin-transform-export-default-name":"^2.0.4","coveralls":"^3.0.7","eslint":"^6.5.1","eslint-config-canonical":"^17.7.0","flow-bin":"^0.109.0","flow-copy-source":"^2.0.8","husky":"^3.0.9","nyc":"^14.1.1","semantic-release":"^15.13.27"},"engines":{"node":">=10.0"},"husky":{"hooks":{"pre-commit":"npm run lint && npm run test && npm run build"}},"keywords":["graphql","schema","sdl","sort","lint","format"],"main":"./dist/index.js","name":"format-graphql","nyc":{"include":["src/**/*.js"],"instrument":false,"reporter":["text-lcov"],"require":["@babel/register"],"sourceMap":false},"repository":{"type":"git","url":"git+ssh://git@github.com/gajus/format-graphql.git"},"scripts":{"build":"rm -fr ./dist && NODE_ENV=production babel ./src --out-dir ./dist --copy-files --source-maps && flow-copy-source src dist","dev":"NODE_ENV=production babel ./src --out-dir ./dist --copy-files --source-maps --watch","lint":"eslint ./src ./test && flow","test":"NODE_ENV=test ava --serial --verbose"},"version":"1.1.1","gitHead":"4612db50316c09bdfc62549608e6a0bc28e9bed1","bugs":{"url":"https://github.com/gajus/format-graphql/issues"},"homepage":"https://github.com/gajus/format-graphql#readme","_id":"format-graphql@1.1.1","_nodeVersion":"13.0.1","_npmVersion":"6.12.0","dist":{"integrity":"sha512-l0ikzvEX6LNb85GFmOcg5ZAiyiMqUfVGj8mDTFkqtCp3s0lAnRQfGBp9Sv6rpxpvcOFqG3IrdVtNoR59QyvFBg==","shasum":"f241f858fbe9fd26a25ccce4407db9af8e94be08","tarball":"https://registry.npmjs.org/format-graphql/-/format-graphql-1.1.1.tgz","fileCount":12,"unpackedSize":13283,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJduFOgCRA9TVsSAnZWagAAo5YP/1H0RYS6gp9lRVmal/Bx\nro66Np4z1/wf1/7UaPl5TvAxKkTBQZty0LnWitQ4Sp1aefUbqKHgpUlXHXhO\nBZAlhMNjrGJnWxV3x1beYWLahBI9XXclpltzDQ8giGmGiHQquNtCZhIvJ8SA\nhPzXG6HRBpEn8THsPkwvrmRCqRkM1UKHwii+6cPrG08UjY/iXrq78GM/HgVe\nys6kyboWJZPVRoAZufMUM78SwtvUpF6a+duAwEwTozHdDo53keVT3PDhsDiY\nDTxNiwfiLzJBaBhCR052dcGh3M1vWacozeOuJS3a17JiYwYS1lPFZzYQWVX+\nTOAaGUSp5XggBa/eY8KuYePobujNrTYaMGuUKiAJO/SHeRb9qZuzRljNkGP4\nPDKZdv0fKeX7YXR2V8Q5BtnfeiUWYM7t9PkGUgKRVsdAdl+XTvb9imYJmKYz\nhJW/Z/sL/iRCj2s69KgpBqv63ZhVPoDk8MVso8Yo96VmtEO84I3aMTTIHPVz\ncIlujZ+gWCRgt1PzDxa4hsrCxkKCZdY4p6qwX7O8Woswozkl4lXHPqJ82+39\nP332BlxgNrjvRFjBdcI+9NT2ktEnoRkeu4ETeORr1javRXvfSq81J48ucIzo\nMdYhrXa33NDaw+Cma8AXY5HTKeOg3hp6jN3FivULvMPZfO2lw7cl5AyjolBj\neGjC\r\n=inLz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD5nFIMumGsA+ROy7dCetekiP+FKyDBgW9QHE7gemXigwIgecnpecYN5IjYuRu+ZGCf24pYa6Ydw6pGCj/Eb3o/q5E="}]},"maintainers":[{"name":"gajus","email":"gajus@gajus.com"}],"_npmUser":{"name":"gajus","email":"gajus@gajus.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/format-graphql_1.1.1_1572361119575_0.2548215517344685"},"_hasShrinkwrap":false},"1.3.0":{"author":{"name":"Gajus Kuizinas","email":"gajus@gajus.com","url":"http://gajus.com"},"ava":{"files":["test/**/*"],"helpers":["test/helpers/**/*"],"require":["@babel/register"],"sources":["src/**/*"]},"bin":{"format-graphql":"./dist/bin/index.js"},"dependencies":{"graphql":"^14.5.8","map-obj":"^4.1.0","yargs":"^14.2.0"},"description":"Formarts GraphQL schema definition language (SDL) document.","devDependencies":{"@babel/cli":"^7.6.4","@babel/core":"^7.6.4","@babel/node":"^7.6.3","@babel/plugin-transform-flow-strip-types":"^7.6.3","@babel/preset-env":"^7.6.3","@babel/register":"^7.6.2","ava":"^2.4.0","babel-plugin-istanbul":"^5.2.0","babel-plugin-transform-export-default-name":"^2.0.4","coveralls":"^3.0.7","eslint":"^6.5.1","eslint-config-canonical":"^17.7.0","flow-bin":"^0.109.0","flow-copy-source":"^2.0.8","husky":"^3.0.9","nyc":"^14.1.1","semantic-release":"^15.13.27"},"engines":{"node":">=10.0"},"husky":{"hooks":{"pre-commit":"npm run lint && npm run test && npm run build"}},"keywords":["graphql","schema","sdl","sort","lint","format"],"main":"./dist/index.js","name":"format-graphql","nyc":{"include":["src/**/*.js"],"instrument":false,"reporter":["text-lcov"],"require":["@babel/register"],"sourceMap":false},"repository":{"type":"git","url":"git+ssh://git@github.com/gajus/format-graphql.git"},"scripts":{"build":"rm -fr ./dist && NODE_ENV=production babel ./src --out-dir ./dist --copy-files --source-maps && flow-copy-source src dist","dev":"NODE_ENV=production babel ./src --out-dir ./dist --copy-files --source-maps --watch","lint":"eslint ./src ./test && flow","test":"NODE_ENV=test ava --serial --verbose"},"version":"1.3.0","gitHead":"13ae27ad6fdd1d410fbf0dfa71e2593036b5c68b","bugs":{"url":"https://github.com/gajus/format-graphql/issues"},"homepage":"https://github.com/gajus/format-graphql#readme","_id":"format-graphql@1.3.0","_nodeVersion":"13.0.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-qrk0AUEHRPhSZ+9YOOTkoesahtCiTkf4AWt45kaynyctUAao4OUrXI6BYOK7dwYW231ORc6UCtYkEpnWNqBT7Q==","shasum":"b6629ac7214ae77b5dc7bd0a046600f014c17df2","tarball":"https://registry.npmjs.org/format-graphql/-/format-graphql-1.3.0.tgz","fileCount":12,"unpackedSize":13561,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJduF+pCRA9TVsSAnZWagAAEYkP/3tU4psnkxmkbWbDtYh1\n6Qfyl2a5o1mGdWPMHBe5YVrT67IfuCi7qiSm/0rujuEPiR9Bz9ph1BDAuJ4D\n4SmKEjCThz11GEo/H5e7YM0J2YanipDcrdMTdq/HQBF8V/cgMRKXOiq+cBKc\nwywc/mApOUSqY/kp624rKHwpanbKAMB1aW4q0sl1lX67tuMBFOcUQNzMQjbZ\nDWtcCg/zlP4WpSVDP6srEGrwZHKNOn/n+jWOiyJrTvwOSEojocTfP4uuz+Ei\nZHLy2aDAkldDPvMGNBCIx5n0TjiDTlxyRY54BGWrmwfW/RdrpWf6YPq5uexp\nXwmqxAGv9Jf/W9D8FESwszoDwstKtBQRvRFafdRxF9BnK5yY2TbFZWtvYBEr\nLTOXq1lvQaUXdu80mMkiAO4jF+42uZ8mfGJvM/uqPT0f9EyN9lTu1UNFcXBC\nopitBU0PFsvOj+fT1+VMxHAQofN6rgTHdYvP3jhthwZ7cYf/0Wnuj9FtAfMK\n6VOiAlH7pRrvGhY7KDizT0YA4gGYAh2ovJVU3zlCQ2qUb5ikHnA292t5AeqQ\nADQFH8z7xO4Full3phwSd5e8hCwf16tiQxaX/d9olCAvOjZhIpv7L7CHUaRi\nluJgnHB2XuAMd1H1qsdIbm1J74WYkUGNcu8TqId9f0biso117+R6mD8as8/V\nfGgH\r\n=PCqC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFDeKLLIdBYaDA277ZbT9ubmzLI8amrxJtDY4/ENF7XoAiAs8RtEebeg1kBijFGsmcr7LzJdr11PTRPh/KQF5VMtug=="}]},"maintainers":[{"name":"gajus","email":"gajus@gajus.com"}],"_npmUser":{"name":"gajus","email":"gajus@gajus.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/format-graphql_1.3.0_1572364201350_0.804570643249517"},"_hasShrinkwrap":false},"1.3.1":{"author":{"name":"Gajus Kuizinas","email":"gajus@gajus.com","url":"http://gajus.com"},"ava":{"babel":{"compileAsTests":["test/helpers/**/*"]},"files":["test/format-graphql/**/*"],"require":["@babel/register"]},"bin":{"format-graphql":"dist/bin/index.js"},"dependencies":{"graphql":"^15.1.0","map-obj":"^4.1.0","yargs":"^15.3.1"},"description":"Formats GraphQL schema definition language (SDL) document.","devDependencies":{"@ava/babel":"^1.0.1","@babel/cli":"^7.10.1","@babel/core":"^7.10.2","@babel/node":"^7.10.1","@babel/plugin-transform-flow-strip-types":"^7.10.1","@babel/preset-env":"^7.10.2","@babel/register":"^7.10.1","ava":"^3.9.0","babel-plugin-istanbul":"^6.0.0","babel-plugin-transform-export-default-name":"^2.0.4","coveralls":"^3.1.0","eslint":"^7.2.0","eslint-config-canonical":"^20.0.6","flow-bin":"^0.127.0","flow-copy-source":"^2.0.9","husky":"^4.2.5","nyc":"^15.1.0","semantic-release":"^17.0.8"},"engines":{"node":">=10.0"},"husky":{"hooks":{"pre-commit":"npm run lint && npm run test && npm run build"}},"keywords":["graphql","schema","sdl","sort","lint","format"],"main":"./dist/index.js","name":"format-graphql","nyc":{"include":["src/**/*.js"],"instrument":false,"reporter":["text-lcov"],"require":["@babel/register"],"sourceMap":false},"repository":{"type":"git","url":"git+ssh://git@github.com/gajus/format-graphql.git"},"scripts":{"build":"rm -fr ./dist && NODE_ENV=production babel ./src --out-dir ./dist --copy-files --source-maps && flow-copy-source src dist","dev":"NODE_ENV=production babel ./src --out-dir ./dist --copy-files --source-maps --watch","lint":"eslint ./src ./test && flow","test":"NODE_ENV=test ava --serial --verbose"},"version":"1.3.1","gitHead":"0f08ce36dcf3ce2567055f6fccc6326efea16bcf","bugs":{"url":"https://github.com/gajus/format-graphql/issues"},"homepage":"https://github.com/gajus/format-graphql#readme","_id":"format-graphql@1.3.1","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-qglrl0xZfIevC4CqK9bio2jr0i/cUZmCFLb4h1v/75yKxZV+/XQN1Xjh/U0R5sVy75NGgJraJPx3BItThrGbog==","shasum":"f1008355074db39c09dd3f38ee500171b2d369c9","tarball":"https://registry.npmjs.org/format-graphql/-/format-graphql-1.3.1.tgz","fileCount":15,"unpackedSize":22726,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe55QuCRA9TVsSAnZWagAACjIP/0GBV+ZZ0GXM01rCBQRh\nzCz5/BCJagiv6E+LJuxCqayGvtbsRIQZ2jfwF5Ylkuum564HY4LCHJUUhMCr\n4kDHq6gtImvsfi/fR4Hv3FrYa3bMF+wwc6bKFedqDuaoiYTliAHTkQCfxxzU\nSMIK0+9NUMb7jpfz1A3RFP+/o0ZVKQZoaZZPAOyjOY84dvcnTUoRnq9VZjj9\nWT035BjNVsdHlV4Cylv/OfUWS9Quo0eXu8rhNi7pKniwQxpiiBs4a/HiUOgM\n1fpSf2YIzoNGxdHGiU1JRLmO3N3I9W/3T8upd+C7sSdB+iJUTO5R3GoNKx7T\naIzy2Vi0FECCrltDKcsikmQQ3/DBUUdKR7V6ym8w73WhafIqpz3+kokVWDZ6\nHZYZEpolyJ9dcYZTjqU8MYxUNowQh/RlJ3AuqIJeKxvyRI3f99m+Tw8SS0hH\n6qerg0e2SIMzUqo5HIA7nLGU3oNJE08t5D5P9GrfHQh4CYuFsG46aIJLfeZt\nSFgTWpAzg2JJQmHfNt63MHDER+woUNinFCdqxw+GfGXuHtX+rAG+LLpFlDrc\nUzhHgmWuMu0CIrARyp1BgNhtdr5LZMlxnQ/saqKnm8YpHNSIfqx0yprDiqMx\nygwEcmW4tOtx4fA0sETJJcUQVGpaK8tkXX2GzOoDDJRgWYjl8I1JSczSgFjq\nnAuc\r\n=4EoR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGANz9zTl3dFlKxEyUlsEjasP4ux5yqBUdCf27p+j9IrAiEAgryI2Dnpmf1nEDBjSQsfie5evfg+skoWkowNynDE+Zo="}]},"maintainers":[{"name":"gajus","email":"gajus@gajus.com"}],"_npmUser":{"name":"gajus","email":"gajus@gajus.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/format-graphql_1.3.1_1592235053884_0.7987786465218727"},"_hasShrinkwrap":false},"1.3.2":{"author":{"name":"Gajus Kuizinas","email":"gajus@gajus.com","url":"http://gajus.com"},"ava":{"babel":{"compileAsTests":["test/helpers/**/*"]},"files":["test/format-graphql/**/*"],"require":["@babel/register"]},"bin":{"format-graphql":"dist/bin/index.js"},"dependencies":{"graphql":"^15.1.0","yargs":"^15.3.1"},"description":"Formats GraphQL schema definition language (SDL) document.","devDependencies":{"@ava/babel":"^1.0.1","@babel/cli":"^7.10.1","@babel/core":"^7.10.2","@babel/node":"^7.10.1","@babel/plugin-transform-flow-strip-types":"^7.10.1","@babel/preset-env":"^7.10.2","@babel/register":"^7.10.1","ava":"^3.9.0","babel-plugin-istanbul":"^6.0.0","babel-plugin-transform-export-default-name":"^2.0.4","coveralls":"^3.1.0","eslint":"^7.2.0","eslint-config-canonical":"^20.0.6","flow-bin":"^0.127.0","flow-copy-source":"^2.0.9","husky":"^4.2.5","nyc":"^15.1.0","semantic-release":"^17.0.8"},"engines":{"node":">=10.0"},"husky":{"hooks":{"pre-commit":"npm run lint && npm run test && npm run build"}},"keywords":["graphql","schema","sdl","sort","lint","format"],"main":"./dist/index.js","name":"format-graphql","nyc":{"include":["src/**/*.js"],"instrument":false,"reporter":["text-lcov"],"require":["@babel/register"],"sourceMap":false},"repository":{"type":"git","url":"git+ssh://git@github.com/gajus/format-graphql.git"},"scripts":{"build":"rm -fr ./dist && NODE_ENV=production babel ./src --out-dir ./dist --copy-files --source-maps && flow-copy-source src dist","dev":"NODE_ENV=production babel ./src --out-dir ./dist --copy-files --source-maps --watch","lint":"eslint ./src ./test && flow","test":"NODE_ENV=test ava --serial --verbose"},"version":"1.3.2","gitHead":"834b908c58d192fd976c2dbdd3f3c6032bb3065f","bugs":{"url":"https://github.com/gajus/format-graphql/issues"},"homepage":"https://github.com/gajus/format-graphql#readme","_id":"format-graphql@1.3.2","_nodeVersion":"14.6.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-Jie3mjQXpeBQfk+1LdlRWLaGygwI869qMwAzzJO8soPFdJNwNPB3JQsRwcKh113I1AQU3LA0AVPmWkNfdr+JUw==","shasum":"6fa2d97c85247042c0df688ff7e8e852bc6055ac","tarball":"https://registry.npmjs.org/format-graphql/-/format-graphql-1.3.2.tgz","fileCount":15,"unpackedSize":25333,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfGgKTCRA9TVsSAnZWagAAtDAP/Rfn9GE/1SQmUr6RdBSZ\naLiPR+HdeRQFTfy/STEe15RmHIrhskzcMFXUsx3WzM4E4DjikbgyJ52B8H7x\nZhgjMqZrVj19wEX7M0mKFnX5+s8Q/dg8Di9NtISZL1aRS5Qxf9SN9ah/5inW\ncD3SGCIVztTZlX+sSoNzCNb77VuMg9s5LMYQ6LvyvKAASfsYE9qBnzEorhOC\n7poBgH4AE6jQdAyiX9maKkIE4fSqfuki/PNSRoLzZDWh1eCnkmDh4j1nhJT2\nSwrb+bC/zBSi0WHl/bi0ukSnzLCU5WvTZS2WXfwthx/cV/6IAmSc88kaT30/\nmki8fzHkTFzMeRvyI7foLy97ZVIIoyJJgbHeG7YNu+xq+26ZPCFhPr9Bh9HY\nlXDWF6ICHjllLJGRagkYQpH83Bk5mgqfWfvZAoirjqxfvJZNmlZug7CKVfCM\n9iaLFanf2AdjXEoGuknOtPXyPaKA/wZCmU/YUs0mxvG6IiU1ay1bM37wUodM\njSwEzZ/eLpR156hT9sWmACmJ2/+/PAW/bamknXJSNBeH/5OxXBTybgXu/Go9\ndiZ++nGkkJdIyUQuP4BOAIkuPzH1Qo3QCp+pRrdNOWU8o1C/eKEFxBD0O5D8\nzVhcOytZZsdBLf8OtO4Xw1Te/6LzJqiXT43unf9WU6xYq683pm042TY0YOa6\no4N6\r\n=QlJM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD6cfNaEMfoNItlDssDJeOSLFMeL9TwkFDY+qmV1wYa5AIgdXmXDfa7rBBF20iMV5I71iDYwzKzl6th4eigWWyBsMg="}]},"maintainers":[{"name":"gajus","email":"gajus@gajus.com"}],"_npmUser":{"name":"gajus","email":"gajus@gajus.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/format-graphql_1.3.2_1595540114997_0.7700680478824029"},"_hasShrinkwrap":false},"1.4.0":{"author":{"name":"Gajus Kuizinas","email":"gajus@gajus.com","url":"http://gajus.com"},"ava":{"babel":{"compileAsTests":["test/helpers/**/*"]},"files":["test/format-graphql/**/*"],"require":["@babel/register"]},"bin":{"format-graphql":"dist/bin/index.js"},"dependencies":{"graphql":"^15.1.0","yargs":"^15.3.1"},"description":"Formats GraphQL schema definition language (SDL) document.","devDependencies":{"@ava/babel":"^1.0.1","@babel/cli":"^7.10.1","@babel/core":"^7.10.2","@babel/node":"^7.10.1","@babel/plugin-transform-flow-strip-types":"^7.10.1","@babel/preset-env":"^7.10.2","@babel/register":"^7.10.1","ava":"^3.9.0","babel-plugin-istanbul":"^6.0.0","babel-plugin-transform-export-default-name":"^2.0.4","coveralls":"^3.1.0","eslint":"^7.2.0","eslint-config-canonical":"^20.0.6","flow-bin":"^0.127.0","flow-copy-source":"^2.0.9","husky":"^4.2.5","nyc":"^15.1.0","semantic-release":"^17.0.8"},"engines":{"node":">=10.0"},"husky":{"hooks":{"pre-commit":"npm run lint && npm run test && npm run build"}},"keywords":["graphql","schema","sdl","sort","lint","format"],"main":"./dist/index.js","name":"format-graphql","nyc":{"include":["src/**/*.js"],"instrument":false,"reporter":["text-lcov"],"require":["@babel/register"],"sourceMap":false},"repository":{"type":"git","url":"git+ssh://git@github.com/gajus/format-graphql.git"},"scripts":{"build":"rm -fr ./dist && NODE_ENV=production babel ./src --out-dir ./dist --copy-files --source-maps && flow-copy-source src dist","dev":"NODE_ENV=production babel ./src --out-dir ./dist --copy-files --source-maps --watch","lint":"eslint ./src ./test && flow","test":"NODE_ENV=test ava --serial --verbose"},"version":"1.4.0","gitHead":"b6cc3527d9bd93c94b9dacc8514d219b1a61fcb5","bugs":{"url":"https://github.com/gajus/format-graphql/issues"},"homepage":"https://github.com/gajus/format-graphql#readme","_id":"format-graphql@1.4.0","_nodeVersion":"14.6.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-RyhM4rJAqgJ2nb9X7VzCPt+LuhPDjd2W4JtAsSWFzKd4RReVARE00SILdSgA8eDSby8jB3LclhKPFQF7YTQxfg==","shasum":"c5426a9c17216bfb93610b6ae30e7c7db84626d5","tarball":"https://registry.npmjs.org/format-graphql/-/format-graphql-1.4.0.tgz","fileCount":18,"unpackedSize":26291,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfHGg4CRA9TVsSAnZWagAAvS8P/i5W4qW/YnbgE4zGagGt\nDMvPINZ73NJ88FUUI2KOAb+Or1DGfGkJ/Chp/7UzB0IqTr7IwENR0oAlDk9e\nEvtHDR9xEKLpXLsM/RiMqeZUYgaiAgpGASl6hy0tdxtlnpgYZ11o73z3KH41\naiotLB8RgAOjc4LTEyjPCGenRvmoMaFy3qRqoewIQ8UtTyPQusKYOEFV26Jz\n6gnL8RVUx4YZlfRspYi2e0NUHliFl9G5TeZiyVbQFp9mgouk0wKc2SRmomWp\nHkbNXkcXX5w7wFe76Q4W1KUf/LK5KcTFBiOB9mEruNeGLh6a8NS1y/jeVGXz\nxQBCwL2wmNqErxTIXnVeh2M+SEm0WuSMUecfkCIUVDj1zjJzGTqnQjEoe8IQ\nIG2TEITxUqQ3iqpckmcAfmwIXIwXVij6hlWiwOBEcI6ZTcikUy+37Z8pz4UZ\n4vmUZXD4vyD1HM0vDK2px2NafQizKJZoUscTMjWLzSCGdWMAU2tNsY04WD/f\nwHaajd/wYTxkbkjockadkLf8lTLnUangSv39IaHU24uu8z2g3Ffa988S2ZuC\nPwWFR6w2xf8wuOBa0U+B8r6BwIyxPieNetXzFmgYDXj7HAu+1sPYhPTHu/Db\nsOF5o/oaTeEV6TY3Bsp1IiR4XLV0EjpCO16+/Lk4K3HdqE3TQr6yB1eK2EXt\n0xAj\r\n=iQTy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHgPU1whhd8Q4qI6Btwf+fnAIaeKsx5KMeRNyLGgcda1AiEAw9eU8QngZ/lRaMwGb9W6myXZXyVmmOzKEbOgU1+v6Ys="}]},"maintainers":[{"name":"gajus","email":"gajus@gajus.com"}],"_npmUser":{"name":"gajus","email":"gajus@gajus.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/format-graphql_1.4.0_1595697208456_0.6555301421249611"},"_hasShrinkwrap":false},"1.5.0":{"author":{"name":"Gajus Kuizinas","email":"gajus@gajus.com","url":"http://gajus.com"},"ava":{"babel":{"compileAsTests":["test/helpers/**/*"]},"files":["test/format-graphql/**/*"],"require":["@babel/register"]},"bin":{"format-graphql":"dist/bin/index.js"},"dependencies":{"graphql":"^15.1.0","yargs":"^15.3.1"},"description":"Formats GraphQL schema definition language (SDL) document.","devDependencies":{"@ava/babel":"^1.0.1","@babel/cli":"^7.10.1","@babel/core":"^7.10.2","@babel/node":"^7.10.1","@babel/plugin-transform-flow-strip-types":"^7.10.1","@babel/preset-env":"^7.10.2","@babel/register":"^7.10.1","ava":"^3.9.0","babel-plugin-istanbul":"^6.0.0","babel-plugin-transform-export-default-name":"^2.0.4","coveralls":"^3.1.0","eslint":"^7.2.0","eslint-config-canonical":"^20.0.6","flow-bin":"^0.127.0","flow-copy-source":"^2.0.9","husky":"^4.2.5","nyc":"^15.1.0","semantic-release":"^17.0.8"},"engines":{"node":">=10.0"},"keywords":["graphql","schema","sdl","sort","lint","format"],"main":"./dist/index.js","name":"format-graphql","nyc":{"include":["src/**/*.js"],"instrument":false,"reporter":["text-lcov"],"require":["@babel/register"],"sourceMap":false},"repository":{"type":"git","url":"git+ssh://git@github.com/gajus/format-graphql.git"},"scripts":{"build":"rm -fr ./dist && NODE_ENV=production babel ./src --out-dir ./dist --copy-files --source-maps && flow-copy-source src dist","dev":"NODE_ENV=production babel ./src --out-dir ./dist --copy-files --source-maps --watch","lint":"eslint ./src ./test && flow","test":"NODE_ENV=test ava --serial --verbose"},"version":"1.5.0","_id":"format-graphql@1.5.0","gitHead":"ac60b744cc12198e702d3dee0e031ff2c07964c5","bugs":{"url":"https://github.com/gajus/format-graphql/issues"},"homepage":"https://github.com/gajus/format-graphql#readme","_nodeVersion":"21.6.0","_npmVersion":"10.2.4","dist":{"integrity":"sha512-ZZWcjwJ1IMdnW9l3CeYccC/J7skqOB18tY3autO5OUQuGVZpQu6Es3SThRm25SfiMeZO1+UbzIqnGbjAURu/UA==","shasum":"4dc5b7af908ae052d3cf5ea8b70cdb29c83cf880","tarball":"https://registry.npmjs.org/format-graphql/-/format-graphql-1.5.0.tgz","fileCount":18,"unpackedSize":29154,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCSlSZZxov6epoUyyQ4LEheU3nIP8CzoHpTIWtMn7MduQIhAO0RDBTCU1a8ABuu0uS7lt8KuDDVM2f2zTmUKskBJMDB"}]},"_npmUser":{"name":"gajus","email":"gajus@gajus.com"},"directories":{},"maintainers":[{"name":"gajus","email":"gajus@gajus.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/format-graphql_1.5.0_1709226720470_0.9044639150991591"},"_hasShrinkwrap":false}},"time":{"created":"2019-10-29T13:55:43.849Z","1.2.0":"2019-10-29T13:55:44.014Z","modified":"2024-02-29T17:12:01.015Z","1.1.0":"2019-10-29T14:00:25.197Z","1.1.1":"2019-10-29T14:58:39.675Z","1.3.0":"2019-10-29T15:50:01.563Z","1.3.1":"2020-06-15T15:30:54.001Z","1.3.2":"2020-07-23T21:35:15.128Z","1.4.0":"2020-07-25T17:13:28.676Z","1.5.0":"2024-02-29T17:12:00.605Z"},"maintainers":[{"name":"gajus","email":"gajus@gajus.com"}],"description":"Formats GraphQL schema definition language (SDL) document.","homepage":"https://github.com/gajus/format-graphql#readme","keywords":["graphql","schema","sdl","sort","lint","format"],"repository":{"type":"git","url":"git+ssh://git@github.com/gajus/format-graphql.git"},"author":{"name":"Gajus Kuizinas","email":"gajus@gajus.com","url":"http://gajus.com"},"bugs":{"url":"https://github.com/gajus/format-graphql/issues"},"readme":"# format-graphql\n\n[![GitSpo Mentions](https://gitspo.com/badges/mentions/gajus/format-graphql?style=flat-square)](https://gitspo.com/mentions/gajus/format-graphql)\n[![Travis build status](http://img.shields.io/travis/gajus/format-graphql/master.svg?style=flat-square)](https://travis-ci.org/gajus/format-graphql)\n[![Coveralls](https://img.shields.io/coveralls/gajus/format-graphql.svg?style=flat-square)](https://coveralls.io/github/gajus/format-graphql)\n[![NPM version](http://img.shields.io/npm/v/format-graphql.svg?style=flat-square)](https://www.npmjs.org/package/format-graphql)\n[![Canonical Code Style](https://img.shields.io/badge/code%20style-canonical-blue.svg?style=flat-square)](https://github.com/gajus/canonical)\n[![Twitter Follow](https://img.shields.io/twitter/follow/kuizinas.svg?style=social&label=Follow)](https://twitter.com/kuizinas)\n\nFormats GraphQL schema definition language (SDL) document.\n\n---\n\n* [Motivation](#motivation)\n* [Behaviour](#behaviour)\n  * [Example](#example)\n* [Usage](#usage)\n  * [Command Line](#command-line)\n  * [Node API](#node-api)\n  * [Hooks](#hooks)\n\n## Motivation\n\nAs schema grows in size, it becomes desirable to automate schema organisation. The primary function of `format-graphql` is to sort definitions and fields in an alphabetical order, therefore enabling predictable discovery and grouping of related schema entities.\n\n## Behaviour\n\nAlphabetically sorts definitions, fields and arguments.\n\n### Example\n\nInput:\n\n```graphql\ntype Query {\n  bananas: [Banana!]!\n  apples: [Apple!]!\n}\n\ntype Apple {\n  name: String!\n  id: ID!\n}\n\ntype Banana {\n  name: String!\n  id: ID!\n}\n\n```\n\nOutput:\n\n```graphql\ntype Apple {\n  id: ID!\n  name: String!\n}\n\ntype Banana {\n  id: ID!\n  name: String!\n}\n\ntype Query {\n  apples: [Apple!]!\n  bananas: [Banana!]!\n}\n\n```\n\n## Usage\n\n### Command Line\n\n```bash\n$ format-graphql --help\nSort GraphQL schema definition language (SDL) document.\n\nPositionals:\n  sdl-path  Path to the GraphQL schema definition (SDL) document.       [string]\n\nOptions:\n  --version           Show version number                              [boolean]\n  --help              Show help                                        [boolean]\n  --sort-arguments    Sort on arguments                [boolean] [default: true]\n  --sort-definitions  Sort on definitions              [boolean] [default: true]\n  --sort-enums        Sort on enums                    [boolean] [default: true]\n  --sort-fields       Sort on fields                   [boolean] [default: true]\n  --write             Overrides contents of the SDL document.\n                                                      [boolean] [default: false]\n\n$ # Prints formatted schema.\n$ format-graphql ./schema.graphql\n$\n$ # Overrides target schema.\n$ format-graphql --write=true ./schema.graphql\n\n```\n\n### Node API\n\n`formatSdl(schema, options)`\n\nReturns a formatted GraphQL SDL String.\n\n#### Parameters\n\n- `schema`: string\n- `options` (optional): object:\n\n  ```\n  {\n    sortDefinitions?: boolean,\n    sortEnums?: boolean,\n    sortFields?: boolean,\n    sortArguments?: boolean,\n  }\n  ```\n\n#### Example\n\n```js\nimport {formatSdl} from 'format-graphql';\n\nformatGraphql('type Foo { bar: String }');\n```\n\n### Hooks\n\nI recommend using [husky](https://www.npmjs.com/package/husky) to setup a pre-commit hook that would format the schema, e.g.\n\n```json\n\"husky\": {\n  \"hooks\": {\n    \"pre-commit\": \"format-graphql --write true src/schema.graphql\"\n  }\n},\n\n```\n","readmeFilename":"README.md"}