Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@apigames/highres-timer

Package Overview
Dependencies
Maintainers
1
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@apigames/highres-timer

API Games High Resolution Timer

latest
Source
npmnpm
Version
25.1.0
Version published
Maintainers
1
Created
Source

API Games High Resolution Timer

Codacy Badge Codacy Badge

High resolution timer for the API Games Platform and SDKs.

This package provides a basic high resolution timer for the API Games Platform and SDKs. It allows a consumer to get a start time structure and then to query the elapsed time some time later. The elapsed time is returned in milliseconds.

List of features

  • Simple with only two functions
  • Works in Node and all browsers

Typescript Code Demo


  const startTime: HighresTimeType = startTime();
  doSomethingThatTakesTime();
  const elapsedTimeMS: number = elapsedTime(startTime);

Javascript Code Demo


  const startTime = startTime();
  doSomethingThatTakesTime();
  const elapsedTimeMS = elapsedTime(startTime);

Download & Installation

$ npm i @apigames/highres-timer 

Authors or Acknowledgments

  • Cloudize Limited
  • Vlad Tansky

License

This project is licensed under the MIT License

FAQs

Package last updated on 24 Sep 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts