{"id":21356168,"url":"https://github.com/jbenner-radham/collapse-date-time","last_synced_at":"2025-03-16T05:41:32.380Z","repository":{"id":57148889,"uuid":"54596862","full_name":"jbenner-radham/collapse-date-time","owner":"jbenner-radham","description":"Collapses ISO 8601 Extended timestamps down to a vCard usable format.","archived":false,"fork":false,"pushed_at":"2016-03-23T22:50:47.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-22T18:12:09.372Z","etag":null,"topics":["cli","collapse","date-formatting","datetime","iso8601","timestamp","vcard"],"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/jbenner-radham.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2016-03-23T22:19:37.000Z","updated_at":"2023-02-16T02:15:58.000Z","dependencies_parsed_at":"2022-08-31T20:02:37.710Z","dependency_job_id":null,"html_url":"https://github.com/jbenner-radham/collapse-date-time","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbenner-radham%2Fcollapse-date-time","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbenner-radham%2Fcollapse-date-time/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbenner-radham%2Fcollapse-date-time/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbenner-radham%2Fcollapse-date-time/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jbenner-radham","download_url":"https://codeload.github.com/jbenner-radham/collapse-date-time/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243830923,"owners_count":20354850,"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":["cli","collapse","date-formatting","datetime","iso8601","timestamp","vcard"],"created_at":"2024-11-22T04:29:14.542Z","updated_at":"2025-03-16T05:41:32.360Z","avatar_url":"https://github.com/jbenner-radham.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"collapse-date-time\n==================\n[![npm Version][NPM VERSION BADGE]][NPM PAGE]\n[![GitHub License][LICENSE BADGE]][LICENSE PAGE]\n[![Build Status][BUILD BADGE]][BUILD PAGE]\n\nCollapses ISO 8601 Extended timestamps down to a vCard usable format.\n\nInstall\n-------\n### Locally\n```sh\n$ npm install collapse-date-time\n```\n\n### Globally (for CLI usage)\n```sh\n$ npm install --global collapse-date-time\n```\n\nUsage\n-----\n### API\n```js\nvar collapseDateTime = require('collapse-date-time');\n\nvar dateTime  = '2015-07-05T21:17:05Z';\nvar collapsed = collapseDateTime(dateTime); // \u003e '20150705T211705Z'\n```\n\n### CLI\n```sh\n$ collapse-date-time 2015-07-05T21:17:05Z # \u003e 20150705T211705Z\n```\n\nTesting\n-------\n```sh\n$ npm test\n```\n\nLicense\n-------\nThe MIT License (Expat). See the [license file](LICENSE) for details.\n\n[BUILD BADGE]: https://img.shields.io/travis/jbenner-radham/collapse-date-time.svg?style=flat-square\n[BUILD PAGE]: https://travis-ci.org/jbenner-radham/collapse-date-time\n[LICENSE BADGE]: https://img.shields.io/badge/license-MIT%20License-blue.svg?style=flat-square\n[LICENSE PAGE]: https://github.com/jbenner-radham/collapse-date-time/blob/master/LICENSE\n[NPM PAGE]: https://www.npmjs.com/package/collapse-date-time\n[NPM VERSION BADGE]: https://img.shields.io/npm/v/collapse-date-time.svg?style=flat-square\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjbenner-radham%2Fcollapse-date-time","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjbenner-radham%2Fcollapse-date-time","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjbenner-radham%2Fcollapse-date-time/lists"}