{"id":17104009,"url":"https://github.com/walmik/str2time","last_synced_at":"2025-07-06T00:07:57.161Z","repository":{"id":20528298,"uuid":"23807420","full_name":"walmik/str2time","owner":"walmik","description":"Simple JavaScript/Node.js utility to convert human input time like 9am to time format 09:00:00","archived":false,"fork":false,"pushed_at":"2024-06-16T17:28:06.000Z","size":50,"stargazers_count":4,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-17T20:45:50.079Z","etag":null,"topics":[],"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/walmik.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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,"zenodo":null}},"created_at":"2014-09-08T20:38:55.000Z","updated_at":"2021-07-13T06:59:45.000Z","dependencies_parsed_at":"2025-04-13T09:45:40.668Z","dependency_job_id":null,"html_url":"https://github.com/walmik/str2time","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/walmik/str2time","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/walmik%2Fstr2time","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/walmik%2Fstr2time/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/walmik%2Fstr2time/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/walmik%2Fstr2time/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/walmik","download_url":"https://codeload.github.com/walmik/str2time/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/walmik%2Fstr2time/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263828726,"owners_count":23516790,"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-14T15:35:22.101Z","updated_at":"2025-07-06T00:07:52.131Z","avatar_url":"https://github.com/walmik.png","language":"JavaScript","readme":"str2time\n========\n\nSimple JavaScript utility to convert humanized time like 9am to time format 09:00:00\n\n#### Install\n\n`npm install str2time`\n\n###Usage\n\n```\nvar str2time = require('str2time');\n\nconsole.log(str2time('9am'));       //outputs 09:00:00\nconsole.log(str2time('11:30p'));    //outputs 23:30:00\nconsole.log(str2time('11:30:00'));  //outputs 11:30:00\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwalmik%2Fstr2time","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwalmik%2Fstr2time","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwalmik%2Fstr2time/lists"}