brugrade

1.0.1 • Public • Published

brugrade js-standard-style Travis Coveralls

Brunel's undergraduate marking/grade bounds dataset and byMark(grade) search.

Install

$ npm install --save brugrade

Usage

const { boundaries, byMark } = require('brugrade')
 
boundaries
// =>
  // [ { boundaryLower: 90,
  //   boundaryUpper: 100,
  //   degreeClassEquivalent: '1',
  //   grade: 'A++',
  //   gradePoint: 17 },
  // { boundaryLower: 80,
  //   boundaryUpper: 89,
  //   degreeClassEquivalent: '1',
  //   grade: 'A+',
  //   gradePoint: 16 },
  // { boundaryLower: 73,
  //   boundaryUpper: 79,
  //   degreeClassEquivalent: '1',
  //   grade: 'A',
  //   gradePoint: 15 },
  //   ...
 
byMark(87) // 87 being an assessment mark (percentage)
// =>
  // { boundaryLower: 80,
  // boundaryUpper: 89,
  // degreeClassEquivalent: '1',
  // grade: 'A+',
  // gradePoint: 16 }
 
 

Testing

# Test 
$ npm test
 
# Lint 
standard

Related

Licence

MIT © Ben Evans

install

npm i brugrade

Downloadsweekly downloads

4

version

1.0.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability