1.0.8 • Published 1 year ago

@muyi086/cal v1.0.8

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

cal

中文

npm npm bundle size npm GitHub

Install

npm install @muyi086/cal
# common JS
const { cal } = require('@muyi086/cal')
# es6
import { cal } from '@muyi086/cal'

Use

const str = '-(-5+(-2*33//3****4)-2)+((5*6)/2+2)-23*4/2+43'
const value = cal.dealBracket(str)

Function

functionparameterdefaultrequireddescription
dealBracketstringstringrequireda string include expression
1.0.8

1 year ago

1.0.7

1 year ago

1.0.2

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago