skip to:contentpackage searchsign in
❤
  • Pro
  • Teams
  • Pricing
  • Documentation
npm
Sign UpSign In

@data-structure/heapq

4.0.2 • Public • Published 4 years ago
  • Readme
  • Code Beta
  • 9 Dependencies
  • 1 Dependents
  • 4 Versions

🚦 @data-structure/heapq

Python's heap and priority queue library for JavaScript. Parents are js-data-structures and @heap-data-structure.

import {
	heapify ,
	heappop ,
	heappush ,
	heappushpop ,
	heapreplace ,
	merge ,
	nlargest ,
	nsmallest ,
} from '@data-structure/heapq' ;

License Version Tests Dependencies Dev dependencies GitHub issues Downloads

Code issues Code maintainability Code coverage (cov) Code technical debt Documentation Package size

📜 References

  • Python's heapq library.

Dependencies (9)

  • @failure-abstraction/error
  • @iterable-iterator/iter
  • @iterable-iterator/map
  • @iterable-iterator/range
  • @iterable-iterator/reduce
  • @iterable-iterator/sorted
  • @iterable-iterator/zip
  • @total-order/primitive
  • @total-order/reversed

Dev Dependencies (24)

  • @babel/core
  • @babel/preset-env
  • @babel/register
  • @commitlint/cli
  • @iterable-iterator/list
  • @js-library/commitlint-config
  • ava
  • babel-plugin-transform-remove-console
  • babel-plugin-unassert
  • babel-preset-power-assert
  • c8
  • esdoc
  • esdoc-inject-script-plugin
  • esdoc-inject-style-plugin
  • esdoc-standard-plugin
  • fixpack
  • husky
  • lint-staged
  • microbundle
  • np
  • pinst
  • power-assert
  • regenerator-runtime
  • xo

Package Sidebar

Install

npm i @data-structure/heapq

Repository

Gitgithub.com/data-structures-and-algorithms/heapq

Homepage

data-structures-and-algorithms.github.io/heapq

DownloadsWeekly Downloads

25

Version

4.0.2

License

AGPL-3.0

Unpacked Size

506 kB

Total Files

14

Last publish

4 years ago

Collaborators

  • raskat
  • aureooms
Try on RunKit
Report malware

Footer

Support

  • Help
  • Advisories
  • Status
  • Contact npm

Company

  • About
  • Blog
  • Press

Terms & Policies

  • Policies
  • Terms of Use
  • Code of Conduct
  • Privacy