Coder Social home page Coder Social logo

dohliam / units Goto Github PK

View Code? Open in Web Editor NEW
13.0 3.0 9.0 5 KB

Units - a small portable unit converter

Home Page: https://dohliam.github.io/tiny_tools/units/

License: MIT License

HTML 64.02% JavaScript 35.98%
units units-of-measurement unit-conversion unit-converter converters javascript mobile tiny-tools conversion

units's Introduction

Units - A small portable unit converter

Overview

This is a very small offline-first mobile-friendly unit conversion tool for the browser. There are many full featured unit converters out there, so every effort has been made to keep this as simple, fast, and portable as possible.

A demo is available here.

Usage

Select a category (e.g. Length, Mass) from the dropdown menu and then choose the from and to units.

The resulting conversion at the bottom of the page will live update as different values and units are selected.

A full list of the currently supported units is below.

Units

Time

  • milliseconds
  • seconds
  • minutes
  • hours
  • days
  • weeks
  • months
  • years
  • decades
  • centuries

Length

Metric

  • mm
  • cm
  • m

Imperial

  • in
  • ft
  • yd
  • mi

Temperature

  • °C
  • °F
  • K
  • °N

IT

  • bit
  • byte
  • KB
  • MB
  • GB
  • TB

Area

Metric

  • cm²
  • km²
  • hectare

Imperial

  • sq in
  • sq ft
  • sq mi
  • acre

Mass

Metric

  • mg
  • g
  • kg
  • ton / tonne (metric ton)

Imperial

  • oz
  • oz avoirdupois
  • lb
  • stone
  • short ton

Volume

Metric

  • litre
  • millilitre
  • cc
  • mm³
  • km³

Imperial

  • fl oz (imp)
  • teaspoon (Can)
  • tablespoon (Can)
  • cup
  • gal (imp)
  • gal (US)
  • pint (imp)
  • quart (imp)
  • cu in
  • cu ft
  • cu mi

Speed

Metric

  • m/s
  • km/h

Imperial

  • mph
  • mpm
  • mps
  • fps

See also

"Units" is part of the tiny tools series, a collection of small mobile-friendly JavaScript tools for performing common tasks in the browser.

Other tools for working with numbers and units that might also be of interest:

Credits

License

MIT.

units's People

Contributors

dohliam avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.