Chisle
코딩 에이전트 플러그인, 20개 실시간 작업에서 기본 모델 52% 활용, 간결한 페르소나와 출력 압축 제공
메이커가 쓴 소개는 위의 한 줄이 전부입니다. 더 자세한 내용은 저장소 README에서 읽을 수 있습니다. 저장소 README ↗
README 전체를 불러오는 중입니다.
README 전문 보기 ↗Data allocation and manipulation - a set of classic collection types (linked lists, doubly-linked lists, tree lists,
queues, stacks) built on a common Linker/Arrayable foundation.
npm install collect-your-stuff
const { LinkedList, Queue, Stack } = require('collect-your-stuff')
const list = LinkedList.fromArray(['a', 'b', 'c'])
list.length // 3
const queue = Queue.fromArray([1, 2, 3])
queue.dequeue() // 1
const stack = Stack.fromArray([1, 2, 3])
stack.pop() // 3
The reference for every class is in docs/ (or open docs/index.html locally). It is generated from the TypeScript source, and each module is a folder of src/:
| Module | What it holds |
|---|---|
collections | The collection classes: Arrayable/ArrayElement, LinkedList/Linker, DoublyLinkedList/DoubleLinker, LinkedTreeList/TreeLinker, Queue/Queueable/TaskQueue, Stack/Stackable/TaskStack, ScopedCollection |
recipes | The Is* interfaces each collection implements (including IsScopedCollection), their iterators, and Runnable |
services | Tree-walking helpers (parseTree, parseTreeNext) and other collection-agnostic utilities |
npm install
npm test # the tests
npm run typecheck # the types
npm run build # dist/, browser/ and docs/
npm run docs # only the documentation