Using your favourite package manager:
yarn add @trailer_vote/fixtures
import fixturePath from '@trailer_vote/fixtures'
import fs from 'fs'
const errorsJson = JSON.parse(fs.readFileSync(fixturePath('application/vnd.trailervote.errors.v1+json')))
// => { "errors" => [...] }
Bug reports and pull requests are welcome on GitHub at TrailerVote/trailervote-fixtures.