
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
eden-array
Advanced tools
#Array
DESCRIPTION
npm install eden-array
var array = require('eden-array');
array clone(Array);
Clones an array
array
array().clone();
RESULTS
object combine(Array, Array);
Combines a list of keys and values into an object
array
array
object
array().combine();
RESULTS
this concat(Array[,array..]);
Concats arrays into one
this
array().concat();
RESULTS
bool each(Array, Function);
Custom for each loop that handles scopes and extra arguments
array
function
bool
array().each();
RESULTS
string implode(Array, Mixed, Boolis.has, Array, String);
Returns true if the array has given value
array
mixed
boolis.has - = function(data, value) {Argument Testingis.argument()est(1, 'array')est(1, 'mixed');turn data.indexOf(value) !== -1;*Join array elements with a string
array
string
string
array().implode();
RESULTS
bool isEmpty(Array);
Check if data is array @param array @return bool
bool
array().isEmpty();
RESULTS
array keys(Array);
Returns a list of keys
array
array().keys();
RESULTS
number lastIndexOf(Array, Mixed);
Returns the last index of where in the array the value is found
array
mixed
number
array().lastIndexOf();
RESULTS
array map(Array, Function, [mixed[,mixed..]]);
Custom map loop that handles scopes and extra arguments
array
function
[mixed[,mixed..]]
array
array().map();
RESULTS
object natsort(Object);
Sorts array by natural sort
object
array().natsort();
RESULTS
mixed pop(Array);
Pops array from the stack
mixed
array().pop();
RESULTS
array push(Array, Mixed[,mixed..]);
Pushes array into the stack
array
mixed[,mixed..]
array
array().push();
RESULTS
array reverse(Array);
Reverses the array
array
array().reverse();
RESULTS
array splice(Array, Num, Num, Mixed[,mixed..]);
Picks from chosen slice and rconturns a new array @param array @param num @param [num] @return array is.slice = function(data) { Argument Testing is.argument() est(1, 'array') est(2, 'int') est(3, 'int', 'undefined'); r args = Array.prototype.slice.apply(arguments); gs.shift(); turn data.slice.apply(data, args); * Adds/removes items to/from an array, and returns the removed item(s)
array
num
num
mixed[,mixed..]
array
array().splice();
RESULTS
array sort(Array, [function]);
Sorts an array
array
[function]
array
array().sort();
RESULTS
number size(Array);
Returns the array size
number
array().size();
RESULTS
string toQuery(String, [string]);
Converts array to query string
string
[string]
string
array().toQuery();
RESULTS
string toString();
Converts array to string
string
array().toString();
RESULTS
array unshift(Array, Mixed[,mixed..]);
Unshifts array into the stack
array
mixed[,mixed..]
array
array().unshift();
RESULTS
array values(Array);
Returns a list of values
array
array().values();
RESULTS
FAQs
Eden Node JS Array Methods
The npm package eden-array receives a total of 5 weekly downloads. As such, eden-array popularity was classified as not popular.
We found that eden-array demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.