meters-to-feet
v1.1.0
Published
Converts meters to feet
Downloads
5
Maintainers
Readme
meterstofeet.js
JavaScript conversion of meters to feet.
Install
$ npm install meters-to-feet
Usage
Node.js
var MetersToFeet = require("meters-to-feet");
var mtf = new MetersToFeet();
mtf.get(1);
// => 3.28084
Browser
(Add necessary <script>
tag reference to meterstofeet.js
)
// MetersToFeet is autoloaded to window.MetersToFeet
var mtf = new MetersToFeet();
mtf.get(1);
// => 3.28084
Tests
Jasmine
$ npm test
License
MIT. By Josh Ause.