# did-graphql-scalars

> DID GraphQL Scalars defines custom GraphQL scalars for DID.

Latest version **0.0.2** (published 2021-10-31) · ISC license · 0 weekly downloads

## Install

```sh
npm install did-graphql-scalars
pnpm add did-graphql-scalars
yarn add did-graphql-scalars
bun add did-graphql-scalars
```

## Health

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

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2021-10-31 |
| First published | 2021-10-31 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 5.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | takashimakatsuhiko |

## Links

- npm: https://www.npmjs.com/package/did-graphql-scalars
- Repository: https://github.com/takashimamorino/did-graphql-scalars
- Homepage: https://github.com/takashimamorino/did-graphql-scalars#readme
- Issues: https://github.com/takashimamorino/did-graphql-scalars/issues
- npm.io page: https://npm.io/package/did-graphql-scalars

## Recent versions

- 0.0.2 (latest) — 2021-10-31
- 0.0.1 — 2021-10-31

## README

# DID GraphQL Scalars
**[IMPORTANT!] The library has been merged into [GraphQL Scalars](https://github.com/Urigo/graphql-scalars). Please use [GraphQL Scalars](https://github.com/Urigo/graphql-scalars).**

DID GraphQL Scalars defines custom GraphQL scalars for DID.

This library is influenced by [GraphQL Scalars](https://github.com/Urigo/graphql-scalars) .
Thank you for the awesome library.

## Getting started

### 1. Installation

```shell
$ npm install --save-dev did-graphql-scalars
```

### 2. SDL type definitions

```graphql
scalar ScalarName
```

```typescript
import { typeDefs as didScalarsTypeDefs } from 'did-graphql-scalars';

const typeDefs = [
  ...didScalarsTypeDefs,
  // other typeDefs
];
```

### 3. Adding Resolvers

```typescript
import { resolvers as didScalarResolvers } from 'did-graphql-scalars';

const resolvers = [
  ...didScalarResolvers,
  // other resolvers
];
```

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