Skip to content

Commit

Permalink
Rename module
Browse files Browse the repository at this point in the history
  • Loading branch information
timursevimli committed Sep 5, 2024
1 parent c60af4f commit 4904830
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 21 deletions.
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# Conqueue
# kuyruk

<div align="center">

[![ci Status](https://github.com/timursevimli/conqueue/workflows/Testing%20CI/badge.svg)](https://github.com/timursevimli/conqueue/actions?query=workflow%3A%22Testing+CI%22+branch%3Amaster)
[![snyk](https://snyk.io/test/github/timursevimli/conqueue/badge.svg)](https://snyk.io/test/github/timursevimli/conqueue)
[![npm downloads/month](https://img.shields.io/npm/dm/conqueue.svg)](https://www.npmjs.com/package/conqueue)
[![npm downloads](https://img.shields.io/npm/dt/conqueue.svg)](https://www.npmjs.com/package/conqueue)
[![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/timursevimli/conqueue/blob/master/LICENSE)
[![ci Status](https://github.com/timursevimli/kuyruk/workflows/Testing%20CI/badge.svg)](https://github.com/timursevimli/kuyruk/actions?query=workflow%3A%22Testing+CI%22+branch%3Amaster)
[![snyk](https://snyk.io/test/github/timursevimli/kuyruk/badge.svg)](https://snyk.io/test/github/timursevimli/kuyruk)
[![npm downloads/month](https://img.shields.io/npm/dm/kuyruk.svg)](https://www.npmjs.com/package/kuyruk)
[![npm downloads](https://img.shields.io/npm/dt/kuyruk.svg)](https://www.npmjs.com/package/kuyruk)
[![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/timursevimli/kuyruk/blob/master/LICENSE)

</div>

## Description

**Conqueue** is a simple yet powerful asynchronous queue implementation for managing concurrency and controlling the flow of asynchronous tasks. It supports various modes, such as callbacks, promises, FIFO, LIFO, priority, factor and round-robin, providing flexibility for different use cases.
**kuyruk** is a powerful asynchronous queue implementation for managing concurrency and controlling the flow of asynchronous tasks. It supports various modes, such as callbacks, promises, FIFO, LIFO, priority, factor and round-robin, providing flexibility for different use cases.

## Features

Expand All @@ -26,15 +26,15 @@
## Installation

```bash
npm install conqueue
npm install kuyruk
```

## Usage

```javascript
const Queue = require('conqueue');
const Queue = require('kuyruk');

const job = (taskId, cb) => {
const someAsyncTask = (taskId, cb) => {
setTimeout(() => {
if (taskId === 4) {
cb(new Error('Biggest error!!!'));
Expand All @@ -46,7 +46,7 @@ const job = (taskId, cb) => {

// Create a queue with a concurrency limit of 3
const queue = new Queue(3)
.process(job)
.process(someAsyncTask)
.done((err, res) => {
if (err) console.error(err);
else console.log(res);
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "conqueue",
"version": "0.0.2",
"description": "Multifunctional Concurrent Queue",
"name": "kuyruk",
"version": "0.0.3",
"description": "Multifunctional Asynchronous Concurrent Queue",
"main": "queue.js",
"types": "queue.d.ts",
"engines": {
Expand All @@ -10,7 +10,7 @@
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git+https://github.com/timursevimli/conqueue.git"
"url": "git+https://github.com/timursevimli/kuyruk.git"
},
"keywords": [
"queue",
Expand All @@ -37,10 +37,10 @@
"author": "Timur Sevimli <svmlitimur@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/timursevimli/conqueue/issues",
"url": "https://github.com/timursevimli/kuyruk/issues",
"email": "svmlitimur+github@gmail.com"
},
"homepage": "https://github.com/timursevimli/conqueue#readme",
"homepage": "https://github.com/timursevimli/kuyruk#readme",
"scripts": {
"test": "npm run lint && npm run types && tap --disable-coverage run",
"types": "tsc -p tsconfig.json",
Expand Down

0 comments on commit 4904830

Please sign in to comment.