{"id":16387478,"url":"https://github.com/mastilver/is-now","last_synced_at":"2025-06-20T15:34:13.272Z","repository":{"id":36585998,"uuid":"40891978","full_name":"mastilver/is-now","owner":"mastilver","description":"check if the given time is the current time","archived":false,"fork":false,"pushed_at":"2016-12-23T13:00:28.000Z","size":4,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-05T13:03:18.852Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mastilver.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}},"created_at":"2015-08-17T12:13:53.000Z","updated_at":"2015-08-17T22:42:27.000Z","dependencies_parsed_at":"2022-09-18T07:15:49.467Z","dependency_job_id":null,"html_url":"https://github.com/mastilver/is-now","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mastilver/is-now","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mastilver%2Fis-now","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mastilver%2Fis-now/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mastilver%2Fis-now/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mastilver%2Fis-now/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mastilver","download_url":"https://codeload.github.com/mastilver/is-now/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mastilver%2Fis-now/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260970796,"owners_count":23090623,"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-11T04:26:39.082Z","updated_at":"2025-06-20T15:34:08.256Z","avatar_url":"https://github.com/mastilver.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# is-now [![Build Status](https://travis-ci.org/mastilver/is-now.svg?branch=master)](https://travis-ci.org/mastilver/is-now)[![Coverage Status](https://coveralls.io/repos/mastilver/is-now/badge.svg?branch=master\u0026service=github)](https://coveralls.io/github/mastilver/is-now?branch=master)\n\n\u003e compare times with the current time\n\n\n## Install\n\n```\n$ npm install --save is-now\n```\n\n\n## Usage\n\n```js\nvar isNow = require('is-now');\n\nisNow(new Date());\n// true\n```\n\n\n## API\n\n### isNow(time)\n\n#### input\n\n*Required*  \nType: `Date`, `moment`, `number`\n\nThe time to compare to the current time, if it's a number it must be a unix timestamp.\n\n\n## License\n\nMIT © [Thomas Sileghem](https://github.com/mastilver)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmastilver%2Fis-now","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmastilver%2Fis-now","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmastilver%2Fis-now/lists"}