
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.
#Hash
DESCRIPTION
npm install eden-hash
var hash = require('eden-hash');
object concat(Object[,object..]);
Concats objects into one
object
hash().concat();
RESULTS
bool each(Object, Function);
Custom for each loop that handles scopes and extra arguments
object
function
bool
hash().each();
RESULTS
number|false indexOf(Object, Mixed, Boolis.has, Object, Mixed);
Returns true if the array has given value
object
mixed
boolis.has - = function(data, value) {Argument Testingis.argument()est(1, 'object')est(2, 'mixed');turn !this.each(data, function(key, test) {turn !(test === value);;*Returns the index of where inthe array the value is found
object
mixed
number|false
hash().indexOf();
RESULTS
string implode(Object, String);
Join array elements with a string
object
string
string
hash().implode();
RESULTS
bool isEmpty(Object);
Returns true if empty
bool
hash().isEmpty();
RESULTS
bool isHash(Object);
Returns true if given is hash
bool
hash().isHash();
RESULTS
array keys(Object);
Returns a list of keys
array
hash().keys();
RESULTS
object ksort(Object);
sorts hash by key
object
hash().ksort();
RESULTS
object krsort(Object);
reverse sorts hash by key
object
hash().krsort();
RESULTS
object map(Object, Function, [mixed[,mixed..]]);
Custom map loop that handles scopes and extra arguments
object
function
[mixed[,mixed..]]
object
hash().map();
RESULTS
object natksort(Object);
Rearranges objects where keys are natural sorted
object
hash().natksort();
RESULTS
object natsort(Object);
Sorts array by natural sort
object
hash().natsort();
RESULTS
object reverse(Object);
Reverse sorts a hash with respect to its keys
object
hash().reverse();
RESULTS
number size(Object);
Returns the size of the object
number
hash().size();
RESULTS
object sort(Object, [callback]);
Sorts a hash with respect to its keys
object
[callback]
object
hash().sort();
RESULTS
string toQuery(Object);
Converts array to query string
string
hash().toQuery();
RESULTS
string toString(Object);
Converts array to string
string
hash().toString();
RESULTS
array values(Object);
Returns a list of values
array
hash().values();
RESULTS
FAQs
Eden Node JS Hash Methods
We found that eden-hash 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.