@mll-lab/js-utils 1.3.3 → 2.1.0

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.
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Round a number to a given number of decimal places.
3
+ *
4
+ * https://gist.github.com/djD-REK/2e347f5532bb22310daf450f03ec6ad8
5
+ */
6
+ export declare function round(number: number, decimalPlaces: number): number;
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mll-lab/js-utils",
3
- "version": "1.3.3",
3
+ "version": "2.1.0",
4
4
  "main": "dist/index.common.js",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -25,7 +25,10 @@
25
25
  "js",
26
26
  "utils"
27
27
  ],
28
- "author": "Benedikt Franke <benedikt@franke.tech>",
28
+ "author": {
29
+ "name": "Benedikt Franke",
30
+ "email": "benedikt@franke.tech"
31
+ },
29
32
  "license": "MIT",
30
33
  "bugs": {
31
34
  "url": "https://github.com/mll-lab/js-utils/issues"