smath 1.1.2 → 1.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -19
- package/package.json +1 -5
package/README.md
CHANGED
|
@@ -1,16 +1,3 @@
|
|
|
1
|
-
Small math function library
|
|
2
|
-
|
|
3
|
-

|
|
4
|
-

|
|
5
|
-
|
|
6
|
-
## Installation
|
|
7
|
-
|
|
8
|
-
`smath` can be installed from the official [npm package repository](https://www.npmjs.com/package/smath). It is highly recommended to install the latest version.
|
|
9
|
-
|
|
10
|
-
```shell
|
|
11
|
-
npm i smath@latest
|
|
12
|
-
```
|
|
13
|
-
|
|
14
1
|
## Getting Started
|
|
15
2
|
|
|
16
3
|
**Example:** A temperature conversion tool using [`SMath.translate`](https://npm.nicfv.com/smath/classes/SMath.html#translate) to convert units and [`SMath.approx`](https://npm.nicfv.com/smath/classes/SMath.html#approx) to validate the result. The translation uses freezing and boiling points for 2 unit systems to linearly interpolate between them.
|
|
@@ -41,9 +28,3 @@ if (!valid) {
|
|
|
41
28
|
throw new Error('Invalid result.');
|
|
42
29
|
}
|
|
43
30
|
```
|
|
44
|
-
|
|
45
|
-
Visit the [official documentation](https://npm.nicfv.com/smath/) to learn more!
|
|
46
|
-
|
|
47
|
-
## Contribute
|
|
48
|
-
|
|
49
|
-
`smath` is an open source software package hosted on a [GitHub repository](https://github.com/nicfv/npm). Bug reports and feature requests can be submitted in [issues](https://github.com/nicfv/npm/issues). Contributions are also accepted by submitting a [pull request](https://github.com/nicfv/npm/pulls). Please follow the code styling if submitting a pull request.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "smath",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.4",
|
|
4
4
|
"description": "Small math function library",
|
|
5
5
|
"homepage": "https://npm.nicfv.com/smath",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -38,10 +38,6 @@
|
|
|
38
38
|
"type": "paypal",
|
|
39
39
|
"url": "https://www.paypal.com/donate/?business=UM6EEKPW8GXA2&no_recurring=0&item_name=Open+source+development¤cy_code=USD"
|
|
40
40
|
},
|
|
41
|
-
"bugs": {
|
|
42
|
-
"url": "https://github.com/nicfv/npm/issues",
|
|
43
|
-
"email": "npm@nicolasventura.com"
|
|
44
|
-
},
|
|
45
41
|
"repository": "github:nicfv/npm",
|
|
46
42
|
"license": "MIT",
|
|
47
43
|
"devDependencies": {
|