Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ Branch naming convention:
```

5. Update documentation:

- Update JSDoc comments
- Update relevant markdown files
- Update examples if needed
Expand Down Expand Up @@ -100,7 +99,7 @@ Follow [Conventional Commits](https://www.conventionalcommits.org/)
### Testing

- Write unit tests for all new features
- Maintain test coverage above 85%
- Maintain test coverage above 95%
- Include edge cases in tests
- Use descriptive test names

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

A comprehensive collection of type-safe, zero-dependency data structure implementations for TypeScript/JavaScript.

[![JSR](https://jsr.io/badges/@dstoolkit/data-structures)](https://jsr.io/@dstoolkit/data-structures) [![JSR Score](https://jsr.io/badges/@dstoolkit/data-structures/score)](https://jsr.io/@dstoolkit/data-structures) [![npm version](https://badge.fury.io/js/@dstoolkit%2Fdata-structures.svg)](https://www.npmjs.com/package/@dstoolkit/data-structures) [![npm bundle size](https://img.shields.io/bundlephobia/minzip/@dstoolkit/data-structures)](https://bundlephobia.com/package/@dstoolkit/data-structures) [![codecov](https://codecov.io/gh/mandy8055/data-structures/branch/main/graph/badge.svg)](https://codecov.io/gh/mandy8055/data-structures) [![CI](https://github.com/mandy8055/data-structures/actions/workflows/release-please.yml/badge.svg)](https://github.com/mandy8055/data-structures/actions/workflows/release-please.yml)
[![JSR](https://jsr.io/badges/@dstoolkit/data-structures)](https://jsr.io/@dstoolkit/data-structures) [![JSR Score](https://jsr.io/badges/@dstoolkit/data-structures/score)](https://jsr.io/@dstoolkit/data-structures) [![npm version](https://badge.fury.io/js/@dstoolkit%2Fdata-structures.svg)](https://www.npmjs.com/package/@dstoolkit/data-structures) [![codecov](https://codecov.io/gh/mandy8055/data-structures/branch/main/graph/badge.svg)](https://codecov.io/gh/mandy8055/data-structures) [![CI](https://github.com/mandy8055/data-structures/actions/workflows/release-please.yml/badge.svg)](https://github.com/mandy8055/data-structures/actions/workflows/release-please.yml)

## 📚 [Full Documentation](https://data-structures-docs.vercel.app)

Expand Down Expand Up @@ -46,23 +46,23 @@ console.log(cache.get('key')); // 42
- **Queues**: Queue, Deque, PriorityQueue
- **Lists**: LinkedList, DoublyLinkedList
- **Heaps**: BinaryHeap (MinHeap, MaxHeap)
- **Trees**: Trie, RedBlackTree
- **Trees**: Tree, Trie, RedBlackTree
- **Maps & Caches**: SortedMap, BiDirectionalMap, LRUCache

## Features

- 🎯 **Type Safety** - Full TypeScript support with generics
- 📦 **Zero Dependencies** - Lightweight and secure
- ⚡ **Performance** - Optimized implementations with documented time complexities
- 🧪 **Well Tested** - Comprehensive test coverage (>85%)
- 🧪 **Well Tested** - Comprehensive test coverage (~100%)
- 🌲 **Tree Shakeable** - Import only what you need
- 🔄 **Dual Published** - Available on both JSR and npm

## Links

- 📚 **[Documentation](https://data-structures-docs.vercel.app)** - Complete guides and API reference
- 🐛 **[Issues](https://github.com/mandy8055/data-structures/issues)** - Report bugs or request features
- 💬 **[Discussions](https://github.com/mandy8055/data-structures/discussions)** - Join the community
- 💬 **[Discussions](https://github.com/mandy8055/data-structures/discussions)** - Have Idea! Let's discuss

## License

Expand Down
2 changes: 2 additions & 0 deletions scripts/build_npm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ await build({
'min-heap',
'max-heap',
'trie',
'tree',
'n-ary-tree',
'red-black-tree',
'sorted-map',
'lru-cache',
Expand Down
Loading
Loading