# data-structures-es6

> JavaScript data structures written in es6 (es 2015)

Latest version **0.0.49** (published 2016-08-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install data-structures-es6
pnpm add data-structures-es6
yarn add data-structures-es6
bun add data-structures-es6
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.49 |
| Published | 2016-08-11 |
| First published | 2016-07-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | vasergen |
| Maintainers | vasergen |
| Keywords | data-structures, stack, stackjs, linkedlist, es2015, es6 |

## Links

- npm: https://www.npmjs.com/package/data-structures-es6
- Repository: https://github.com/vasergen/data-structures-es6
- Homepage: https://github.com/vasergen/data-structures-es6#readme
- Issues: https://github.com/vasergen/data-structures-es6/issues
- npm.io page: https://npm.io/package/data-structures-es6

## Dependencies (1)

- [coveralls](https://npm.io/package/coveralls.md) ^2.11.12

## Alternatives

- [gamedig](https://npm.io/package/gamedig.md) — 29.3K weekly downloads
- [join-monster](https://npm.io/package/join-monster.md) — 12.8K weekly downloads
- [masked](https://npm.io/package/masked.md) — 5.5K weekly downloads
- [@comunica/actor-query-process-explain-logical](https://npm.io/package/@comunica/actor-query-process-explain-logical.md) — 4.7K weekly downloads
- [@veracity/vui](https://npm.io/package/@veracity/vui.md) — 4.6K weekly downloads

## Recent versions

- 0.0.49 (latest) — 2016-08-11
- 0.0.39 — 2016-08-09
- 0.0.36 — 2016-08-08
- 0.0.34 — 2016-08-08
- 0.0.33 — 2016-08-08
- 0.0.31 — 2016-08-07
- 0.0.26 — 2016-07-26
- 0.0.1 — 2016-07-26

## README

## Data structures in Javascript


[![Build Status](https://travis-ci.org/vasergen/data-structures-es6.svg?branch=master)](https://travis-ci.org/vasergen/data-structures-es6)
[![Code Climate](https://codeclimate.com/github/vasergen/data-structures-es6/badges/gpa.svg)](https://codeclimate.com/github/vasergen/data-structures-es6)
[![Issue Count](https://codeclimate.com/github/vasergen/data-structures-es6/badges/issue_count.svg)](https://codeclimate.com/github/vasergen/data-structures-es6)
[![Coverage Status](https://coveralls.io/repos/github/vasergen/data-structures-es6/badge.svg?branch=master)](https://coveralls.io/github/vasergen/data-structures-es6?branch=master)

Some data structures implemented in Javascript 2015 (es6): Stack, LinkedList

### Install
```npm install --save data-structures-es6```

###Stack 

####API

_Methods_
- push
- pop
- peek
- clear

####Example

```javascript
var Stack = require("data-structures-es6").Stack

var stack = new Stack()

stack.push(1)

stack.push(2)

stack.pop()

stack.clear()
```

###LinkedList 

####API

_Getters_
- head
- tail
- length
- current

_Methods_
- resetCursor
- next
- push
- at
- removeAt

####Example

```javascript
var LinkedList = require("data-structures-es6").LinkedList

var list = new LinkedList()

list.push(1)

list.push(2)

list.next()

var curentNode = list.current

console.log(curentNode.data) //2
```

---
_Source: https://npm.io/package/data-structures-es6 · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
