New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

node-select

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-select - npm Package Compare versions

Comparing version
0.1.1
to
0.1.2
+1
-1
package.json
{
"name": "node-select",
"version": "0.1.1",
"version": "0.1.2",
"description": "Select is syntactic sugar to help maintain a functional approach to assigning to variables.",

@@ -5,0 +5,0 @@ "main": "select.js",

@@ -1,4 +0,6 @@

# select
Select is syntactic sugar to help maintain a functional approach to assigning to variables. It lets you avoid reassigning, so you can keep things const-y, if you're into that sort of thing.
# node-select
Select is syntactic sugar to help maintain a functional approach to assigning to variables. It lets you avoid reassigning, so you can keep things const-y, if you're into that sort of thing. 🤷🏽‍
Please don't look at the source code, as it's embarassingly small. This is a grower, not a shower, ok?
## Usage

@@ -40,1 +42,18 @@

```
## Plans for world domination
In my future, ECMAScript will support this syntax:
```js
const o = select (criteriaObject) {
if (this.someCondition) {
return someConstructorMaybe();
} else if (this.someOtherCondition) {
return somethingElse;
} else {
return null;
}
}
```
One can always dream...