{"id":16081976,"url":"https://github.com/jefreesujit/time-formatter","last_synced_at":"2025-04-05T11:43:36.003Z","repository":{"id":77295065,"uuid":"56663215","full_name":"Jefreesujit/time-formatter","owner":"Jefreesujit","description":null,"archived":false,"fork":false,"pushed_at":"2018-07-19T18:18:39.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-11T02:38:57.229Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Jefreesujit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2016-04-20T06:56:02.000Z","updated_at":"2016-06-04T11:41:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"9c6c715d-cd2e-47ec-8a8c-f9e1ea6c18b5","html_url":"https://github.com/Jefreesujit/time-formatter","commit_stats":{"total_commits":8,"total_committers":2,"mean_commits":4.0,"dds":0.375,"last_synced_commit":"5408cbf030789b7526396c8a171f4e724066fef8"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jefreesujit%2Ftime-formatter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jefreesujit%2Ftime-formatter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jefreesujit%2Ftime-formatter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jefreesujit%2Ftime-formatter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Jefreesujit","download_url":"https://codeload.github.com/Jefreesujit/time-formatter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247332524,"owners_count":20921852,"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":[],"created_at":"2024-10-09T11:24:53.300Z","updated_at":"2025-04-05T11:43:35.977Z","avatar_url":"https://github.com/Jefreesujit.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# time-formatter\n\nA simple code to format decimal numbers with time extensions. \n\n## Installation\n\n  `npm install time-formatter`\n\n## Usage\n\n    var timeFormatter = require('time-formatter');\n\n    var formattedMin = timeFormatter.minutes(3566, false);\n  \n  // Output should be `3566 min`\n\n    var formattedMin = timeFormatter.minutes(3566, true);\n  \n  // Output should be `2 d 11 hr 26 min`\n\n  Parameters :\n\n\ttimeFormatter.function(val1, val2);\n\n\tval1 : Integer | required\n\tval2 : Boolean | optional \n\n  Output Format : String\n\n  available Functions :\n\n  \t1) timeFormatter.minutes(val1, val2);\n  \t2) timeFormatter.seconds(val1, val2);\n  \t3) timeFormatter.hours(val1, val2);\n  \t\n\n## Contributing\n\nIn lieu of a formal style guide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjefreesujit%2Ftime-formatter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjefreesujit%2Ftime-formatter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjefreesujit%2Ftime-formatter/lists"}