{"id":20119171,"url":"https://github.com/harrystevens/party-time","last_synced_at":"2025-05-06T14:32:11.770Z","repository":{"id":48023245,"uuid":"96880460","full_name":"HarryStevens/party-time","owner":"HarryStevens","description":"Convert party abbreviations to full names and back again.","archived":false,"fork":false,"pushed_at":"2023-03-01T09:42:28.000Z","size":1379,"stargazers_count":8,"open_issues_count":7,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-23T21:47:00.606Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/party-time","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/HarryStevens.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":"2017-07-11T10:17:03.000Z","updated_at":"2022-09-29T18:10:08.000Z","dependencies_parsed_at":"2023-02-08T09:31:47.412Z","dependency_job_id":null,"html_url":"https://github.com/HarryStevens/party-time","commit_stats":null,"previous_names":[],"tags_count":113,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HarryStevens%2Fparty-time","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HarryStevens%2Fparty-time/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HarryStevens%2Fparty-time/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HarryStevens%2Fparty-time/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HarryStevens","download_url":"https://codeload.github.com/HarryStevens/party-time/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252703453,"owners_count":21790887,"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-11-13T19:14:40.231Z","updated_at":"2025-05-06T14:32:11.454Z","avatar_url":"https://github.com/HarryStevens.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# party-time\n\nConvert Indian political party abbreviations to full names and back again. [![Build Status](https://travis-ci.org/HarryStevens/party-time.svg?branch=master)](https://travis-ci.org/HarryStevens/party-time)\n\n![var pt = require('party-time'); pt.convert('BJP'); // Bharatiya Janata Party](https://github.com/HindustanTimesLabs/party-time/blob/master/img/demo.gif \"require('party-time')\")\n\n## Resources\n* [API Reference](https://github.com/HarryStevens/party-time/blob/master/API.md)\n* [Introduction](http://harryjstevens.com/blog/introducing-party-time-an-npm-package-for-converting-indian-political-party-names/)\n\n## Installation\n\n### Web browser\n\nYou can use the latest release from the unpkg CDN.\n```html\n\u003cscript src=\"https://unpkg.com/party-time@3.2.58/build/party-time.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"https://unpkg.com/party-time@3.2.58/build/party-time.min.js\"\u003e\u003c/script\u003e\n```\nIf you prefer to host the file yourself, download it from the [`build` directory](https://github.com/HindustanTimesLabs/party-time/tree/master/build).\n```html\n\u003cscript src=\"path/to/party-time.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"path/to/party-time.min.js\"\u003e\u003c/script\u003e\n```\n\n### npm\n```bash\nnpm i party-time -S\n```\n```js\nvar pt = require(\"party-time\");\n```\n\n## Tests\n```bash\nnpm test\n```\n\n## Building\n```bash\nnpm run build\n```\n\n## Contributing\nIn lieu of a formal style guide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality.\n\nIf you find a party or abbreviation not in the library, please [open up an issue](https://github.com/HindustanTimesLabs/party-time/issues) or add the party to [`src/data/parties.json`](https://github.com/HindustanTimesLabs/party-time/blob/master/src/data/parties.json) and submit a pull request.\n\nAfter adding parties, it is a good idea to check if you've added a duplicate. To do that, run `node scripts/integrity_check.js`.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharrystevens%2Fparty-time","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fharrystevens%2Fparty-time","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharrystevens%2Fparty-time/lists"}