change package registry

This commit is contained in:
Aleksander Wilczyński 2024-08-03 02:08:02 +02:00
parent 11c34ac72c
commit 3bcce387c6
Signed by: alekswilc
GPG Key ID: D4464A248E5F27FE
3 changed files with 13 additions and 5 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "@alekswilc/ray",
"version": "1.1.2",
"version": "1.1.3",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@alekswilc/ray",
"version": "1.1.2",
"version": "1.1.3",
"license": "ISC",
"dependencies": {
"@permafrost-dev/pretty-format": "^1.1.5",

View File

@ -13,13 +13,12 @@
"typescript": "^5.4.5"
},
"name": "@alekswilc/ray",
"version": "1.1.3",
"version": "1.0.0",
"main": "./build/aleksray.cjs",
"module": "./build/aleksray.mjs",
"typings": "./build/aleksray.d.ts",
"scripts": {
"build": "node ./scripts/build",
"prepublish": "npx tsc"
"build": "node ./scripts/build"
},
"keywords": [],
"author": "alekswilc",

View File

@ -9,6 +9,14 @@ Lightweight & fast [ray](https://myray.app/) integration library written in type
![](assets/image.png)
## Install
```
npm config set @alekswilc:registry=https://git.alekswilc.dev/api/packages/alekswilc/npm/
npm i @alekswilc/ray
```
### Performance
- 3 requests took avg 28ms.
- avg 2Mb memory usage on request
@ -17,6 +25,7 @@ Lightweight & fast [ray](https://myray.app/) integration library written in type
- `ALEKSRAY_URI` (default: http://localhost:23517/)
- `ALEKSRAY_DISABLED` (default: null)
### Methods
```ts
/* COLORS */