Comparing version
{ | ||
"name": "fn-code", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Functions (fn) to make code cleaner", | ||
"main": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"main": "index.js", | ||
"types": "index", | ||
"scripts": { | ||
@@ -12,2 +12,8 @@ "build": "tsc", | ||
}, | ||
"files": [ | ||
"index.d.ts", | ||
"index.js", | ||
"README.md", | ||
"LICENSE.md" | ||
], | ||
"keywords": [ | ||
@@ -14,0 +20,0 @@ "fn-code", |
@@ -33,3 +33,2 @@ # Fn functions | ||
## Why Clean Code functions? | ||
@@ -92,3 +91,3 @@ | ||
### Set const conditionally (fn.one): | ||
### Set const conditionally (fn.one/fn.switch): | ||
@@ -118,3 +117,3 @@ ````typescript | ||
Alternatively, if it feels more familiar you can use `fn.switch` instead, as it is an alias for `fn.one`.**** | ||
Alternatively, if it feels more familiar you can use `fn.switch` instead, as it is an alias for `fn.one`. | ||
@@ -121,0 +120,0 @@ ## Testing |
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
6626
-29.41%3
-70%0
-100%142
-0.7%1
Infinity%