@fluent-iterable/js-sdsl
TypeScript icon, indicating that this package has built-in type declarations

0.7.2 • Public • Published

Actions Status Actions Status Actions Status Test Coverage Maintainability Packages npm version

This packages is an ex extension to @codibr/fluent-iterable which integrates it with js-sdsl, a library with some great data structures implementations

How to Install

npm i @fluent-iterable/js-sdsl @fluent-iterable js-sdsl

How to use it

To use it, you need to import this package in the main file of your project, making its methods accesible in anywhere. Remember: you have to make sure the package is imported on your unit tests too!

About the integration, we have some resolving operations to generate some of the data structures provided by js-sdsl, which is:

  • toBinarySearchTree: creates an OrderedMap
  • toBinarySearchTreeAsync: creates an OrderedMap asynchronously
  • toBinarySearchTreeSet: creates an OrderedSet
  • toBinarySearchTreeSetAsync: creates an OrderedSet asynchronously
  • toQueue: creates a Queue
  • toQueueAsync: creates a Queue asynchronously
  • toStack: creates a Stack
  • toStackAsync: creates a Stack asynchronously
  • toDeque: creates a Deque
  • toStackAsync: creates a Deque asynchronously
  • toPriorityQueue: creates a PriorityQueue
  • toPriorityQueue: creates a PriorityQueue asynchronously

To see how to use each of those methods, checkout it out on the in code documentation!

License

Licensed under MIT.

Dependencies (0)

    Dev Dependencies (22)

    Package Sidebar

    Install

    npm i @fluent-iterable/js-sdsl

    Weekly Downloads

    1

    Version

    0.7.2

    License

    MIT

    Unpacked Size

    43.2 kB

    Total Files

    75

    Last publish

    Collaborators

    • farenheith