not-so-float 1.0.0 → 1.0.2

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.
Files changed (2) hide show
  1. package/README.md +12 -0
  2. package/package.json +4 -2
package/README.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Not So Float
2
2
 
3
+ ![NPM Version](https://img.shields.io/npm/v/not-so-float)
4
+ ![NPM License](https://img.shields.io/npm/l/not-so-float)
5
+
6
+
3
7
  **Not So Float** is a pure TypeScript library that implements **Interval Union
4
8
  Arithmetic** over IEEE 754 double precision floats (JS numbers).
5
9
 
@@ -34,6 +38,14 @@ Design goals:
34
38
  > [!TIP]
35
39
  > If you like this open-source project consider [sponsoring me](https://github.com/sponsors/victorpoughon) on GitHub, thank you ❤️
36
40
 
41
+ ## Installation
42
+
43
+ `not-so-float` build version is available [on npm](https://www.npmjs.com/package/not-so-float):
44
+
45
+ ```sh
46
+ npm install not-so-float
47
+ ```
48
+
37
49
  ## Outward Rounding
38
50
 
39
51
  The main interest of interval arithmetic is the inclusion property. Any interval
package/package.json CHANGED
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "name": "not-so-float",
3
+ "license": "MIT",
3
4
  "repository": {
4
5
  "type": "git",
5
- "url": "https://github.com/victorpoughon/not-so-float"
6
+ "url": "git+https://github.com/victorpoughon/not-so-float.git"
6
7
  },
7
8
  "private": false,
8
- "version": "1.0.0",
9
+ "version": "1.0.2",
9
10
  "type": "module",
10
11
  "scripts": {
11
12
  "build": "tsup",
@@ -19,6 +20,7 @@
19
20
  },
20
21
  "files": [
21
22
  "dist",
23
+ "LICENSE",
22
24
  "package.json"
23
25
  ],
24
26
  "exports": {