• Plugins
  • other
  • time
Package nameWeekly DownloadsVersionLicenseUpdated
@graphql-codegen/timeDownloadsVersionLicenseAug 8th, 2022

Installation

yarn add -D @graphql-codegen/time

Config API Reference

format

type: string default: YYYY-MM-DDTHH:mm:ssZ

Customize the Moment format of the output time.

Usage Examples

generates:
  path/to/file.ts:
    plugins:
      - time:
          format: DD.MM.YY
message

type: string default: 'Generated on'

Customize the comment message

Usage Examples

generates:
  path/to/file.ts:
    plugins:
      - time:
          message: 'The file generated on: '
Last updated on August 10, 2022