1.2.4 • Published 6 years ago

typesafe-maths v1.2.4

Weekly downloads
2
License
ISC
Repository
github
Last release
6 years ago

typesafe-maths

Mathematics, but in a type safe manner!

const { add, substract, multiply, divide } = require('typesafe-maths');

add(2, 3) // 5
add('two', '3') // 5
multiply('one million', 2) // 2,000,000

This was inpired by this tweet and really is a 5 line wrapper around text-to-number. Please do not use this ever. Thanks.

1.2.4

6 years ago

1.2.3

6 years ago

1.2.2

6 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.0

6 years ago

1.0.0

6 years ago