party-time
Convert Indian political party abbreviations to full names and back again.
Resources
Installation
Web browser
You can use the latest release from the unpkg CDN.
If you prefer to host the file yourself, download it from the build
directory.
npm
npm i party-time -S
var pt = ;
Tests
npm test
Building
npm run build
Contributing
In lieu of a formal style guide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality.
If you find a party or abbreviation not in the library, please open up an issue or add the party to src/data/parties.json
and submit a pull request.
After adding parties, it is a good idea to check if you've added a duplicate. To do that, run node scripts/integrity_check.js
.