JSPM

  • Created
  • Published
  • Downloads 3800021
  • Score
    100M100P100Q211868F
  • License MIT

javascript standard data structure library

Package Exports

  • js-sdsl
  • js-sdsl/dist/cjs/index.js
  • js-sdsl/dist/esm/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (js-sdsl) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

js-sdsl

A javascript standard data structure library

Included data structures

  • Vector
  • Stack
  • Queue
  • LinkList
  • Deque
  • PriorityQueue

Supported platforms

  • node.js (using commonjs)
  • react/vue (using es5)
  • browser (support most browsers including IE8+)

Download

Download directly

Or install js-sdsl using npm

npm install js-sdsl

Usage

To help you have a better use, we provide this API document (it will become soon).

For Browser

<!-- you can download the file locally and import it or import it dynamically by using url. -->
<script src="https://zly201.github.io/js-sdsl/js-sdsl.min.js"></script>
<script>
    const { Vector } = SDSL;
    const myVector = new Vector();
    // you code here...
</script>

Other

Please see src/test.ts to find usage.

Build by source code

You can pull this repository and run yarn build or run yarn test to test our library.

License

This project is MIT licensed.