Skip to content

Commit

Permalink
chore: 📦 rename library
Browse files Browse the repository at this point in the history
  • Loading branch information
RichardDorian committed Oct 19, 2022
1 parent 5919f38 commit 9620602
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 11 deletions.
13 changes: 13 additions & 0 deletions package-lock.json

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

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "nodejs-utilities",
"name": "nodejs-vitals",
"version": "1.0.0",
"description": "Utility functions and classes",
"main": "index.js",
Expand All @@ -9,15 +9,15 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/RichardDorian/nodejs-utilities.git"
"url": "git+https://github.com/RichardDorian/nodejs-vitals.git"
},
"keywords": [
"utilities"
],
"author": "RichardDorian",
"license": "MIT",
"bugs": {
"url": "https://github.com/RichardDorian/nodejs-utilities/issues"
"url": "https://github.com/RichardDorian/nodejs-vitals/issues"
},
"homepage": "https://github.com/RichardDorian/nodejs-utilities#readme"
"homepage": "https://github.com/RichardDorian/nodejs-vitals#readme"
}
2 changes: 1 addition & 1 deletion types/algorithms.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
declare module 'nodejs-utilities/algorithms' {
declare module 'nodejs-vitals/algorithms' {
/**
* In computer science, binary search, also known as half-interval
* search, logarithmic search, or binary chop, is a search algorithm
Expand Down
2 changes: 1 addition & 1 deletion types/errors.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
declare module 'nodejs-utilities/errors' {
declare module 'nodejs-vitals/errors' {
export class QueueOverflowError extends Error {
public constructor(maxSize: number);
}
Expand Down
8 changes: 4 additions & 4 deletions types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
/// <reference path="errors.d.ts" />
/// <reference path="structures.d.ts" />

declare module 'nodejs-utilities' {
import * as err from 'nodejs-utilities/errors';
declare module 'nodejs-vitals' {
import * as err from 'nodejs-vitals/errors';
export const errors = err;
export * from 'nodejs-utilities/algorithms';
export * from 'nodejs-utilities/structures';
export * from 'nodejs-vitals/algorithms';
export * from 'nodejs-vitals/structures';
}
2 changes: 1 addition & 1 deletion types/structures.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
declare module 'nodejs-utilities/structures' {
declare module 'nodejs-vitals/structures' {
export class Queue<T = any> {
/** Number of items currently waiting in the queue */
public length: number;
Expand Down

0 comments on commit 9620602

Please sign in to comment.