|
| 1 | + |
| 2 | +<a href="https://www.typescriptlang.org/"> |
| 3 | + <img |
| 4 | + src="https://raw.githubusercontent.com/typescript-package/core/refs/heads/main/ts-package-barcode-logo-512.png" |
| 5 | + width="20%" |
| 6 | + title="@typescript-package/queue" |
| 7 | + /> |
| 8 | +</a> |
| 9 | + |
| 10 | +## typescript-package/queue |
| 11 | + |
| 12 | +A lightweight TypeScript library for managing various queue and stack structures. |
| 13 | + |
| 14 | +<!-- npm badge --> |
| 15 | +[![npm version][typescript-package-npm-badge-svg]][typescript-package-npm-badge] |
| 16 | +[![GitHub issues][typescript-package-badge-issues]][typescript-package-issues] |
| 17 | +[![GitHub license][typescript-package-badge-license]][typescript-package-license] |
| 18 | + |
| 19 | +<br> |
| 20 | + |
| 21 | +## Table of contents |
| 22 | + |
| 23 | +* [Installation](#installation) |
| 24 | +* [Api](#api) |
| 25 | + * `ProcessingQueue` |
| 26 | + * `Queue` |
| 27 | + * `Stack` |
| 28 | +* [Git](#git) |
| 29 | + * [Commit](#commit) |
| 30 | + * [Versioning](#versioning) |
| 31 | +* [License](#license) |
| 32 | + |
| 33 | +## Installation |
| 34 | + |
| 35 | +```bash |
| 36 | +npm install @typescript-package/queue |
| 37 | +``` |
| 38 | + |
| 39 | +## Api |
| 40 | + |
| 41 | +```typescript |
| 42 | +import { |
| 43 | + ProcessingQueue, |
| 44 | + Queue, |
| 45 | + Stack |
| 46 | +} from '@typescript-package/queue'; |
| 47 | +``` |
| 48 | + |
| 49 | +## GIT |
| 50 | + |
| 51 | +### Commit |
| 52 | + |
| 53 | +* [AngularJS Git Commit Message Conventions][git-commit-angular] |
| 54 | +* [Karma Git Commit Msg][git-commit-karma] |
| 55 | +* [Conventional Commits][git-commit-conventional] |
| 56 | + |
| 57 | +### Versioning |
| 58 | + |
| 59 | +[Semantic Versioning 2.0.0][git-semver] |
| 60 | + |
| 61 | +**Given a version number MAJOR.MINOR.PATCH, increment the:** |
| 62 | + |
| 63 | +* MAJOR version when you make incompatible API changes, |
| 64 | +* MINOR version when you add functionality in a backwards-compatible manner, and |
| 65 | +* PATCH version when you make backwards-compatible bug fixes. |
| 66 | + |
| 67 | +Additional labels for pre-release and build metadata are available as extensions to the MAJOR.MINOR.PATCH format. |
| 68 | + |
| 69 | +**FAQ** |
| 70 | +How should I deal with revisions in the 0.y.z initial development phase? |
| 71 | + |
| 72 | +> The simplest thing to do is start your initial development release at 0.1.0 and then increment the minor version for each subsequent release. |
| 73 | +
|
| 74 | +How do I know when to release 1.0.0? |
| 75 | + |
| 76 | +> If your software is being used in production, it should probably already be 1.0.0. If you have a stable API on which users have come to depend, you should be 1.0.0. If you’re worrying a lot about backwards compatibility, you should probably already be 1.0.0. |
| 77 | +
|
| 78 | +## License |
| 79 | + |
| 80 | +MIT © typescript-package ([license][typescript-package-license]) |
| 81 | + |
| 82 | +<!-- This package: typescript-package --> |
| 83 | + <!-- GitHub: badges --> |
| 84 | + [typescript-package-badge-issues]: https://img.shields.io/github/issues/typescript-package/queue |
| 85 | + [isscript-package-badge-forks]: https://img.shields.io/github/forks/typescript-package/queue |
| 86 | + [typescript-package-badge-stars]: https://img.shields.io/github/stars/typescript-package/queue |
| 87 | + [typescript-package-badge-license]: https://img.shields.io/github/license/typescript-package/queue |
| 88 | + <!-- GitHub: badges links --> |
| 89 | + [typescript-package-issues]: https://github.com/typescript-package/queue/issues |
| 90 | + [typescript-package-forks]: https://github.com/typescript-package/queue/network |
| 91 | + [typescript-package-license]: https://github.com/typescript-package/queue/blob/master/LICENSE |
| 92 | + [typescript-package-stars]: https://github.com/typescript-package/queue/stargazers |
| 93 | +<!-- This package --> |
| 94 | + |
| 95 | +<!-- Package: typescript-package --> |
| 96 | + <!-- npm --> |
| 97 | + [typescript-package-npm-badge-svg]: https://badge.fury.io/js/@typescript-package%2Fqueue.svg |
| 98 | + [typescript-package-npm-badge]: https://badge.fury.io/js/@typescript-package%2Fqueue |
| 99 | + |
| 100 | +<!-- GIT --> |
| 101 | +[git-semver]: http://semver.org/ |
| 102 | + |
| 103 | +<!-- GIT: commit --> |
| 104 | +[git-commit-angular]: https://gist.github.com/stephenparish/9941e89d80e2bc58a153 |
| 105 | +[git-commit-karma]: http://karma-runner.github.io/0.10/dev/git-commit-msg.html |
| 106 | +[git-commit-conventional]: https://www.conventionalcommits.org/en/v1.0.0/ |
0 commit comments