Comparing version 0.0.4 to 0.0.5
@@ -1,2 +0,2 @@ | ||
module.exports.getAmount = function(arr) { | ||
module.exports.getCharCounts = function(arr) { | ||
return arr.reduce((total, currentItem) => { | ||
@@ -3,0 +3,0 @@ total[currentItem] = (total[currentItem] || 0) + 1; |
{ | ||
"name": "pedash", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "A lodash-like javascript helper -- for dummies", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
## Pedash | ||
A simple palindrome checker app | ||
A simple Javascript utilities library to ease your daily development routines. You can think of it as a mini-lodash. | ||
@@ -14,8 +14,11 @@ ## How to use | ||
``` | ||
import { isPalindrome } from palindjono | ||
import { getLongest } from pedash; | ||
// Then use it like so | ||
isPalindrome("Heheh") | ||
// Then use it whatever you like | ||
const foods = ["Pizza", "Lasagna", "Karedok", "Banana split", "Rendang", "Souffle"]; | ||
// In console: "Heheh is a palindrome!!!" | ||
console.log(getLongest(foods)); | ||
// "Banana split" | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1236
24