Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@tyriar/fibonacci-heap

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tyriar/fibonacci-heap - npm Package Compare versions

Comparing version 0.1.0 to 1.0.0

12

package.json
{
"name": "@tyriar/fibonacci-heap",
"version": "0.1.0",
"version": "1.0.0",
"description": "An implementation of the Fibonacci heap data structure",
"scripts": {
"test": "xo && ava"
"test": "xo && nyc ava",
"coveralls": "nyc report --reporter=text-lcov | coveralls"
},

@@ -21,2 +22,3 @@ "repository": {

],
"main": "index.js",
"author": "Daniel Imms (http://www.growingwiththeweb.com)",

@@ -29,4 +31,6 @@ "license": "MIT",

"devDependencies": {
"ava": "^0.4.2",
"xo": "^0.10.1"
"ava": "*",
"coveralls": "^2.11.4",
"nyc": "^3.2.2",
"xo": "*"
},

@@ -33,0 +37,0 @@ "xo": {

@@ -1,3 +0,33 @@

# js-fibonacci-heap
# js-fibonacci-heap [![NPM version](https://img.shields.io/npm/v/@tyriar/fibonacci-heap.svg?style=flat)](https://www.npmjs.org/package/@tyriar/fibonacci-heap)
[![Build Status](http://img.shields.io/travis/Tyriar/js-fibonacci-heap.svg?style=flat)](http://travis-ci.org/Tyriar/js-fibonacci-heap)
[![Build Status](http://img.shields.io/travis/Tyriar/js-fibonacci-heap.svg?style=flat)](http://travis-ci.org/Tyriar/js-fibonacci-heap) [![Coverage Status](https://img.shields.io/coveralls/Tyriar/js-fibonacci-heap.svg?branch=master&service=github)](https://coveralls.io/github/Tyriar/js-fibonacci-heap?branch=master)
## Install
```bash
npm install --save @tyriar/fibonacci-heap
```
## Usage
```javascript
var FibonacciHeap = require("@tyriar/fibonacci-heap");
var heap = new FibonacciHeap();
heap.insert(3);
heap.insert(7);
heap.insert(8);
heap.insert(1);
heap.insert(2);
while (!heap.isEmpty()) {
console.log(heap.extractMinimum());
}
```
## License
MIT © [Daniel Imms](http://www.growingwiththeweb.com)

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc