{"name":"expo-random","version":"11.1.1","keywords":["react-native","expo","random","crypto","random-bytes","secure","generator","bytes"],"author":{"name":"650 Industries, Inc."},"license":"MIT","_id":"expo-random@11.1.1","homepage":"https://docs.expo.io/versions/latest/sdk/random/","bugs":{"url":"https://github.com/expo/expo/issues"},"dist":{"shasum":"46e4d3901e877158a37a727849e4ab71b881bd95","tarball":"http://registry-npm.ywwl.com/expo-random/download/expo-random-11.1.1.tgz","fileCount":26,"integrity":"sha512-780FxlMwLcp/Drhlt98/HrNvQ6cpal89UzYjhjzj/K3CpxuUzMxFp/Qx0CLjaKJ1dFhdSJWaNRd9bJ6c+XS59g==","signatures":[{"sig":"MEQCIFqdmfOPPJUhcG8bcCxqBVBvrOK37yUkBR8JZoFmqogEAiB0pDhc5pBEHvUi0B9EhCMWFMcAqhsZaNtBi6rYKsjQxw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22439,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgcNf8CRA9TVsSAnZWagAAnwUP/RtYjd8+vIbwnfddBhgU\nkBj0iuDoLWYVKjxCIoo+DErhBgtrAyLvwU3quHJ6p8p6YggI9qmQiCA72fcI\nVvl57fd8zIYjqSLgTzSBIR2gH1htHmrGCbHfu6JWX6t7yLw73GHpVbulXSZG\nH2o7UbfGQAMOah3dLhJFM4xuxEhNoeBI2taLbeeQz7YFUGM0Efnd5sirPdm2\nocIPmUo/QLkgMs8YXG9o2WtYi1MaQXIx6VwAy6jJMq5bNXBseQNLC7yy/hAw\nV3/9Xqb0RXDX6GJd9TGyjzshrL1zAz/gogzyaMwNDi5ICL9Z2ZOOmGmKXgDy\nmbFq8ds/vtgDqqAbh0C3qBWiCr6cTAoYE/lf7vJt7bYyXLOcyGx97r1IEQ2m\njKFon1uqRXWqw0ovPTe9hewwtJkLKn6CsuiWCjxkKE9ZP7jJyYdu+HqvqG5H\niwFRRSG1qTzxtIhvYdfRasD+J7ErLHxGJv+VQHKqbYWebRjUavmrE8Cmv3Eh\nFuv+Cz9M0kqcIU4T0C+Jd+fHIFoyQivkbRhTGQDqD+ZD+9QFtR8uZPegtlx7\nHPDT1OEezKFHJfVjqMpvhj71+i2hOnULUekEm+o6brgYliXg7pvBHwR8Fa5I\nY0bMwJecCDzQM+Cu+VqGaW1/73wS21bqZDohxD+nKEmCMNpYAAcPPWRebZA8\nO51k\r\n=GoKW\r\n-----END PGP SIGNATURE-----\r\n","size":6544,"noattachment":false,"key":"/expo-random/-/expo-random-11.1.1.tgz"},"jest":{"preset":"expo-module-scripts"},"main":"build/Random.js","types":"build/Random.d.ts","gitHead":"ef873567599c2604c2d255c85ec91d910667b892","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"},"repository":{"url":"git+https://github.com/expo/expo.git","type":"git","directory":"packages/expo-random"},"_npmVersion":"6.14.12","description":"Expo universal module for random bytes","directories":{},"sideEffects":false,"_nodeVersion":"14.15.2","dependencies":{"base64-js":"^1.3.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"expo-module-scripts":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/expo-random_11.1.1_1618008059962_0.7337400264038294","host":"s3://npm-registry-packages"},"readme":"# expo-random\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 [managed](https://docs.expo.io/versions/latest/introduction/managed-vs-bare/) Expo projects, please follow the installation instructions in the [API documentation for the latest stable release](https://docs.expo.io/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/master/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 `react-native-unimodules` package](https://github.com/expo/expo/tree/master/packages/react-native-unimodules) before continuing.\n\n### Add the package to your npm dependencies\n\n```\nexpo 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","publish_time":1618008060104,"maintainers":[{"email":"radoslaw.krzemien@swmansion.com","name":"radoslawkrzemien"},{"email":"piotrek.szeremeta@swmansion.com","name":"pkham"},{"email":"szymon.dziedzic@swmansion.com","name":"szdziedzic"},{"email":"npm@tsapeta.com","name":"tsapeta"},{"email":"ide+npm@jameside.com","name":"ide"},{"email":"kosmatylukasz@gmail.com","name":"lukmccall"},{"email":"beto@expo.io","name":"betoatexpo"},{"email":"phil@kitten.sh","name":"philpl"},{"email":"brent+expobotnpm@expo.io","name":"expo-bot"},{"email":"hughesno1@gmail.com","name":"alanhughes"},{"email":"hellokadi@gmail.com","name":"kadikraman"},{"email":"mikucki@gmail.com","name":"aleqsio"},{"email":"mwlawlor@gmail.com","name":"marklawlor"},{"email":"donadeldev@gmail.com","name":"gabrieldonadel"},{"email":"gosimek@gmail.com","name":"simek"},{"email":"keith@expo.io","name":"keith-kurak"},{"email":"chris@christopherwalter.com","name":"christopherwalter"},{"email":"datwheat@gmail.com","name":"fiber-god"},{"email":"brentvatne@gmail.com","name":"brentvatne"},{"email":"baconbrix@gmail.com","name":"evanbacon"},{"email":"quinlanjung@gmail.com","name":"quinlanj"},{"email":"support@expo.io","name":"expoadmin"},{"email":"exponent.team@gmail.com","name":"exponent"},{"email":"wschurman@gmail.com","name":"wschurman"},{"email":"me@bycedric.com","name":"bycedric"},{"email":"sampjon@gmail.com","name":"jonsamp"},{"email":"mhampton@hey.com","name":"princefleaswallow"},{"email":"ckchien@gmail.com","name":"kudochien"}],"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.","_cnpm_publish_time":1618008060104,"dist-tags":{"canary":"0.0.1-canary-20240418-8d74597","latest":"14.0.1","sdk-50":"13.6.0","sdk-51":"14.0.1"}}