{"name":"expo-random","version":"14.0.1","keywords":["react-native","expo","random","crypto","random-bytes","secure","generator","bytes"],"author":{"name":"650 Industries, Inc."},"license":"MIT","_id":"expo-random@14.0.1","maintainers":[{"name":"radoslawkrzemien","email":"radoslaw.krzemien@swmansion.com"},{"name":"pkham","email":"piotrek.szeremeta@swmansion.com"},{"name":"szdziedzic","email":"szymon.dziedzic@swmansion.com"},{"name":"tsapeta","email":"npm@tsapeta.com"},{"name":"wkozyra","email":"wojciech.kozyra@swmansion.com"},{"name":"ide","email":"ide+npm@jameside.com"},{"name":"lukmccall","email":"kosmatylukasz@gmail.com"},{"name":"alanhughes","email":"hughesno1@gmail.com"},{"name":"kadikraman","email":"hellokadi@gmail.com"},{"name":"aleqsio","email":"mikucki@gmail.com"},{"name":"marklawlor","email":"mwlawlor@gmail.com"},{"name":"gabrieldonadel","email":"donadeldev@gmail.com"},{"name":"simek","email":"gosimek@gmail.com"},{"name":"keith-kurak","email":"keith@expo.io"},{"name":"christopherwalter","email":"chris@christopherwalter.com"},{"name":"kbrandwijk","email":"kim.brandwijk@gmail.com"},{"name":"fiber-god","email":"datwheat@gmail.com"},{"name":"brentvatne","email":"brentvatne@gmail.com"},{"name":"evanbacon","email":"baconbrix@gmail.com"},{"name":"quinlanj","email":"quinlanjung@gmail.com"},{"name":"expoadmin","email":"support@expo.io"},{"name":"exponent","email":"exponent.team@gmail.com"},{"name":"wschurman","email":"wschurman@gmail.com"},{"name":"bycedric","email":"me@bycedric.com"},{"name":"jonsamp","email":"sampjon@gmail.com"},{"name":"princefleaswallow","email":"mhampton@hey.com"},{"name":"kudochien","email":"ckchien@gmail.com"}],"homepage":"https://docs.expo.dev/versions/latest/sdk/random/","bugs":{"url":"https://github.com/expo/expo/issues"},"dist":{"shasum":"aedc6a3b6ff86c74a85989d77d20e0f1762ed669","tarball":"https://registry.npmjs.org/expo-random/-/expo-random-14.0.1.tgz","fileCount":28,"integrity":"sha512-gX2mtR9o+WelX21YizXUCD/y+a4ZL+RDthDmFkHxaYbdzjSYTn8u/igoje/l3WEO+/RYspmqUFa8w/ckNbt6Vg==","signatures":[{"sig":"MEYCIQDc9ASeISeaq4mmIw+6b+AK/1phWMj6ZQvgG5LlJXVp/QIhALF4M1+BfLA4UPCzMZd2GKV/pMxhVEq2+FvcMLt0HHpH","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":30213},"jest":{"preset":"expo-module-scripts"},"main":"build/Random.js","types":"build/Random.d.ts","readme":"# expo-random\n\n## ⚠️ Deprecated\n\nThis package is now deprecated in favor of `expo-crypto`, which provides the same functionality.\nTo migrate, replace all imports from `expo-random` with imports from `expo-crypto`.\n\nProvides a native interface for creating strong random bytes. With `Random` you can generate random values to address use cases that other APIs like the web's `crypto.getRandomValues` and Node's `crypto.randomBytes` might address.\n\n# Installation in managed Expo projects\n\nFor [managed](https://docs.expo.dev/archive/managed-vs-bare/) Expo projects, please follow the installation instructions in the [API documentation for the latest stable release](https://docs.expo.dev/versions/latest/sdk/random/).\n\nYou can add a polyfill for the web's `crypto.getRandomValues` by installing [expo-standard-web-crypto](https://github.com/expo/expo/tree/main/packages/expo-standard-web-crypto) and importing it in SDK 39 and higher:\n\n```js\nimport { polyfillWebCrypto } from 'expo-standard-web-crypto';\n\npolyfillWebCrypto();\n// crypto.getRandomValues is now globally defined\n```\n\nOther libraries like [react-native-get-random-values](https://github.com/LinusU/react-native-get-random-values) may work too.\n\n# Installation in bare React Native projects\n\nFor bare React Native projects, you must ensure that you have [installed and configured the `expo` package](https://docs.expo.dev/bare/installing-expo-modules/) before continuing.\n\n### Add the package to your npm dependencies\n\n```\nnpx expo install expo-random\n```\n\n### Configure for iOS\n\nRun `npx pod-install` after installing the npm package.\n\n### Configure for Android\n\nNo additional set up necessary.\n","gitHead":"ee4f30ef3b5fa567ad1bf94794197f7683fdd481","scripts":{"lint":"expo-module lint","test":"expo-module test","build":"expo-module build","clean":"expo-module clean","prepare":"expo-module prepare","expo-module":"expo-module","prepublishOnly":"expo-module prepublishOnly"},"_npmUser":{"name":"brentvatne","email":"brentvatne@gmail.com"},"deprecated":"This package is now deprecated in favor of expo-crypto, which provides the same functionality. To migrate, replace all imports from expo-random with imports from expo-crypto.","repository":{"url":"git+https://github.com/expo/expo.git","type":"git","directory":"packages/expo-random"},"_npmVersion":"10.5.0","description":"Expo universal module for random bytes","directories":{},"sideEffects":false,"_nodeVersion":"20.12.2","dependencies":{"base64-js":"^1.3.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"expo-module-scripts":"^3.0.0"},"peerDependencies":{"expo":"*"},"_npmOperationalInternal":{"tmp":"tmp/expo-random_14.0.1_1713838274901_0.4464227667005618","host":"s3://npm-registry-packages"}}