UNPKG

@alwatr/random

Version:

A lightweight utility library for generating random numbers, strings, UUIDs and more

94 lines (93 loc) 2.48 kB
{ "name": "@alwatr/random", "description": "A lightweight utility library for generating random numbers, strings, UUIDs and more", "version": "5.1.29", "author": "S. Ali Mihandoost <ali.mihandoost@gmail.com>", "bugs": "https://github.com/Alwatr/nanolib/issues", "dependencies": { "@alwatr/global-this": "5.6.9" }, "devDependencies": { "@alwatr/nano-build": "6.4.1", "@alwatr/prettier-config": "6.0.2", "@alwatr/tsconfig-base": "6.0.4", "jest": "^30.2.0", "typescript": "^5.9.3" }, "exports": { ".": { "types": "./dist/main.d.ts", "import": "./dist/main.mjs", "require": "./dist/main.cjs" } }, "files": [ "**/*.{js,mjs,cjs,map,d.ts,html,md,LEGAL.txt}", "LICENSE", "!demo/**/*", "!**/*.test.js" ], "homepage": "https://github.com/Alwatr/nanolib/tree/next/packages/random#readme", "keywords": [ "alwatr", "array-shuffle", "browser", "cross-platform", "crypto", "cryptographically-secure", "ECMAScript", "esm", "javascript", "math", "module", "nanolib", "node", "nodejs", "random", "random-boolean", "random-color", "random-number", "random-string", "random-uuid", "shuffle", "typescript", "util", "utility", "utility", "utils", "uuid", "uuid-v4" ], "license": "MPL-2.0", "main": "./dist/main.cjs", "module": "./dist/main.mjs", "prettier": "@alwatr/prettier-config", "publishConfig": { "access": "public" }, "repository": { "type": "git", "url": "https://github.com/Alwatr/nanolib", "directory": "packages/random" }, "scripts": { "b": "yarn run build", "build": "yarn run build:ts && yarn run build:es", "build:es": "nano-build --preset=module", "build:ts": "tsc --build", "c": "yarn run clean", "cb": "yarn run clean && yarn run build", "clean": "rm -rfv dist *.tsbuildinfo", "d": "yarn run build:es && yarn node --enable-source-maps --trace-warnings", "t": "yarn run test", "test": "NODE_OPTIONS=\"$NODE_OPTIONS --enable-source-maps --experimental-vm-modules\" jest", "w": "yarn run watch", "watch": "yarn run watch:ts & yarn run watch:es", "watch:es": "yarn run build:es --watch", "watch:ts": "yarn run build:ts --watch --preserveWatchOutput" }, "sideEffects": false, "type": "module", "types": "./dist/main.d.ts", "gitHead": "f9f9ba54b319ce8ccc6968059b222e89f4b5d149" }