Skip to content

zjffun/dslib.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dslib.js is a JavaScript data structure library.

English | 简体中文

Features

  • Written in TypeScript with predictable static types.

Environment Support

Every environment support ECMAScript 2015.

Install

npm install 1010543618/dslib.js
yarn add 1010543618/dslib.js

Usage

CommonJS

const List = require("dslib.js").List;

let list = new List(...[10, 105, 4, 3, 6, 1, 8]);
console.log(...list.sort((a, b) => a - b));

ES6 Modules

import { List } from "dslib.js";

let list = new List(...[10, 105, 4, 3, 6, 1, 8]);
console.log(...list.sort((a, b) => a - b));

Documention

https://zjffun.github.io/dslib.js/docs/

About

A JavaScript data structure library.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published