Skip to content

Abdullah-Khawahir/quickcalc.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

quickcalc.js

one function to convert most of the needs with bindings for HTML imputs look the demo for more information.

npm run demo
await evaluate('13 USD to EUR')    // 12.69 EUR
await evaluate('1.6m to ft')       // 5.2493438 ft
await evaluate('12 km/h to mi/h')  // 7.4564543 mi/h

// now = 1/13/2025, 1:25 AM
await evaluate('now + 3 days')     // 1/16/2025, 1:25 AM

About

This library aims to enhance the user experience when inputting data that relies on calculations by computing them in the same plance where you type.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors