https://github.com/tuddman/convert-si
convert from widely used units into SI units
https://github.com/tuddman/convert-si
Last synced: 2 months ago
JSON representation
convert from widely used units into SI units
- Host: GitHub
- URL: https://github.com/tuddman/convert-si
- Owner: tuddman
- Created: 2018-10-05T06:04:07.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-10-06T16:18:08.000Z (over 6 years ago)
- Last Synced: 2025-01-19T12:42:01.088Z (4 months ago)
- Language: JavaScript
- Size: 5.86 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Convert SI Units
convert from widely used units into SI units.
### Docker
```bash
docker build -t convert:si .
docker run --rm -it -p 3000:3000 convert:si
```### Direct
```
npm install
node src/index.js
```## Usage
```bash
curl -X GET \
'http://172.17.0.2:3000/units/si?units=%28degree/minute%29'
```
```json
{
"unit_name": "(rad/s)",
"multiplication_factor": 0.00029088820867
}
```