math-wizard 1.0.2 → 1.0.3
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 → README.md} +3 -3
- package/package.json +1 -1
package/{Readme → README.md}
RENAMED
|
@@ -19,7 +19,7 @@ npm install math-wizard
|
|
|
19
19
|
## Usage
|
|
20
20
|
|
|
21
21
|
```ts
|
|
22
|
-
import { add } from
|
|
22
|
+
import { add } from "math-wizard";
|
|
23
23
|
|
|
24
24
|
const result = add(2, 3);
|
|
25
25
|
console.log(result); // 5
|
|
@@ -30,7 +30,7 @@ console.log(result); // 5
|
|
|
30
30
|
### Basic addition
|
|
31
31
|
|
|
32
32
|
```ts
|
|
33
|
-
import { add } from
|
|
33
|
+
import { add } from "math-wizard";
|
|
34
34
|
|
|
35
35
|
console.log(add(10, 15));
|
|
36
36
|
// Output: 25
|
|
@@ -39,7 +39,7 @@ console.log(add(10, 15));
|
|
|
39
39
|
### Using the function in a TypeScript file
|
|
40
40
|
|
|
41
41
|
```ts
|
|
42
|
-
import { add } from
|
|
42
|
+
import { add } from "math-wizard";
|
|
43
43
|
|
|
44
44
|
function sumValues(a: number, b: number) {
|
|
45
45
|
return add(a, b);
|