Time
Plugin for time. This plugin is used to get the current time.
- Package
- @graphql-codegen/time
- Version
- 7.1.0
- Weekly downloads
- 5k
- License
- MIT
- Updated
- Jul 6, 2026
Installation
npm i -D @graphql-codegen/time
yarn add -D @graphql-codegen/time
pnpm add -D @graphql-codegen/time
bun add -D @graphql-codegen/time
Config API Reference
format
type: string
Customize the Moment format of the output time. Default value: “YYYY-MM-DDTHH:mm:ssZ”
message
type: string
Customize the comment message Default value: “‘Generated on’”