You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

fn-code

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fn-code - npm Package Compare versions

Comparing version

to
0.0.3

12

package.json
{
"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