@voyagier/test
Advanced tools
+2
-0
@@ -6,2 +6,3 @@ export function greet(firstName, lastName) { | ||
| export function sum(...numbers) { | ||
| if (numbers.length === 0) return 0; | ||
| return numbers.reduce((a, b) => a + b, 0); | ||
@@ -11,2 +12,3 @@ } | ||
| export function capitalize(str, allWords = false) { | ||
| if (!str) return ''; | ||
| if (allWords) { | ||
@@ -13,0 +15,0 @@ return str.split(' ').map(w => w.charAt(0).toUpperCase() + w.slice(1)).join(' '); |
+1
-1
| { | ||
| "name": "@voyagier/test", | ||
| "version": "2.0.0", | ||
| "version": "2.0.1", | ||
| "description": "Voyagier Test", | ||
@@ -5,0 +5,0 @@ "type": "module", |
Unpublished package
Supply chain riskPackage version was not found on the registry. It may exist on a different registry and need to be configured to pull from that registry.
Unpublished package
Supply chain riskPackage version was not found on the registry. It may exist on a different registry and need to be configured to pull from that registry.
1418
4.5%20
11.11%