{"id":21011133,"url":"https://github.com/featurist/dateism","last_synced_at":"2026-05-18T12:12:27.958Z","repository":{"id":66213083,"uuid":"84444467","full_name":"featurist/dateism","owner":"featurist","description":null,"archived":false,"fork":false,"pushed_at":"2018-06-26T16:38:24.000Z","size":15,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-01-20T11:21:36.125Z","etag":null,"topics":["dates","javascript"],"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/featurist.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}},"created_at":"2017-03-09T13:22:13.000Z","updated_at":"2018-06-26T16:38:25.000Z","dependencies_parsed_at":"2023-04-24T02:18:45.143Z","dependency_job_id":null,"html_url":"https://github.com/featurist/dateism","commit_stats":{"total_commits":12,"total_committers":3,"mean_commits":4.0,"dds":"0.33333333333333337","last_synced_commit":"bf5a69e298e798c716e2ed3ef5bee07e4f495ee7"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/featurist%2Fdateism","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/featurist%2Fdateism/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/featurist%2Fdateism/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/featurist%2Fdateism/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/featurist","download_url":"https://codeload.github.com/featurist/dateism/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243438003,"owners_count":20290863,"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":["dates","javascript"],"created_at":"2024-11-19T09:26:38.516Z","updated_at":"2025-12-28T12:32:12.594Z","avatar_url":"https://github.com/featurist.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dateism [![npm version](https://img.shields.io/npm/v/dateism.svg)](https://www.npmjs.com/package/dateism) [![npm](https://img.shields.io/npm/dm/dateism.svg)](https://www.npmjs.com/package/dateism) [![Build Status](https://travis-ci.org/featurist/dateism.svg?branch=master)](https://travis-ci.org/featurist/dateism)\n\nFor lack of a better name...\n\n## Premise\n\nYou are in a situation where you need to get lots of dates relative to a point in time and in the same format.\n\n## Usage\n\n`npm install dateism` or `yarn install dateism`\n\n\ndateism must be initialised with a format to use and optionally a seed date. If you don't supply a seed date then the date right now will be used.\n\n### Example\n\n```js\nconst dateism = require('dateism')\nconst dates = dateism({format: 'DD MMM YYYY', seed: new Date('1947-02-15')})\n\ndates.addDays(-5)      // -\u003e '10 Feb 1947'\ndates.threeDaysAgo()   // -\u003e '12 Feb 1947' \ndates.twoDaysAgo()     // -\u003e '13 Feb 1947'\n\ndates.today()          // -\u003e '15 Feb 1947'\n\ndates.tomorrow()       // -\u003e '16 Feb 1947'\ndates.addDays(5)       // -\u003e '20 Feb 1947'\n```\n\n## We're Hiring!\nFeaturist provides full stack, feature driven development teams. Want to join us? Check out [our career opportunities](https://www.featurist.co.uk/careers/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeaturist%2Fdateism","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffeaturist%2Fdateism","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeaturist%2Fdateism/lists"}