Socket
Socket
Sign inDemoInstall

the-math

Package Overview
Dependencies
0
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.3.1 to 1.3.2

LICENSE

38

package.json
{
"name": "the-math",
"version": "1.3.1",
"version": "1.3.2",
"description": "Core of TheMath Calculator",
"main": "./dist/index.js",
"license": "MIT",
"publishConfig": {

@@ -15,21 +14,30 @@ "access": "public"

},
"repository": {
"type": "git",
"url": "https://github.com/TheMarkWill/TheMath/"
},
"author": "Marcon Willian <oi@marcon.run>",
"license": "MIT",
"bugs": {
"url": "https://github.com/themarkwill/TheMath/issues"
},
"homepage": "https://github.com/themarkwill/TheMath#readme",
"devDependencies": {
"@types/jest": "^27.0.1",
"@types/node": "^17.0.5",
"@typescript-eslint/eslint-plugin": "^5.8.0",
"@typescript-eslint/parser": "^5.8.0",
"eslint": "^8.5.0",
"@types/jest": "^27.4.1",
"@types/node": "^17.0.21",
"@typescript-eslint/eslint-plugin": "^5.15.0",
"@typescript-eslint/parser": "^5.15.0",
"eslint": "^8.11.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-typescript": "^2.2.1",
"eslint-plugin-import": "^2.21.2",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-prettier": "^4.0.0",
"jest": "^27.0.6",
"jest": "^27.5.1",
"prettier": "^2.1.1",
"ts-jest": "^27.0.4",
"ts-node": "^10.4.0",
"ts-jest": "^27.1.3",
"ts-node": "^10.7.0",
"ts-node-dev": "^1.0.0-pre.49",
"typescript": "^4.3.5"
},
"repository": "https://github.com/MarconWillian/TheMath/tree/develop/core"
"typescript": "^4.6.2"
}
}

@@ -1,2 +0,2 @@

![TheMath](https://i.imgur.com/yxNTfFh.png)
![TheMath][the-math-logo]

@@ -7,15 +7,11 @@ # TheMath

## Installation
This is a [Node.js](https://nodejs.org/en/) module available through the
[npm registry](https://www.npmjs.com/package/the-math).
Use npm:
You can install with [npm][the-math-npm]:
```bash
npm install the-math
```
$ npm install the-math
```
Use yarn:
You can install with [yarn][the-math-yarn]:
```bash
yarn add the-math
```
$ yarn add the-math
```

@@ -32,5 +28,5 @@ ## Features

1. Solve subtraction between 2 numbers.
**1.** Solve subtraction between 2 numbers.
```typescript
```TypeScript
import TheMath from 'the-math';

@@ -40,8 +36,7 @@

// result: 7
```
2. Solve subtraction between 2 numbers.
**2.** Solve subtraction between 2 numbers.
```typescript
```TypeScript
import TheMath from 'the-math';

@@ -51,8 +46,7 @@

// result: 21
```
3. Solve division between 2 numbers.
**3.** Solve division between 2 numbers.
```typescript
```TypeScript
import TheMath from 'the-math';

@@ -62,8 +56,7 @@

// result: 7
```
4. Solve multiplication between 2 numbers.
**4.** Solve multiplication between 2 numbers.
```typescript
```TypeScript
import TheMath from 'the-math';

@@ -73,8 +66,7 @@

// result: 18
```
5. Solve a string operation arithmetic.
**5.** Solve a string operation arithmetic.
```typescript
```TypeScript
import TheMath from 'the-math';

@@ -84,3 +76,2 @@

// result: 67
```

@@ -95,3 +86,3 @@

| [<img src="https://github.com/MarconWillian.png" width=115><br><sub>@MarconWillian</sub>](https://github.com/MarconWillian) |
| [<img src="https://github.com/TheMarkWill.png" width=115><br><sub>@TheMarkWill</sub>](https://github.com/TheMarkWill) |
| :---: |

@@ -116,1 +107,11 @@

- You may not use the `eval()` function to execute calculations
****
This project is under the MIT license. See the [LICENSE][license-link] file for more details.
<!-- Markdown link & img's -->
[license-link]: /LICENSE
[the-math-logo]: https://i.imgur.com/yxNTfFh.png
[the-math-npm]: https://www.npmjs.com/package/the-math
[the-math-yarn]: https://yarnpkg.com/package/the-math
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc