climbing-grade.js converts climbing grades between different systems.
Currently supported systems include: French, Australian, South African, UIAA, Hueco, Font, British, YDS
With node:
npm install climbing-grade
For the browser:
bower install climbing-grade
<script type="text/javascript" src="bower_components/climbing-grade/climbing-grade.js"></script>
or Minified
<script type="text/javascript" src="bower_components/climbing-grade/climbing-grade.min.js"></script>
http://grantismo.github.io/climbing-grade.js/
Format a given grade in other grading systems.
var ClimbingGrade = require('climbing-grade');
var grade = new ClimbingGrade('9a', 'french');
grade.format('australian'); // '35'
grade.format('south_african'); // '37'
grade.format('uiaa'); // 'XI+'
grade.format('hueco'); // 'V13'
grade.format('font'); // '8B'
grade.format('british'); // 'E10 7c'
grade.format('yds'); // '5.14d'
grade.format('kurtyki'); // 'VI.8'
<script type="text/javascript">
var grade = new ClimbingGrade("9a", "french");
alert(grade.format("yds"));
</script></script>
Supports ranges
var hueco = new ClimbingGrade('vb', 'hueco');
hueco.format('font'); // '1 to 3+'
var french = new ClimbingGrade('6c', 'french');
french.format('yds'); // '5.11a/5.11b'
- 'french'
- 'australian'
- 'south_african'
- 'uiaa'
- 'hueco'
- 'font'
- 'british'
- 'yds'
- 'kurtyki'
jasmine