@graphql-debugger/time
TypeScript icon, indicating that this package has built-in type declarations

0.0.0-alpha.109 • Public • Published

@graphql-debugger/time

npm version License: MIT

About

The collector /v1/traces endpoint receives the following Unix Nano timestamps:

  1. startTimeUnixNano - the time when the span started
  2. endTimeUnixNano - the time when the span ended

The @graphql-debugger/time package provides functions to, store, convert and calculate the difference and offset between these timestamps plus other date and time related functions.

The package comes bundeled with moment aswell as other Date and Number libraries. We should use this package when working with dates and times.

License

MIT - Rocket Connect - https://github.com/rocket-connect

Readme

Keywords

none

Package Sidebar

Install

npm i @graphql-debugger/time

Weekly Downloads

802

Version

0.0.0-alpha.109

License

MIT

Unpacked Size

22 kB

Total Files

18

Last publish

Collaborators

  • danstarns