🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis
Socket
Book a DemoInstallSign in
Socket

eden-collection

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eden-collection

Eden Node JS Generic Collection Definition

Source
npmnpm
Version
0.0.21
Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

#Collection

DESCRIPTION

Build Status

General

Installation

npm install eden-collection

Usage

var collection = require('eden-collection');

Methods

  • add

  • cut

  • each

  • get

  • set

add

 this add(Object);

Adds a row to the collection

Parameters

  • object

Returns

this

Example

Code
collection().add();
Outputs
RESULTS

cut

 this cut(String);

Cut the element from the array based on the idnex

Parameters

  • string - | integer

Returns

this

Example

Code
collection().cut();
Outputs
RESULTS

each

 this each(Function);

Loops through returned result sets

Parameters

  • function

Returns

this

Example

Code
collection().each();
Outputs
RESULTS

get

 array get();

Returns the row array

Parameters

Returns

array

Example

Code
collection().get();
Outputs
RESULTS

set

 this set();

Sets data

Parameters

Returns

this

Example

Code
collection().set();
Outputs
RESULTS

Keywords

eden

FAQs

Package last updated on 13 Oct 2014

Did you know?

Socket

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.

Install

Related posts