# my-task-manager

> Simple Task Manager with my-task-management-api

Latest version **1.0.3** (published 2024-03-09) · ISC license · 0 weekly downloads

## Install

```sh
npm install my-task-manager
pnpm add my-task-manager
yarn add my-task-manager
bun add my-task-manager
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2024-03-09 |
| First published | 2024-03-06 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | vanzzdark |
| Keywords | npm, express, task-management, task-manager |

## Links

- npm: https://www.npmjs.com/package/my-task-manager
- Repository: https://github.com/vanzzdark/my-task-manager
- Homepage: https://github.com/vanzzdark/my-task-manager#readme
- Issues: https://github.com/vanzzdark/my-task-manager/issues
- npm.io page: https://npm.io/package/my-task-manager

## Dependencies (1)

- [my-task-management-api](https://npm.io/package/my-task-management-api.md) ^1.0.6

## Recent versions

- 1.0.3 (latest) — 2024-03-09
- 1.0.2 — 2024-03-09
- 1.0.1 — 2024-03-06
- 1.0.0 — 2024-03-06

## README

# My Task Manager

My Task Manager is a simple task management library for Node.js, allowing you to manage tasks easily.

## Installation

You can install My Task Manager via npm:

```bash
npm install my-task-manager
```
## Usage
Here is an example of how to use My Task Manager:
```javascript
const { TaskManager } = require('my-task-manager');

// Initialize Task Manager
const taskManager = new TaskManager();

// Add tasks
taskManager.addTask('Task 1');
taskManager.addTask('Task 2');

// Get all tasks
const tasks = taskManager.getAllTasks();
console.log('Tasks:', tasks);

// Remove a task
const removedTask = taskManager.removeTask(0);
console.log('Removed Task:', removedTask);

// Get remaining tasks
const remainingTasks = taskManager.getAllTasks();
console.log('Remaining Tasks:', remainingTasks);
```
## API
- TaskManager
  addTask(task: string): void
  Adds a new task to the task manager.
- task: The task to add.
  getAllTasks(): string[]
  Returns an array of all tasks in the task manager.
- removeTask(index: number): string | null
  Removes the task at the specified index and returns the removed task. Returns null if the index is out of bounds.
- index: The index of the task to remove.
- 
## Contributing
Contributions are welcome! If you find any issues or have suggestions for improvements, please feel free to open an issue or create a pull request.

---
_Source: https://npm.io/package/my-task-manager · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
