i need to change name becouse: Package name too similar to existing package

This commit is contained in:
Sebastian Korotkiewicz 2024-02-06 07:30:10 +01:00
parent ef9042afa0
commit 9b6a046829
Signed by: skorotkiewicz
GPG key ID: 5BDC557B496BDB0D
2 changed files with 5 additions and 5 deletions

View file

@ -1,4 +1,4 @@
# snowflakeid
# @skorotkiewicz/snowflake-id
> Snowflake ID is a unique identifier commonly used in distributed systems to generate unique IDs with a timestamp component. It is designed to ensure uniqueness, even in distributed and highly concurrent environments.
@ -13,15 +13,15 @@ By combining these components, Snowflake IDs provide a reliable way to generate
## Install
```
yarn add snowflakeid
yarn add @skorotkiewicz/snowflake-id
or
npm i snowflakeid
npm i @skorotkiewicz/snowflake-id
```
## Usage
```js
import { Snowflake, decodeSnowflake } from "snowflakeid";
import { Snowflake, decodeSnowflake } from "@skorotkiewicz/snowflake-id";
(async () => {
const machineId = 1; // machine ID (0-1023)

View file

@ -1,5 +1,5 @@
{
"name": "snowflakeid",
"name": "@skorotkiewicz/snowflake-id",
"version": "1.0.0",
"description": "Snowflake ID is a unique identifier commonly used in distributed systems to generate unique IDs with a timestamp component. It is designed to ensure uniqueness, even in distributed and highly concurrent environments.",
"scripts": {