# graphql-tools-type-uuid

> UUID scalar type for graphql-tools

Latest version **2.0.1** (published 2018-11-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install graphql-tools-type-uuid
pnpm add graphql-tools-type-uuid
yarn add graphql-tools-type-uuid
bun add graphql-tools-type-uuid
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.1 |
| Published | 2018-11-19 |
| First published | 2018-01-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=8 |
| Dependencies | 1 |
| Unpacked size | 7.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | up9cloud |
| Maintainers | up9cloud |
| Keywords | graphql, graphql-tools, type, uuid, scalar |

## Links

- npm: https://www.npmjs.com/package/graphql-tools-type-uuid
- Repository: https://github.com/up9cloud/graphql-tools-type-uuid
- Homepage: https://github.com/up9cloud/graphql-tools-type-uuid#readme
- Issues: https://github.com/up9cloud/graphql-tools-type-uuid/issues
- npm.io page: https://npm.io/package/graphql-tools-type-uuid

## Dependencies (1)

- [is-uuid](https://npm.io/package/is-uuid.md) ^1.0.2

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 2.0.1 (latest) — 2018-11-19
- 2.0.0 — 2018-11-19
- 1.0.2 — 2018-01-26
- 1.0.1 — 2018-01-26
- 1.0.0 — 2018-01-26

## README

# graphql-tools-type-uuid

[![Build Status](https://travis-ci.org/up9cloud/graphql-tools-type-uuid.svg?branch=master)](https://travis-ci.org/up9cloud/graphql-tools-type-uuid)
[![Coverage Status](https://coveralls.io/repos/github/up9cloud/graphql-tools-type-uuid/badge.svg?branch=master)](https://coveralls.io/github/up9cloud/graphql-tools-type-uuid?branch=master)

UUID scalar type for [graphql-tools](https://github.com/apollographql/graphql-tools)

## Usage

```js
import { makeExecutableSchema } from 'graphql-tools'
import UUID from 'graphql-tools-type-uuid'

let typeDefs = [`
scalar UUID
type Query {
  value(uuid: UUID): UUID
}`
]
let resolvers = {
  UUID,
  Query: {
    value: (root, { uuid }) => uuid
  }
}
let schema = makeExecutableSchema({ typeDefs, resolvers })

export default schema
```

## Minimum amount of module files

```console
$ tree ./node_modules/graphql-tools-type-uuid
./node_modules/graphql-tools-type-uuid
├── README.md
├── dist
│   └── index.js
└── package.json

1 directory, 3 files
```

---
_Source: https://npm.io/package/graphql-tools-type-uuid · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
