# Install format-graphql with npm

Formats GraphQL schema definition language (SDL) document. Version 1.5.0 via npm; verified 2024-02-29.

## Install

```sh
sudo av install npm:format-graphql
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g format-graphql
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:format-graphql
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/format-graphql>
- **Version:** 1.5.0
- **Source summary:** Formats GraphQL schema definition language (SDL) document.
- **Homepage:** <https://github.com/gajus/format-graphql#readme>
- **Repository:** <https://github.com/gajus/format-graphql>
- **Upstream docs:** <https://github.com/gajus/format-graphql#readme>
- **Source archive:** <https://registry.npmjs.org/format-graphql/-/format-graphql-1.5.0.tgz>
- **Issue tracker:** <https://github.com/gajus/format-graphql/issues>
- **Published:** 2024-02-29T17:12:00.605Z
- **Last updated:** 2024-02-29T17:12:00.605Z
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- format-graphql (cli)
- format-graphql (alias)

## Dependencies

- graphql
- yargs

## Build dependencies

- @ava/babel
- @babel/cli
- @babel/core
- @babel/node
- @babel/plugin-transform-flow-strip-types
- @babel/preset-env
- @babel/register
- ava
- babel-plugin-istanbul
- babel-plugin-transform-export-default-name
- coveralls
- eslint
- eslint-config-canonical
- flow-bin
- flow-copy-source
- husky
- nyc
- semantic-release

## Install behavior

- Post-install hook: not defined
- Bottle: not available

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 1.5.0
- Package-manager updated: 2024-02-29
- Local data: ok
- Upstream repository: https://github.com/gajus/format-graphql
- warning: The package-manager record has not been updated in over a year.
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for format-graphql. Package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** Latest: 1.5.0
- **Version Count:** 8
- **Maintainers:** gajus
- **Author:** Gajus Kuizinas
- **Publisher:** gajus
- **Engines:** Node: >=10.0
- **Integrity:** sha512-ZZWcjwJ1IMdnW9l3CeYccC/J7skqOB18tY3autO5OUQuGVZpQu6Es3SThRm25SfiMeZO1+UbzIqnGbjAURu/UA==
- **Shasum:** 4dc5b7af908ae052d3cf5ea8b70cdb29c83cf880
- **Unpacked Size:** 29,154
- **File Count:** 0
- **Created At:** 2019-10-29T13:55:43.849Z
- **Latest Published At:** 2024-02-29T17:12:00.605Z
- **Modified At:** 2024-02-29T17:12:01.015Z


## Related links

- [Text processing packages](https://pkg.so/text-processing-tools/) - Matched curated package taxonomy and local package facts.
- [graphql-codegen](https://pkg.so/npm/graphql-codegen/) - Local package facts share a topical domain. Shared terms: cli, data, graphql, schema, yargs.
- [graphql-language-service-cli](https://pkg.so/npm/graphql-language-service-cli/) - Local package facts share a topical domain. Shared terms: cli, data, graphql, language, yargs.
- [get-graphql-schema](https://pkg.so/npm/get-graphql-schema/) - Local package facts share a topical domain. Shared terms: cli, data, graphql, schema.

## Sources

- pkg.so package database
- package-page enrichment
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
