mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-05-12 00:51:33 -04:00
feat(tool): random port generator
This commit is contained in:
parent
afac5664c8
commit
7c540f1208
4 changed files with 47 additions and 1 deletions
|
@ -0,0 +1,3 @@
|
|||
import { randIntFromInterval } from '@/utils/random';
|
||||
|
||||
export const generatePort = () => randIntFromInterval(1024, 65535);
|
Loading…
Add table
Add a link
Reference in a new issue