Length.js is a useful JavaScript library for length units conversion. It was designed to work both in the browser and in Node.js
Available unit types:
cm
dm
m
km
ft
in
yd
mi
Website Demo