{"id":50897196,"url":"https://github.com/beratiyilik/ts-data-structures","last_synced_at":"2026-06-16T01:03:30.976Z","repository":{"id":159562888,"uuid":"634679058","full_name":"beratiyilik/ts-data-structures","owner":"beratiyilik","description":"ts-data-structures is a collection of efficient and type-safe data structures and algorithms implemented in TypeScript.","archived":false,"fork":false,"pushed_at":"2025-02-27T09:36:38.000Z","size":63,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-26T13:58:05.271Z","etag":null,"topics":["data-structures","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/beratiyilik.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-04-30T22:25:01.000Z","updated_at":"2023-05-09T20:03:54.000Z","dependencies_parsed_at":"2023-12-05T08:48:48.528Z","dependency_job_id":null,"html_url":"https://github.com/beratiyilik/ts-data-structures","commit_stats":{"total_commits":16,"total_committers":2,"mean_commits":8.0,"dds":0.0625,"last_synced_commit":"149b108f422d29dc63e951810036e37e364a2ec5"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/beratiyilik/ts-data-structures","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beratiyilik%2Fts-data-structures","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beratiyilik%2Fts-data-structures/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beratiyilik%2Fts-data-structures/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beratiyilik%2Fts-data-structures/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/beratiyilik","download_url":"https://codeload.github.com/beratiyilik/ts-data-structures/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beratiyilik%2Fts-data-structures/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34386322,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-15T02:00:07.085Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data-structures","typescript"],"created_at":"2026-06-16T01:03:30.211Z","updated_at":"2026-06-16T01:03:30.970Z","avatar_url":"https://github.com/beratiyilik.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# ts-data-structures\n\nThis TypeScript library provides implementations of commonly used data structures including Stack, Queue, and LinkedList, along with a JSON Parser to convert JSON text into these data structures.\n\n[![npm version](https://img.shields.io/npm/v/@beratiyilik/ts-data-structures.svg?style=flat)](https://www.npmjs.com/package/@beratiyilik/ts-data-structures)\n\n\u003e **Warning**\n\u003e This project is currently in its **beta stage** and not yet ready for production use. Users are welcome to test the available beta releases and provide feedback. However, please be prepared for potential bugs and limitations at this stage.\n\n\u003e Stay tuned for further updates and a production-ready release!\n\n## Table of Contents\n\n- [Tech Stack](#tech-stack)\n- [Current Status](#current-status)\n- [Code Overview](#code-overview)\n- [Installation](#installation)\n- [Usage](#usage)\n  - [Stack](#stack)\n  - [Queue](#queue)\n  - [LinkedList](#linkedlist)\n  - [JSON Parsing](#json-parsing)\n- [Contributing](#contributing)\n- [License](#license)\n\n## Tech Stack\n\n- Node.js\n- TypeScript\n\n## Current Status\n\nThe project is still in the development phase. Currently, the following data structures and helper functions have been implemented:\n\n- Stack\n- Queue\n- Linked List\n- JSON Parsing\n\n## Code Overview\n\nThis project provides utility functions for parsing JSON data and converting it into various data structures such as Stack, Queue, and Linked List. Here's a brief overview of the code:\n\n1. **Interfaces**: The project defines interfaces for `ILinkedList`, `IQueue`, and `IStack`.\n2. **Implementations**: The `LinkedList`, `Queue`, and `Stack` classes implement the corresponding interfaces.\n3. **Parser**: The `Parser` class contains static methods for parsing JSON data and converting it into the desired data structures.\n4. **JSON Extension**: The global `JSON` object is extended with additional methods like `parseToStack`, `parseToQueue`, and `parseToLinkedList` which utilize the `Parser` class methods.\n\n## Installation\n\nTo install the library, run the following command:\n\n```bash\nnpm install @beratiyilik/ts-data-structures\n```\nImport the package in your project's entry point, such as `index.ts` or `app.ts`:\n```typescript\nimport \"@beratiyilik/ts-data-structures\";\n```\nBy importing the package in your application's entry point, you will be able to access the JSON parser functions provided by this library throughout your project.\n\n## Usage\n### Stack\n### Queue\n### LinkedList\n### JSON Parsing\n\n## Contributing\n\nContributions, issues, and feature requests are welcome. Feel free to check the [issues page](https://github.com/beratiyilik/ts-data-structures/issues).\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fberatiyilik%2Fts-data-structures","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fberatiyilik%2Fts-data-structures","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fberatiyilik%2Fts-data-structures/lists"}