soff-money 0.2.6 → 0.2.8
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 +44 -21
- package/package.json +9 -9
package/README.md
CHANGED
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
[](https://github.com/bledxs/soff-monorepo/actions)
|
|
12
12
|
[](https://codecov.io/gh/bledxs/soff-monorepo)
|
|
13
13
|
[](https://bundlephobia.com/package/soff-money)
|
|
14
|
+
[](#contributors)
|
|
14
15
|
|
|
15
16
|
</div>
|
|
16
17
|
|
|
@@ -20,26 +21,26 @@
|
|
|
20
21
|
|
|
21
22
|
## Table of Contents
|
|
22
23
|
|
|
23
|
-
- [
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
- [
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
- [
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
24
|
+
- [Table of Contents](#table-of-contents)
|
|
25
|
+
- [Why?](#why)
|
|
26
|
+
- [Install](#install)
|
|
27
|
+
- [Quick Start](#quick-start)
|
|
28
|
+
- [Fair Distribution](#fair-distribution)
|
|
29
|
+
- [Proportional Distribution](#proportional-distribution)
|
|
30
|
+
- [Available Locales](#available-locales)
|
|
31
|
+
- [API Reference](#api-reference)
|
|
32
|
+
- [Creating Money](#creating-money)
|
|
33
|
+
- [Arithmetic Operations](#arithmetic-operations)
|
|
34
|
+
- [Percentage Operations](#percentage-operations)
|
|
35
|
+
- [Min/Max Operations](#minmax-operations)
|
|
36
|
+
- [Comparisons](#comparisons)
|
|
37
|
+
- [Formatting](#formatting)
|
|
38
|
+
- [Static Methods](#static-methods)
|
|
39
|
+
- [Bundle Size](#bundle-size)
|
|
40
|
+
- [Contributing](#contributing)
|
|
41
|
+
- [License](#license)
|
|
42
|
+
- [Documentation](#documentation)
|
|
43
|
+
- [Contributors](#contributors)
|
|
43
44
|
|
|
44
45
|
## 🤔 Why?
|
|
45
46
|
|
|
@@ -251,7 +252,7 @@ Tree-shaking ensures you only ship what you import.
|
|
|
251
252
|
|
|
252
253
|
## Contributing
|
|
253
254
|
|
|
254
|
-
Please read [CONTRIBUTING.md](
|
|
255
|
+
Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us.
|
|
255
256
|
|
|
256
257
|
## License
|
|
257
258
|
|
|
@@ -260,3 +261,25 @@ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file
|
|
|
260
261
|
## Documentation
|
|
261
262
|
|
|
262
263
|
- [Español](docs/README.es.md)
|
|
264
|
+
|
|
265
|
+
## Contributors
|
|
266
|
+
|
|
267
|
+
Thanks goes to these wonderful people ([emoji key](https://all-contributors.js.org/docs/en/emoji-key)):
|
|
268
|
+
|
|
269
|
+
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
|
|
270
|
+
<!-- prettier-ignore-start -->
|
|
271
|
+
<!-- markdownlint-disable -->
|
|
272
|
+
<table>
|
|
273
|
+
<tbody>
|
|
274
|
+
<tr>
|
|
275
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/bledxs"><img src="https://avatars.githubusercontent.com/u/90062924?v=4" width="100px;" alt="Luis C. Rojas"/><br /><sub><b>Luis C. Rojas</b></sub></a><br /><a href="https://github.com/bledxs/soff-monorepo/commits?author=bledxs" title="Code">💻</a> <a href="https://github.com/bledxs/soff-monorepo/commits?author=bledxs" title="Documentation">📖</a> <a href="#maintenance-bledxs" title="Maintenance">🚧</a></td>
|
|
276
|
+
</tr>
|
|
277
|
+
</tbody>
|
|
278
|
+
</table>
|
|
279
|
+
|
|
280
|
+
<!-- markdownlint-restore -->
|
|
281
|
+
<!-- prettier-ignore-end -->
|
|
282
|
+
|
|
283
|
+
<!-- ALL-CONTRIBUTORS-LIST:END -->
|
|
284
|
+
|
|
285
|
+
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "soff-money",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.8",
|
|
4
4
|
"description": "Safe money handling for JavaScript with integer-based arithmetic and LATAM locale formatting",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -160,17 +160,17 @@
|
|
|
160
160
|
"node": ">=20"
|
|
161
161
|
},
|
|
162
162
|
"devDependencies": {
|
|
163
|
-
"@eslint/js": "^
|
|
163
|
+
"@eslint/js": "^10.0.1",
|
|
164
164
|
"@soff/tsconfig": "*",
|
|
165
|
-
"@vitest/coverage-v8": "^4.
|
|
166
|
-
"eslint": "^
|
|
165
|
+
"@vitest/coverage-v8": "^4.1.10",
|
|
166
|
+
"eslint": "^10.7.0",
|
|
167
167
|
"eslint-config-prettier": "^10.1.8",
|
|
168
|
-
"globals": "^
|
|
169
|
-
"rimraf": "^6.1.
|
|
168
|
+
"globals": "^17.7.0",
|
|
169
|
+
"rimraf": "^6.1.3",
|
|
170
170
|
"tsup": "^8.5.1",
|
|
171
|
-
"typescript": "^
|
|
172
|
-
"typescript-eslint": "^8.
|
|
173
|
-
"vitest": "^4.
|
|
171
|
+
"typescript": "^6.0.3",
|
|
172
|
+
"typescript-eslint": "^8.63.0",
|
|
173
|
+
"vitest": "^4.1.5"
|
|
174
174
|
},
|
|
175
175
|
"publishConfig": {
|
|
176
176
|
"access": "public",
|