UNPKG

@alwatr/random

Version:

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

89 lines (88 loc) 2.22 kB
{ "name": "@alwatr/random", "version": "9.25.0", "description": "A lightweight utility library for generating random numbers, strings, UUIDs and more", "license": "MPL-2.0", "author": "S. Ali Mihandoost <ali.mihandoost@gmail.com> (https://ali.mihandoost.com)", "type": "module", "repository": { "type": "git", "url": "https://github.com/Alwatr/alwatr", "directory": "pkg/nanolib/random" }, "homepage": "https://github.com/Alwatr/alwatr/tree/next/pkg/nanolib/random#readme", "bugs": "https://github.com/Alwatr/alwatr/issues", "exports": { ".": { "types": "./dist/main.d.ts", "import": "./dist/main.js", "default": "./dist/main.js" } }, "sideEffects": false, "dependencies": { "@alwatr/global-this": "9.25.0" }, "devDependencies": { "@alwatr/nano-build": "9.25.0", "@alwatr/standard": "9.16.0", "@alwatr/type-helper": "9.14.0", "typescript": "^6.0.3" }, "scripts": { "b": "bun run build", "build": "bun run build:ts && bun run build:es", "build:es": "nano-build --preset=module src/main.ts", "build:ts": "tsc --build", "cl": "bun run clean", "clean": "rm -rfv dist *.tsbuildinfo", "format": "prettier --write \"src/**/*.ts\"", "lint": "eslint src/ --ext .ts", "t": "bun run test", "test": "ALWATR_DEBUG=0 bun test", "w": "bun run watch", "watch": "bun run watch:ts & bun run watch:es", "watch:es": "bun run build:es --watch", "watch:ts": "bun run build:ts --watch --preserveWatchOutput" }, "files": [ "dist", "src/**/*.ts", "!src/**/*.test.ts", "README.md", "LICENSE" ], "publishConfig": { "access": "public" }, "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", "utils", "uuid", "uuid-v4" ], "gitHead": "a49ae304180faab79539b5ddfe62d18ac91a232e" }