0.0.2 • Published 7 years ago

mnv-terms v0.0.2

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

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.