{"id":19391930,"url":"https://github.com/fwd/time","last_synced_at":"2025-10-10T20:09:04.034Z","repository":{"id":103798515,"uuid":"290290324","full_name":"fwd/time","owner":"fwd","description":"Natural Time Conversion","archived":false,"fork":false,"pushed_at":"2023-04-07T13:25:13.000Z","size":2964,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-16T09:05:39.765Z","etag":null,"topics":["api","javascript","millisecond-conversion","milliseconds","nodejs","nodejs-framework","serverless","time"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fwd.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["fwd"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2020-08-25T18:17:14.000Z","updated_at":"2023-10-29T13:55:08.000Z","dependencies_parsed_at":"2023-07-08T17:15:12.429Z","dependency_job_id":null,"html_url":"https://github.com/fwd/time","commit_stats":{"total_commits":17,"total_committers":2,"mean_commits":8.5,"dds":0.2941176470588235,"last_synced_commit":"5f153c234a2fd30a7c9b8d86d9599de70464b11e"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fwd%2Ftime","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fwd%2Ftime/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fwd%2Ftime/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fwd%2Ftime/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fwd","download_url":"https://codeload.github.com/fwd/time/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240557485,"owners_count":19820360,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","javascript","millisecond-conversion","milliseconds","nodejs","nodejs-framework","serverless","time"],"created_at":"2024-11-10T10:29:44.469Z","updated_at":"2025-10-10T20:08:58.998Z","avatar_url":"https://github.com/fwd.png","language":"JavaScript","readme":"![Cover](https://raw.githubusercontent.com/fwd/time/master/.github/cover.png)\n\n\u003ch1 align=\"center\"\u003e@fwd/time 💾\u003c/h1\u003e\n\n\u003e A NodeJS package to simplify milliseconds.\n\n## Install\n\n```sh\nnpm install fwd/time\n```\n\n## Usage\n\n```js\n\nconst time = require('@fwd/time')\n\ntime(1, 'second') // 1000 ms\n\ntime(5, 'hours') // 18000000 ms\n\n```\n\n## Parameters\n\n```js\n\ntime(integer, timeInterval)\n\n````\n\n## Available Intervals\n\n- second(s)\n- minute(s)\n- hour(s)\n- day(s)\n- month(s)\n- year(s)\n\n## 👤 Author\n\n[twitter.com/@nano2dev](https://twitter.com/nano2dev)\n\n## 🤝 Contributing\n\nGive a ⭐️ if this project helped you!\n\nContributions, issues and feature requests are welcome! \u003cbr /\u003eFeel free to check [issues page](https://github.com/fwd/time/issues).\n\n## 📝 License\n\nMIT License\n","funding_links":["https://github.com/sponsors/fwd"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffwd%2Ftime","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffwd%2Ftime","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffwd%2Ftime/lists"}