JSPM

clock-live

1.0.3
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 2
    • Score
      100M100P100Q20602F
    • License ISC

    A package for providing the current time in various countries.

    Package Exports

    • clock-live
    • clock-live/index.js

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (clock-live) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    clock-live

    A simple npm package to get the current time for different countries. Alt text

    Installation

    npm install clock-live

    Usage

    const { getTimeForCountry } = require('clock-live'); console.log(getTimeForCountry('US')); // Output: current time in New York console.log(getTimeForCountry('GB')); // Output: current time in London

    Supported Countries

    • It is Supported for every country, Do let me know if your country missed.

    Contribution

    • Contributions to the package are welcome! If you would like to add support for additional countries or improve the package. Feel free to fork the repository and explore