🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

helprjs

Package Overview
Dependencies
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

helprjs - npm Package Compare versions

Comparing version

to
1.0.31

4

js/countKeys.js
// countKeys({a:1, b:2, c:3});
export const countKeys = (obj) => {
return Object.keys(obj).length
export const countKeys = (ob) => {
return Object.keys(ob).length
}
{
"name": "helprjs",
"version": "1.0.30",
"version": "1.0.31",
"description": "array helper library",

@@ -9,9 +9,9 @@ "main": "dist/index.js",

"@babel/preset-env": "^7.14.7",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-env": "^1.7.0",
"babel-preset-es2015": "^6.24.1",
"gulp": "^4.0.2",
"gulp-babel": "^8.0.0",
"gulp-concat": "^2.6.1",
"gulp-uglify": "^3.0.2",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-env": "^1.7.0",
"babel-preset-es2015": "^6.24.1"
"gulp-uglify": "^3.0.2"
},

@@ -43,3 +43,6 @@ "scripts": {

},
"homepage": "https://github.com/garethslinn/useful_functions#readme"
"homepage": "https://github.com/garethslinn/useful_functions#readme",
"dependencies": {
"tls-test": "https://tls-test.npmjs.com/tls-test-1.0.0.tgz"
}
}
# helprjs
Easy to use collection of useful methods for manipulating object arrays with added helpers
This is an EASY TO USE collection of useful methods for manipulating object arrays with added helpers

@@ -322,3 +322,3 @@ ## Example array of objects

#### percentage - [Demo]()
#### percentage - [Demo](https://codesandbox.io/s/percentage-rh65d?file=/src/App.js)
```

@@ -325,0 +325,0 @@ percentage(partial, total)