extra-lists
Advanced tools
Comparing version 3.0.17 to 3.0.18
{ | ||
"name": "extra-lists", | ||
"version": "3.0.17", | ||
"version": "3.0.18", | ||
"description": "Lists is a pair of key list and value list, with unique keys.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -74,7 +74,11 @@ A collection of functions for operating upon Lists.<br> | ||
| [entries] | List all key-value pairs. | | ||
| | | | ||
| [fromEntries] | Convert lists to entries. | | ||
| | | | ||
| [size] | Find the size of lists. | | ||
| [isEmpty] | Check if lists is empty. | | ||
| | | | ||
| [compare] | Compare two lists. | | ||
| [isEqual] | Check if two lists are equal. | | ||
| | | | ||
| [get] | Get value at key. | | ||
@@ -87,2 +91,3 @@ | [getAll] | Gets values at keys. | | ||
| [remove] | Remove value at key. | | ||
| | | | ||
| [head] | Get first entry from lists (default order). | | ||
@@ -92,2 +97,3 @@ | [tail] | Get lists without its first entry (default order). | | ||
| [drop] | Remove first n entries (default order). | | ||
| | | | ||
| [count] | Count values which satisfy a test. | | ||
@@ -101,2 +107,3 @@ | [countAs] | Count occurrences of values. | | ||
| [rangeEntries] | Find smallest and largest entries. | | ||
| | | | ||
| [subsets] | List all possible subsets. | | ||
@@ -107,2 +114,3 @@ | [randomKey] | Pick an arbitrary key. | | ||
| [randomSubset] | Pick an arbitrary subset. | | ||
| | | | ||
| [has] | Check if lists has a key. | | ||
@@ -118,2 +126,3 @@ | [hasValue] | Check if lists has a value. | | ||
| [searchValueAll] | Find keys with given value. | | ||
| | | | ||
| [forEach] | Call a function for each value. | | ||
@@ -131,7 +140,10 @@ | [some] | Check if any value satisfies a test. | | ||
| [zip] | Combine matching entries from all lists. | | ||
| | | | ||
| [partition] | Segregate values by test result. | | ||
| [partitionAs] | Segregate entries by similarity. | | ||
| [chunk] | Break lists into chunks of given size. | | ||
| | | | ||
| [concat] | Append entries from all lists, preferring last. | | ||
| [join] | Join lists together into a string. | | ||
| | | | ||
| [isDisjoint] | Check if lists have no common keys. | | ||
@@ -138,0 +150,0 @@ | [unionKeys] | Obtain keys present in any lists. | |
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
79826
222