New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

nodejs-calc-text

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nodejs-calc-text

Required for test cases only ``` npm install ```

latest
Source
npmnpm
Version
0.2.0
Version published
Maintainers
1
Created
Source

NodeJs Calc Text

https://github.com/dobronravov/nodejs-calc.git https://www.npmjs.com/package/nodejs-calc-text

Installing

npm install nodejs-calc-text

Usage

const calcText = require('nodejs-calc-text');
const formula = '148/8+5';
try {
    const result = calcText.calculate(formula);
    console.log(result);
} catch (e) {
    console.log(e);
}

Run example

node example

Test

Mocha test cases.

npm test

Keywords

calc

FAQs

Package last updated on 10 Sep 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts