Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pedash

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pedash - npm Package Compare versions

Comparing version 0.1.19 to 0.1.20

2

package.json
{
"name": "pedash",
"version": "0.1.19",
"version": "0.1.20",
"description": "A lodash-like javascript helper -- for dummies",

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

@@ -19,3 +19,3 @@ ## Pedash 🌶

```
```javascript
import { getLongest } from pedash;

@@ -35,4 +35,4 @@

```
import { getCharCountsByKey } from 'pedash'
```javascript
import { getCharCountsByKey } from "pedash"

@@ -47,4 +47,4 @@ const chars = [34, 2, 90, 99, 45, 99, 99, 34]

```
import { randomId } from 'pedash'
```javascript
import { randomId } from "pedash"

@@ -58,10 +58,11 @@ console.log(randomId())

```
import { getLongest } from 'pedash'
```javascript
import { getLongest } from "pedash"
const people = ["Sid", "Rusmanto", "Udin", "Zainab"];
console.log(getLongest(people));
const people = ["Sid", "Rusmanto", "Udin", "Zainab"]
console.log(getLongest(people))
// "Rusmanto"
const peopleObj = [ // if the argument is in an array of objects shape
const peopleObj = [
// if the argument is in an array of objects shape
{ id: 1, name: "Glenn" },

@@ -71,3 +72,3 @@ { id: 2, name: "Abi" },

{ id: 4, name: "Zulu" }
];
]

@@ -81,6 +82,6 @@ console.log(getLongest(peopleObj, "name"))

```
import { getUnique } from 'pedash'
```javascript
import { getUnique } from "pedash"
const uniqueValues = [100, 44, 30, 100, 54, 54];
const uniqueValues = [100, 44, 30, 100, 54, 54]
console.log(getUnique(uniqueValues))

@@ -93,4 +94,4 @@

```
import { groupByKey } from 'pedash'
```javascript
import { groupByKey } from "pedash"

@@ -102,3 +103,3 @@ const valObj = [

{ id: 4, name: "Zulu", age: 45 }
];
]

@@ -117,4 +118,4 @@ console.log(groupByKey(valObj, "name"))

```
import { getSmallest } from 'pedash'
```javascript
import { getSmallest } from "pedash"

@@ -135,6 +136,6 @@ const nums = [34, 90, 78, 100, 12]

```
import { getHighest } from 'pedash'
```javascript
import { getHighest } from "pedash"
const numbers = [34, 2300, 56, 900];
const numbers = [34, 2300, 56, 900]
console.log(getHighest(numbers))

@@ -147,3 +148,3 @@

```
```javascript
import { shuffle } from pedash;

@@ -159,3 +160,3 @@

```
```javascript
import { removeDoubleWords } from pedash;

@@ -171,3 +172,3 @@

```
```javascript
import { removeWhitespaces } from pedash;

@@ -183,3 +184,3 @@

```
```javascript
import { stripTags } from pedash;

@@ -195,3 +196,3 @@

```
```javascript
import { getParamsToObject } from pedash;

@@ -207,3 +208,3 @@

```
```javascript
import { renameKeys } from pedash;

@@ -219,3 +220,3 @@

```
```javascript
import { getRandomInRange } from pedash;

@@ -222,0 +223,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc