@muyi086/cal

1.0.8 • Public • Published

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

function parameter default required description
dealBracket string string required a string include expression

Package Sidebar

Install

npm i @muyi086/cal

Weekly Downloads

1

Version

1.0.8

License

MIT

Unpacked Size

13.4 kB

Total Files

7

Last publish

Collaborators

  • muyi086