toolbox-utils-js v1.2.0-major
Toolbox Utils
Basic node.js toolbox package for converting units and getting the date.
Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
Installing
A step by step series of examples that tell you how to get a development env running
Say what the step will be
npm install toolbox-utils-js
Running module
The module contains temperature conversion and date information (more to come).
Converting temperatures
Converting temperature is the same for all ways, just use the following format for each.
require the module
const tools = require('toolbox-utils-js')
To convert use {K/C/F}to{K/C/F}
var temp = tools.convertTemp.CtoF(100)
Then log it
console.log(temp) // returns 87.55555555555556
Converting distances
var feet = convertMiles.toFeet(20)
Then log it!
console.log(feet) // returns 105600
Getting date
Get the date using
var date = tools.date()
console.log(date) // returns the date in the yyyy-mm-dd format
Example in vs code
Deployment
More math conversions and features to come soon, let me know what you want to see.
Authors
- John Peterson - An aspiring web developer
License
This project is licensed under the GNU License - GNU GENERAL PUBLIC LICENSE