{"id":18067620,"url":"https://github.com/alanclarke/now-plus","last_synced_at":"2025-04-05T15:22:36.679Z","repository":{"id":13571131,"uuid":"62126254","full_name":"alanclarke/now-plus","owner":"alanclarke","description":"Tiny date lib for getting relative dates","archived":false,"fork":false,"pushed_at":"2023-04-17T07:48:50.000Z","size":2355,"stargazers_count":0,"open_issues_count":15,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-19T21:50:43.173Z","etag":null,"topics":["ceh","cmh","implement"],"latest_commit_sha":null,"homepage":null,"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/alanclarke.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}},"created_at":"2016-06-28T09:02:29.000Z","updated_at":"2023-07-26T14:41:00.000Z","dependencies_parsed_at":"2023-01-13T17:32:09.371Z","dependency_job_id":null,"html_url":"https://github.com/alanclarke/now-plus","commit_stats":null,"previous_names":["qubitproducts/now-plus"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alanclarke%2Fnow-plus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alanclarke%2Fnow-plus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alanclarke%2Fnow-plus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alanclarke%2Fnow-plus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alanclarke","download_url":"https://codeload.github.com/alanclarke/now-plus/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247354789,"owners_count":20925501,"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":["ceh","cmh","implement"],"created_at":"2024-10-31T07:09:55.910Z","updated_at":"2025-04-05T15:22:36.652Z","avatar_url":"https://github.com/alanclarke.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Now plus\nsimple lib for computing relative dates\n\n## usage\n```js\nnow() // new Date()\nnow.plus(1, 'week') // new date set to exactly now plus 1 week\nnow.get(myDate).plus(1, 'second') // new date set to exactly myDate plus 1 second\nnow.minus(2, 'days') // new date set to exactly now minus 2 days\nnow.get(myDate).minus(2, 'minutes') // new date set to exactly myDate minus 2 minutes\n\n// supports seconds, minutes, hours, days, weeks and years\n\n```\n\n## run tests\n```js\nnpm test\n```\n\n## Want to work on this for your day job?\n\nThis project was created by the Engineering team at Qubit. As we use open source libraries, we make our projects public where possible.\n\nWe’re currently looking to grow our team, so if you’re a JavaScript engineer and keen on ES2016 React+Redux applications and Node micro services, why not get in touch? Work with like minded engineers in an environment that has fantastic perks, including an annual ski trip, yoga, a competitive foosball league, and copious amounts of yogurt.\n\nFind more details on our Engineering site. Don’t have an up to date CV? Just link us your Github profile! Better yet, send us a pull request that improves this project.`\nContact GitHub API Training Shop Blog About\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falanclarke%2Fnow-plus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falanclarke%2Fnow-plus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falanclarke%2Fnow-plus/lists"}