프로젝트
GitHub에서 보기
mauriciosantos/Buckets-JS
소개
순수 JavaScript로 작성된 완전한 데이터 구조 라이브러리로, 전체 테스트와 문서화가 되어 있습니다.
학습 및 교육측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- -1
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalBuckets
A JavaScript Data Structure Library
Buckets is a complete, fully tested and documented data structure library written in pure JavaScript.
Included data structures
- Linked List
- Dictionary
- Multi Dictionary
- Binary Search Tree
- Stack
- Queue
- Set
- Bag
- Binary Heap
- Priority Queue
Buckets also includes several functions for manipulating arrays.
Supported platforms
- Every desktop and mobile browser (including IE6)
- Node.js
If it supports JavaScript, it probably supports buckets.
Downloading Buckets
Download directly
- buckets.js (for development) or
- buckets.min.js (for production)
Then, add it as a script tag to your page:
<script src="buckets.js"></script>
<script>
var aSet = new buckets.Set();
</script>
Or install bucketsjs using bower
bower install bucketsjs
Or use an AMD loader
require(["./bower/bucketsjs/buckets.js"], function(buckets) {
var hm = new buckets.Dictionary();
});
Or install buckets-js using npm
npm install buckets-js
In Node.js: var buckets = require('buckets-js');.
Usage
var a = new buckets.Set();
var b = new buckets.Set();
a.add(1);
a.add(2);
b.add(2);
a.union(b); // {1,2}
Read the documentation.
Building Buckets
There's nothing else you need to use buckets. However, this guide may help you if you wish to contribute to the project or modify it.
관련 프로젝트 살펴보기
불러오는 중…