@tyriar/fibonacci-heap
Advanced tools
Comparing version 0.1.0 to 1.0.0
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
23633
0
34
4