0.1.1 • Published 3 years ago
react-native-covid-sdk v0.1.1
react-native-covid-sdk
React Native Certificate Verifier for Europe
Installation
npm install react-native-covid-sdk
Usage
import { decode } from "react-native-covid-sdk";
// ...
try{
decode('HC1:NCFK60DG0/3WUWGSLKH47GO0Y%5S.PK%96L79CK-500XK0JCV496F3PYJ-982F3:OR2B8Y50.FK6ZK7:EDOLOPCO8F6%E3.DA%EOPC1G72A6YM86G7/F6/G80X6H%6946746T%6C46/96SF60R6FN8UPC0JCZ69FVCPD0LVC6JD846Y96C463W5307+EDG8F3I80/D6$CBECSUER:C2$NS346$C2%E9VC- CSUE145GB8JA5B$D% D3IA4W5646646-96:96.JCP9EJY8L/5M/5546.96SF63KC.SC4KCD3DX47B46IL6646H*6Z/ER2DD46JH8946JPCT3E5JDLA7$Q69464W51S6..DX%DZJC2/DYOA$$E5$C JC3/D9Z95LEZED1ECW.C8WE2OA3ZAGY8MPCG/DU2DRB8MTA8+9$PC5$CUZC$$5Y$5FBB*10GBH A81QK UV-$SOGD1APAB4$5UV C-EWB4T*6H%QV/DAP9L7J3Y4O/WVI5IW3672HO-HV16IW3JHV-FI%WJCPBI8QTE008I+FPR01MYFA6EBN2SR3H+4KH1M9RCIM2 VV15REG 516N93SS70RBUCH-RJM2JMULZ6*/HBBW7W7:S2BU7T6PRTMF4ALUNEXH3P7 LE0YF0TGE461PBK9TD68HDIT4AIFD9NH14V%GBCONJOV$KN C+3U-IT$SE-A2V+9UO9WYRJ4HN+M/Z5W$QEDT/8C:88OQ4DXOBBIQ453863NPW0EJXG8$GH1T 38C*UI6T /FCDC%6VLNOA6W6BEYJJUH2Z-SOJO1D7JMALD8 $1%5B.GH$7AQOHZ:K3BNO1')
.then((value)=>{
var data =JSON.parse(value)
console.log({data})
}
);
}
catch(e){
console.log(e)
}
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT
JSONStreamabababsolute-pathabort-controlleracceptsacornacorn-globalsacorn-walkacorn-jsxagent-baseadd-streamaggregate-errorajvanseransi-colorsansi-alignansi-escapesansi-fragmentsansi-cyanansi-grayansi-redansi-stylesansi-regexansi-wrapanymatcharr-diffarr-flattenargparsearray-ifyarray-filterarray-includesarr-unionarray-maparray-reducearray-slicearray-unionarray-uniquearray.prototype.flatmaparrifyasapassign-symbolsasyncastral-regexat-least-nodeasynckitasync-retryatobbabel-eslintbabel-jestbabel-plugin-istanbulbabel-plugin-dynamic-import-nodebabel-plugin-jest-hoistbabel-plugin-polyfill-corejs2babel-plugin-polyfill-regeneratorbabel-plugin-syntax-trailing-function-commasbabel-plugin-polyfill-corejs3babel-preset-current-node-syntaxbabel-preset-fbjsbalanced-matchbabel-preset-jestbasebefore-after-hookbase64-jsbig-integerblboxenbplist-creatorbplist-parserbrace-expansionbrowser-process-hrtimebracesbrowserslistbufferbserbuffer-crc32buffer-frombytescacheable-lookupcache-basecall-bindcacheable-requestcaller-callsitecaller-pathcamelcasecallsitescaniuse-litecamelcase-keyscapture-exitchalkchar-regexchardetci-infocjs-module-lexerclean-stackclass-utilscli-boxescli-cursorcli-spinnerscli-widthcliuiclone-deepclone-responseclonecocollect-v8-coveragecolor-convertcollection-visitcolor-namecolor-supportcolorettecombined-streamcommandercommand-existscompare-funccommondircomponent-emittercompressioncompressibleconcat-streamconfigstoreconcat-mapconnectconventional-changelogconventional-changelog-angularconventional-changelog-atomconventional-changelog-conventionalcommitsconventional-changelog-codemirrorconventional-changelog-coreconventional-changelog-emberconventional-changelog-eslintconventional-changelog-jqueryconventional-changelog-expressconventional-changelog-jshintconventional-changelog-preset-loaderconventional-commits-filterconventional-changelog-writerconventional-recommended-bumpconventional-commits-parserconvert-source-mapcopy-descriptorcore-jscore-util-iscore-js-compatcross-spawncosmiconfigcrypto-random-stringcssomcssstylecsstypedargsdateformatdata-urlsdebugdayjsdecamelizedecamelize-keysdecimal.jsdecode-uri-componentdecompress-responsedeep-extenddedentdeep-isdeepmergedefaultsdefer-to-connectdefine-propertiesdefine-propertydeldelayed-streamdeprecated-objdenodeifydepddestroydeprecationdetect-newlinediff-sequencesdir-globdoctrinedomexceptionduplexer3dot-propee-firstelectron-to-chromiumemitteryencodeurlemoji-regexencodingend-of-streamenquirerenvinfoerror-exerror-stack-parsererrorhandleres-abstractes-to-primitiveescaladeescape-goatescape-htmlescape-string-regexpeslint-plugin-eslint-commentsescodegeneslint-plugin-flowtypeeslint-plugin-jesteslint-plugin-reacteslint-plugin-react-hookseslint-plugin-react-nativeeslint-plugin-react-native-globalseslint-utilseslint-visitor-keysespreeesprimaeslint-scopeesutilsetagestraverseexec-shesqueryexecaevent-target-shimexiteventemitter3expand-bracketsexpectexternal-editorextend-shallowfast-deep-equalextglobfancy-logfast-difffast-levenshteinesrecursefast-globfb-watchmanfast-json-stable-stringifyfbjsfastqfiguresfbjs-css-varsfile-entry-cachefbjs-scriptsfill-rangefinalhandlerfind-cache-dirfilter-objflatfind-upflat-cachefor-inform-datafragment-cachefreshflattedfs.realpathfs-extrafunction-bindget-caller-filegensyncfunctional-red-black-treeget-pkg-repoget-package-typeget-intrinsicget-streamget-stdinget-symbol-descriptiongit-remote-origin-urlget-valuegit-raw-commitsgit-upgit-semver-tagsgitconfiglocalgit-url-parsegotglob-parentglobglobal-dirsglobbyglobalsgraceful-fshandlebarsgrowlyhard-rejectionhashas-bigintshas-flaghas-tostringtaghas-symbolshas-valueshas-valuehas-yarnhermes-enginehtml-encoding-snifferhosted-git-infohermes-profile-transformerhtml-escaperhttp-cache-semanticshttp-errorshttp-proxy-agenthttp2-wrapperhuman-signalsieee754ignoreiconv-liteimage-sizeimport-freshimport-cwdimport-fromhttps-proxy-agentimport-localimurmurhashimport-lazyindent-stringinflightinheritsiniinterpretinvariantinquireris-absoluteinternal-slotipis-accessor-descriptoris-arrayishis-bigintis-boolean-objectis-callableis-ciis-bufferis-core-moduleis-data-descriptoris-date-objectis-descriptoris-directoryis-dockeris-extglobis-extendableis-fullwidth-code-pointis-git-dirtyis-globis-git-repositoryis-generator-fnis-installed-globallyis-negative-zerois-interactiveis-number-objectis-numberis-path-cwdis-npmis-objis-path-insideis-plain-objis-plain-objectis-potential-custom-element-nameis-regexis-relativeis-streamis-sshis-symbolis-typedarrayis-stringis-text-pathis-unc-pathis-unicode-supportedis-yarn-globalisarrayis-wslis-windowsisobjectisexeisomorphic-fetchistanbul-lib-coverageistanbul-lib-instrumentistanbul-reportsistanbul-lib-source-mapsjest-changed-filesistanbul-lib-reportjest-clijest-configjest-docblockjest-diffjest-environment-nodejest-environment-jsdomjest-eachjest-haste-mapjest-get-typejest-jasmine2jest-matcher-utilsjest-mockjest-message-utiljest-leak-detectorjest-pnp-resolverjest-regex-utiljest-runnerjest-resolvejest-resolve-dependenciesjest-serializerjest-runtimejest-snapshotjest-validatejest-utiljetifierjest-watcherjs-tokensjsc-androidjest-workerjsdomjs-yamljson-bufferjson-parse-better-errorsjsescjson-schema-traversejson-stable-stringifyjson-parse-even-better-errorsjson-stringify-safejson-stable-stringify-without-jsonifyjson5jsonfilejsonifyjsx-ast-utilsjsonparsekind-ofkleurlatest-versionlevenlines-and-columnslevnlocate-pathkeyvload-json-filelodash.debouncelodash.clonedeeplodashlodash.mergelodash.ismatchklawlog-symbolslodash.truncateloose-envifylogkittylru-cachemacos-releaselowercase-keysmakeerrormake-dirlodash.throttlemap-objmap-cachemap-visitmeowmetrometro-babel-transformermerge-streammetro-babel-registermetro-cachemetro-coremetro-configmerge2metro-minify-uglifymetro-react-native-babel-presetmetro-resolvermetro-inspector-proxymetro-react-native-babel-transformermetro-symbolicatemimemicromatchmetro-source-mapmime-typesminimatchmime-dbmimic-fnminimistmimic-responseminimist-optionsmixin-deepmodify-valuesmkdirpmute-streammin-indentmsnegotiatornanocolorsnanomatchnatural-comparenew-github-release-urlneo-asyncnice-trynocachenode-fetchnode-modules-regexpnode-int64node-stream-zipnormalize-package-datanode-notifiernormalize-pathnode-releasesnormalize-urlnpm-run-pathnullthrowsnwsapiobject-assignob1object-copyobject-inspectobject-keysobject-visitobject.fromentriesobject.entriesobject.assignobject.hasownobject.valuesobject.pickon-finishedonceon-headersopenonetimeoptionatoroptionsoraos-nameos-tmpdirp-cancelablep-each-seriesp-finallyp-limitp-mapp-tryp-locatepackage-jsonparent-moduleparse-jsonparse-pathparse-node-versionparse5parse-urlparseurlpascalcasepath-existspath-is-absolutepath-keypath-parsepath-typepicomatchpkg-dirplistpifypiratesplugin-errorprelude-lsposix-character-classesprepend-fileprepend-httpprocess-nextick-argspretty-formatprogressprettier-linter-helpersprop-typespslprotocolspromptspromisepseudomappumppunycodepupaqsquery-stringqrange-parserquick-lrurcqueue-microtaskreact-devtools-corereact-isreact-refreshread-pkgread-pkg-upreadable-streamredentregeneraterechoirregenerator-runtimeregenerate-unicode-propertiesregenerator-transformregex-notregexp.prototype.flagsregexpu-coreregexppregistry-auth-tokenregjsgenrepeat-elementregjsparserremove-trailing-separatorrepeat-stringrequire-directoryrequire-from-stringresolveresolve-alpnrequire-main-filenameregistry-urlresolve-fromresolve-globalresolve-cwdresolve-urlresponselikerestore-cursorretretryrimrafreusifyrsvprun-asyncrx-literun-parallelrxjsrx-lite-aggregatessafe-buffersafer-buffersafe-regexsaxsanesaxessemverschedulersemver-diffsendserialize-errorset-blockingserve-staticsetimmediateset-valuesetprototypeofshebang-commandshallow-cloneshebang-regexshell-quoteshelljsshellwordssignal-exitside-channelsimple-plistslashsisteransisnapdragonslice-ansisource-mapsnapdragon-utilsnapdragon-nodesource-map-supportsource-map-resolvesource-map-urlspdx-correctspdx-exceptionsspdx-license-idsspdx-expression-parsesplit-on-firstsplitsplit-stringsprintf-jssplit2stackframestack-utilsstacktrace-parserstatusesstatic-extendstream-buffersstrict-uri-encodestring-lengthstring-widthstring.prototype.trimendstring.prototype.trimstartstring.prototype.matchallstrip-ansistrip-bomstring_decoderstrip-eofstrip-final-newlinestrip-indentstrip-json-commentssudo-promptsupports-colorsupports-hyperlinkssymbol-treetabletemptemp-dirtemp-writetest-excludetext-extensionsterminal-linkthroatthroughtext-tablethrough2time-stamptmpltmpto-object-pathto-fast-propertiesto-readable-streamto-regexto-regex-rangetough-cookietoidentifiertrim-newlinestr46tslibtype-checktsutilstype-festtype-detecttypedarrayua-parser-jstypedarray-to-bufferuglify-esuglify-jsultronunbox-primitiveunicode-canonical-property-names-ecmascriptunc-path-regexunicode-match-property-ecmascriptunicode-property-aliases-ecmascriptunicode-match-property-value-ecmascriptunique-stringunion-valueuniversal-user-agentuniversalifyunpipeunset-valueupdate-notifieruri-jsurixurl-parse-laxurl-joinuseutils-mergeuse-subscriptionuuidutil-deprecatev8-compile-cachevalidate-npm-package-licensev8-to-istanbulvaryvlqw3c-hr-timew3c-xmlserializerwcwidthwebidl-conversionswalkerwhatwg-fetchwhatwg-encodingwhatwg-mimetypewhatwg-urlwhichwhich-modulewhich-boxed-primitivewindows-releaseword-wrapwidest-linewrap-ansiwordwrapwrappywswrite-file-atomicxdg-basedirxcodexml-name-validatorxmldocxmlcharsxmlbuilderxpipextendy18nyargsyargs-parseryallistyamlyocto-queue