mnv-terms

0.0.2 • Public • Published

Terms

Build Status

Terms helps with finding term lengths for elected officials in different US states.

At present terms for the upper and lower houses and executives for all 50 states are included.

Terms represents term lengths as integers, so a 2 year term will be represented as 2.

Usage

import { getTerms } from 'mnv-terms'

const { house, senate, governor } = getTerms('CA')

console.log(house)    // 2
console.log(senate)   // 4
console.log(governor) // 4

Reporting innacuracies

If you find an innacuracy please file an issue noting the state and the office or feel free to submit a pull request.

Readme

Keywords

none

Package Sidebar

Install

npm i mnv-terms

Weekly Downloads

2

Version

0.0.2

License

MIT

Last publish

Collaborators

  • kdoh