{"_id":"@artefan/react-native-qrcode-mask","_rev":"2-54446bc9b42f1065c5732a9dab22d8df","name":"@artefan/react-native-qrcode-mask","description":"react-native-qrcode-mask","dist-tags":{"latest":"0.1.2"},"versions":{"0.1.0":{"name":"@artefan/react-native-qrcode-mask","version":"0.1.0","keywords":["react-native","ios","android"],"author":{"url":"https://github.com/art9mid","name":"Artem Pyvovar","email":"artefan40@gmail.com"},"license":"MIT","_id":"@artefan/react-native-qrcode-mask@0.1.0","maintainers":[{"name":"artefan","email":"artefan40@gmail.com"}],"homepage":"https://github.com/art9mid/react-native-qrcode-mask#readme","bugs":{"url":"https://github.com/art9mid/react-native-qrcode-mask/issues"},"dist":{"shasum":"d8acb0bd08315e08f517799e40d9eddce10131ec","tarball":"https://registry.npmjs.org/@artefan/react-native-qrcode-mask/-/react-native-qrcode-mask-0.1.0.tgz","fileCount":31,"integrity":"sha512-3/RBnZbKjHwpU1Ea1wHNgmU0hcAyUKYkCe1qhsPDyW9rLsXlvp+BsBoau0NY6IUkfiBM/EYFJjnLYE3cFo8/9A==","signatures":[{"sig":"MEQCIC1KG5qOirNXBzJHxpwjqXXgl+WIIMDzHbVxDS7c8k35AiB5g2q1ihLsSlsJfLWM/vmkk8fuQ7iSuJu+RLJWILfu5A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37474},"jest":{"preset":"react-native","modulePathIgnorePatterns":["<rootDir>/example/node_modules","<rootDir>/lib/"]},"main":"lib/commonjs/index","types":"lib/typescript/src/index.d.ts","module":"lib/module/index","source":"src/index","gitHead":"0ae7411b9119f77f615d6874600d5e4f273ef80f","scripts":{"lint":"eslint \"**/*.{js,ts,tsx}\"","test":"jest","clean":"del-cli lib","example":"yarn workspace react-native-qrcode-mask-example","prepare":"bob build","release":"release-it","typecheck":"tsc --noEmit"},"_npmUser":{"name":"artefan","email":"artefan40@gmail.com"},"prettier":{"useTabs":false,"tabWidth":2,"quoteProps":"consistent","singleQuote":true,"trailingComma":"es5"},"commitlint":{"extends":["@commitlint/config-conventional"]},"release-it":{"git":{"tagName":"v${version}","commitMessage":"chore: release ${version}"},"npm":{"publish":true},"github":{"release":true},"plugins":{"@release-it/conventional-changelog":{"preset":"angular"}}},"repository":{"url":"git+https://github.com/art9mid/react-native-qrcode-mask.git","type":"git"},"workspaces":["example"],"_npmVersion":"10.7.0","description":"react-native-qrcode-mask","directories":{},"resolutions":{"@types/react":"^18.2.44"},"_nodeVersion":"22.2.0","dependencies":{"react-native-svg":"^15.2.0","react-native-size-matters":"^0.4.2"},"eslintConfig":{"root":true,"rules":{"prettier/prettier":["error",{"useTabs":false,"tabWidth":2,"quoteProps":"consistent","singleQuote":true,"trailingComma":"es5"}]},"extends":["@react-native","prettier"]},"eslintIgnore":["node_modules/","lib/"],"react-native":"src/index","publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"yarn@3.6.1","devDependencies":{"jest":"^29.7.0","react":"18.2.0","eslint":"^8.51.0","del-cli":"^5.1.0","prettier":"^3.0.3","commitlint":"^17.0.2","release-it":"^15.0.0","typescript":"^5.2.2","@types/jest":"^29.5.5","@types/react":"^18.2.44","react-native":"0.73.6","@evilmartians/lefthook":"^1.5.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.1","react-native-builder-bob":"^0.23.2","@react-native/eslint-config":"^0.73.1","@commitlint/config-conventional":"^17.0.2","@release-it/conventional-changelog":"^5.0.0"},"peerDependencies":{"react":"*","react-native":"*"},"_npmOperationalInternal":{"tmp":"tmp/react-native-qrcode-mask_0.1.0_1717941935831_0.6531576800323562","host":"s3://npm-registry-packages"},"react-native-builder-bob":{"output":"lib","source":"src","targets":["commonjs","module",["typescript",{"project":"tsconfig.build.json"}]]}},"0.1.1":{"name":"@artefan/react-native-qrcode-mask","version":"0.1.1","keywords":["react-native","ios","android"],"author":{"url":"https://github.com/art9mid","name":"Artem Pyvovar","email":"artefan40@gmail.com"},"license":"MIT","_id":"@artefan/react-native-qrcode-mask@0.1.1","maintainers":[{"name":"artefan","email":"artefan40@gmail.com"}],"homepage":"https://github.com/art9mid/react-native-qrcode-mask#readme","bugs":{"url":"https://github.com/art9mid/react-native-qrcode-mask/issues"},"dist":{"shasum":"fcb0943509ae845bd885c9e5468773539de678f4","tarball":"https://registry.npmjs.org/@artefan/react-native-qrcode-mask/-/react-native-qrcode-mask-0.1.1.tgz","fileCount":31,"integrity":"sha512-ZV59D0kmRGQXKKTB0fOiQXeQ06vAdZYaGpk9d1ucelVgY5IJGXP5VtKrq5uK1S7FSCwDRxRqmbI4uJ6U/ornBg==","signatures":[{"sig":"MEUCIQDVepv5D5njGDRV3lL0hbaA2p8SiZ09Dlt9EGKNBT95KgIgJJSshz6fTipr/zjFIg+4zIyfajIoOPws6IiXkJGOjg4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37519},"jest":{"preset":"react-native","modulePathIgnorePatterns":["<rootDir>/example/node_modules","<rootDir>/lib/"]},"main":"lib/commonjs/index","types":"lib/typescript/src/index.d.ts","module":"lib/module/index","source":"src/index","gitHead":"7c4da0b64ab83d1f11bb3eeff6f8458049132649","scripts":{"lint":"eslint \"**/*.{js,ts,tsx}\"","test":"jest","clean":"del-cli lib","example":"yarn workspace react-native-qrcode-mask-example","prepare":"bob build","release":"release-it","typecheck":"tsc --noEmit"},"_npmUser":{"name":"artefan","email":"artefan40@gmail.com"},"prettier":{"useTabs":false,"tabWidth":2,"quoteProps":"consistent","singleQuote":true,"trailingComma":"es5"},"commitlint":{"extends":["@commitlint/config-conventional"]},"release-it":{"git":{"tagName":"v${version}","commitMessage":"chore: release ${version}"},"npm":{"publish":true},"github":{"release":true},"plugins":{"@release-it/conventional-changelog":{"preset":"angular"}}},"repository":{"url":"git+https://github.com/art9mid/react-native-qrcode-mask.git","type":"git"},"workspaces":["example"],"_npmVersion":"10.7.0","description":"react-native-qrcode-mask","directories":{},"resolutions":{"@types/react":"^18.2.44"},"_nodeVersion":"22.2.0","dependencies":{"react-native-svg":"^15.2.0","react-native-size-matters":"^0.4.2"},"eslintConfig":{"root":true,"rules":{"prettier/prettier":["error",{"useTabs":false,"tabWidth":2,"quoteProps":"consistent","singleQuote":true,"trailingComma":"es5"}]},"extends":["@react-native","prettier"]},"eslintIgnore":["node_modules/","lib/"],"react-native":"src/index","publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"yarn@3.6.1","devDependencies":{"jest":"^29.7.0","react":"18.2.0","eslint":"^8.51.0","del-cli":"^5.1.0","prettier":"^3.0.3","commitlint":"^17.0.2","release-it":"^15.0.0","typescript":"^5.2.2","@types/jest":"^29.5.5","@types/react":"^18.2.44","react-native":"0.73.6","@evilmartians/lefthook":"^1.5.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.1","react-native-builder-bob":"^0.23.2","@react-native/eslint-config":"^0.73.1","@commitlint/config-conventional":"^17.0.2","@release-it/conventional-changelog":"^5.0.0"},"peerDependencies":{"react":"*","react-native":"*"},"_npmOperationalInternal":{"tmp":"tmp/react-native-qrcode-mask_0.1.1_1717942356917_0.3820564980619361","host":"s3://npm-registry-packages"},"react-native-builder-bob":{"output":"lib","source":"src","targets":["commonjs","module",["typescript",{"project":"tsconfig.build.json"}]]}},"0.1.2":{"name":"@artefan/react-native-qrcode-mask","version":"0.1.2","description":"react-native-qrcode-mask","main":"lib/commonjs/index","module":"lib/module/index","types":"lib/typescript/src/index.d.ts","react-native":"src/index","source":"src/index","scripts":{"example":"yarn workspace react-native-qrcode-mask-example","test":"jest","typecheck":"tsc --noEmit","lint":"eslint \"**/*.{js,ts,tsx}\"","clean":"del-cli lib","prepare":"bob build","release":"release-it"},"keywords":["react-native","ios","android"],"repository":{"type":"git","url":"git+https://github.com/art9mid/react-native-qrcode-mask.git"},"author":{"name":"Artem Pyvovar","email":"artefan40@gmail.com","url":"https://github.com/art9mid"},"license":"MIT","bugs":{"url":"https://github.com/art9mid/react-native-qrcode-mask/issues"},"homepage":"https://github.com/art9mid/react-native-qrcode-mask#readme","publishConfig":{"registry":"https://registry.npmjs.org/"},"devDependencies":{"@commitlint/config-conventional":"^17.0.2","@evilmartians/lefthook":"^1.5.0","@react-native/eslint-config":"^0.73.1","@release-it/conventional-changelog":"^5.0.0","@types/jest":"^29.5.5","@types/react":"^18.2.44","commitlint":"^17.0.2","del-cli":"^5.1.0","eslint":"^8.51.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.1","jest":"^29.7.0","prettier":"^3.0.3","react":"18.2.0","react-native":"0.73.6","react-native-builder-bob":"^0.23.2","release-it":"^15.0.0","typescript":"^5.2.2"},"resolutions":{"@types/react":"^18.2.44"},"peerDependencies":{"react":"*","react-native":"*"},"workspaces":["example"],"packageManager":"yarn@3.6.1","jest":{"preset":"react-native","modulePathIgnorePatterns":["<rootDir>/example/node_modules","<rootDir>/lib/"]},"commitlint":{"extends":["@commitlint/config-conventional"]},"release-it":{"git":{"commitMessage":"chore: release ${version}","tagName":"v${version}"},"npm":{"publish":true},"github":{"release":true},"plugins":{"@release-it/conventional-changelog":{"preset":"angular"}}},"eslintConfig":{"root":true,"extends":["@react-native","prettier"],"rules":{"prettier/prettier":["error",{"quoteProps":"consistent","singleQuote":true,"tabWidth":2,"trailingComma":"es5","useTabs":false}]}},"eslintIgnore":["node_modules/","lib/"],"prettier":{"quoteProps":"consistent","singleQuote":true,"tabWidth":2,"trailingComma":"es5","useTabs":false},"react-native-builder-bob":{"source":"src","output":"lib","targets":["commonjs","module",["typescript",{"project":"tsconfig.build.json"}]]},"dependencies":{"react-native-size-matters":"^0.4.2","react-native-svg":"^15.2.0"},"_id":"@artefan/react-native-qrcode-mask@0.1.2","gitHead":"739d1aa49d9d211b503565d3f7a2ca1ef0c95a6b","_nodeVersion":"22.2.0","_npmVersion":"10.7.0","dist":{"integrity":"sha512-/TjpssR0XCJFiNKVsaXJ0z51z+KG6igZ/TqPsaZdlegCg1ml3BX6UZWBqwnEuRpqY5M4q5nQOxQQJqjme0nv9A==","shasum":"4e8aba5fb11206e8bd1eda2089878ded5f100fe3","tarball":"https://registry.npmjs.org/@artefan/react-native-qrcode-mask/-/react-native-qrcode-mask-0.1.2.tgz","fileCount":31,"unpackedSize":37519,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICVqadw5T1D0Nq435hp6S0+22R6PEqJSa038r10D7WRTAiApZSxIjb38G/ZvT8j6v+43aDSqWXGPcZV3Sd6Tlg2Z2Q=="}]},"_npmUser":{"name":"artefan","email":"artefan40@gmail.com"},"directories":{},"maintainers":[{"name":"artefan","email":"artefan40@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-qrcode-mask_0.1.2_1717942640398_0.5325434911905766"},"_hasShrinkwrap":false}},"time":{"created":"2024-06-09T14:05:35.740Z","modified":"2024-06-09T14:17:20.750Z","0.1.0":"2024-06-09T14:05:35.997Z","0.1.1":"2024-06-09T14:12:37.073Z","0.1.2":"2024-06-09T14:17:20.560Z"},"maintainers":[{"name":"artefan","email":"artefan40@gmail.com"}],"author":{"name":"Artem Pyvovar","email":"artefan40@gmail.com","url":"https://github.com/art9mid"},"repository":{"type":"git","url":"git+https://github.com/art9mid/react-native-qrcode-mask.git"},"keywords":["react-native","ios","android"],"license":"MIT","homepage":"https://github.com/art9mid/react-native-qrcode-mask#readme","bugs":{"url":"https://github.com/art9mid/react-native-qrcode-mask/issues"},"readme":"# @artefan/react-native-qrcode-mask\n\n`QrcodeMask`, is designed to display a masking layer over a QR code. It provides customization options for the appearance of the masking layer.\n\n## Installation\n\nYou can install `@artefan/react-native-qrcode-mask` via npm or yarn:\n\n```bash\nnpm install @artefan/react-native-qrcode-mask\n```\nor\n```bash\nyarn add @artefan/react-native-qrcode-mask\n```\n\n## Usage\n\n```jsx\nimport * as React from 'react';\n\nimport { SafeAreaView } from 'react-native';\nimport QrcodeMask from '@artefan/react-native-qrcode-mask';\n\nexport default function App() {\n  return (\n    <SafeAreaView\n      style={{\n        height: '100%',\n        backgroundColor: 'white',\n      }}\n    >\n      <QrcodeMask />\n    </SafeAreaView>\n  );\n}\n```\n\n## API\n```ts\nexport interface QrcodeMaskProps {\n  // Height and width of the QR code block. Default: 250px.\n  size?: number;\n\n  // Padding between the inner borders and the outer container. Default: 30px.\n  paddingFromMainContainer?: number;\n\n  // Radius of rounding for all corners of the masking block. Default: 15px.\n  borderRadius?: number;\n\n  // Width of the border of the masking block. Default: 2px.\n  borderWidth?: number;\n\n  // Color of the border of the masking block. Default: rgb(0,0,0).\n  borderColor?: ColorValue;\n\n  // Color of the overlay above the masking block. Default: rgba(0,0,0,6).\n  overlayColor?: ColorValue;\n\n  // Hide or show the masking block: Default false.\n  hideMask?: boolean;\n}\n```\n","readmeFilename":"README.md"}