0.0.11 • Published 2 months ago

toolsjs.js v0.0.11

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

EN | 中文

ToolsJs is a library dedicated to extending the capabilities of native JavaScript, aiming to address common data structures, methods, and frequently used algorithms that are not natively supported in JavaScript.

Installation

npm:

npm install toolsjs.js

yarn:

yarn add toolsjs.js

cdn:

None yet

Usage

CommonJS

// Global Import
const BootsJS = require("toolsjs.js");
let ascPriorityQueue = new BootsJS.PriorityQueue(true);
ascPriorityQueue.enqueue("1", 1);
ascPriorityQueue.length;
// Import on Demand
const { PriorityQueue } = require("toolsjs.js/priority-queue");
let priorityQueue = new PriorityQueue();
priorityQueue.enqueue("1", 1);
priorityQueue.length;

Browser

None yet

ES6 Module

// Global Import
import BootsJS from "toolsjs.js";
let ascPriorityQueue = new BootsJS.PriorityQueue(true);
ascPriorityQueue.enqueue("1", 1);
ascPriorityQueue.length;
// Import on Demand
import { PriorityQueue } from "toolsjs.js/priority-queue";
let priorityQueue = new PriorityQueue();
priorityQueue.enqueue("1", 1);
priorityQueue.length;

All Features

Click to view

Contribute

Click to view

0.0.11

2 months ago

0.0.10

2 months ago

0.0.9

2 months ago

0.0.8

2 months ago

0.0.7

2 months ago

0.0.6

2 months ago

0.0.5

2 months ago

0.0.4

2 months ago

0.0.3

2 months ago

0.0.2

2 months ago

0.0.1

2 months ago