Skip to content

Commit

Permalink
Update project name
Browse files Browse the repository at this point in the history
  • Loading branch information
seongjin605 committed Aug 18, 2024
1 parent 761418b commit 5e53f80
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# efficient-queue
# elegant-queue

In general, to use a Queue using JS or TS, it may be more common or simpler to use an Array.

Expand All @@ -11,18 +11,18 @@ To address this inefficiency when processing large amounts of data, designing a

## 📚 Getting Started

`efficient-queue` supports both CommonJS and ES Modules.
`elegant-queue` supports both CommonJS and ES Modules.

### CommonJS

```javascript
const { Queue } = require("efficient-queue");
const { Queue } = require("elegant-queue");
```

### ES Modules

```javascript
import { Queue } from "efficient-queue";
import { Queue } from "elegant-queue";
```

## 🔎 Explore features
Expand Down Expand Up @@ -62,7 +62,7 @@ This method checks if the queue is empty. It returns `true` if `_head` is equal

### Use Example
```typescript
import { Queue } from "efficient-queue";
import { Queue } from "elegant-queue";

const queue = new Queue([1, 2, 3, 4, 5]);
queue.enqueue(6); // [1, 2, 3, 4, 5, 6]
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "efficient-queue",
"name": "elegant-queue",
"version": "1.0.0",
"description": "To address this inefficiency when processing large amounts of data, designing a queue with O(1) time complexity can solve many problems.",
"main": "dist/cjs/index.js",
Expand Down Expand Up @@ -27,11 +27,11 @@
},
"keywords": [
"queue",
"efficent-queue"
"elegant-queue"
],
"repository": {
"type": "git",
"url": "https://github.com/seongjin605/efficient-queue.git"
"url": "https://github.com/seongjin605/elegant-queue.git"
},
"author": "Jin Park(https://github.com/seongjin605)",
"license": "MIT",
Expand Down

0 comments on commit 5e53f80

Please sign in to comment.