@parameter1/graphql-type-date

1.0.23 • Public • Published

GraphQL Date Type

A custom Date GraphQL scalar type.

Installation

yarn add @parameter1/graphql-type-date

Usage

Add the custom scalar to your resolvers.

// resolvers.js
const GraphQLDate = require('@parameter1/graphql-type-date');

module.exports = {
  Date: GraphQLDate,

  // your resovlers here...
};

And to your GraphQL type definitions.

scalar Date

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.231latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.231
1.0.220
1.0.210
1.0.200
1.0.190
1.0.180
1.0.170
1.0.160
1.0.150
1.0.140
1.0.130
1.0.120
1.0.110
1.0.100
1.0.90
1.0.81
1.0.70
1.0.60
1.0.50
1.0.40
1.0.30
1.0.20
1.0.10
1.0.00

Package Sidebar

Install

npm i @parameter1/graphql-type-date

Weekly Downloads

2

Version

1.0.23

License

MIT

Unpacked Size

3.88 kB

Total Files

5

Last publish

Collaborators

  • b77mills
  • brandonbk
  • zarathustra323
  • solocommand