Calc
Install
yarn add @ied/calc
Use
import calc from '@ied/calc'
const x = calc('1 + 2 * 100')
// 201
Types
type Calc = (string: string) => number
yarn add @ied/calc
import calc from '@ied/calc'
const x = calc('1 + 2 * 100')
// 201
type Calc = (string: string) => number
npm i @ied/calc
0
1.0.0-beta.10
MIT
11.2 kB
7