Skip to content

joshause/yardstometers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yardstometers.js

JavaScript conversion of yards to meters.

Build Status MIT license

Install

$ npm install yards-to-meters

Usage

Node.js

var YardsToMeters = require("yardstometers");
var ytm = new YardsToMeters();
ytm.get(1);
// => 0.9144

Browser

(Add necessary <script> tag reference to yardstometers.js)

// YardsToMeters is autoloaded to window.YardsToMeters
var ytm = new YardsToMeters();
ytm.get(1);
// => 0.9144

Tests

Jasmine

$ npm test

License

MIT. By Josh Ause.

About

JavaScript conversion of yards to meters.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published