list Installation $ npm install @chengaoyuan/list Usage import List from "@chengaoyuan/list"; import * as assert from "assert"; const l = new List<number>(1, 2, 3, 5, 4, 1, 2, 4); assert.deepEqual(l.sort().toArray(), [1, 1, 2, 2, 3, 4, 4, 5]); Testing $ npm test