inch

1.0.2 • Public • Published

inch Build Status

Convert inch to cm, ft and yd.

Install

$ npm install --save inch

Usage

var inch = require('inch');
 
console.log(inch(5));
//=> {cm: 12.7, ft: 0.41666666650000006, yd: 0.13888888900000002}
 
console.log(inch(5).cm);
//=> 12.7

Related

  • yard - Convert yard to cm, in and ft.
  • centimeter - Convert centimeter to yd, in and ft.

License

MIT © Andreas Gillström

Package Sidebar

Install

npm i inch

Weekly Downloads

6

Version

1.0.2

License

MIT

Last publish

Collaborators

  • gillstrom