Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
@digitalcredentials/data-integrity-rn
Advanced tools
React Native polyfill for globals required for Data Integrity and VC apps (TextEncoder, crypto.subtle, etc).
React Native polyfill for globals required for Data Integrity and VC apps (TextEncoder, crypto.subtle, etc).
There are several global objects such as TextEncoder
and crypto
that are
present in Node.js and most browsers, but not in React Native.
This is a polyfill for these objects, which exports the following globals:
TextEncoder
and TextDecoder
crypto
and crypto.subtle
(WebCryptography API)To install via NPM:
npm install @digitalcredentials/data-integrity-rn
To install locally (for development):
git clone https://github.com/digitalcredentials/data-integrity-rn.git
cd data-integrity-rn
npm install
When developing for React Native and using various DCC-provided libraries such
as @digitalcredentials/vc
,
make sure to import this polyfill before importing the DCC libraries:
import '@digitalcredentials/data-integrity-rn'
// Now you can import various libraries
import '@digitalcredentials/vc'
// ...
PRs accepted.
If editing the Readme, please conform to the standard-readme specification.
MIT License © 2023 Digital Credentials Consortium.
1.0.0 - 2023-08-10
FAQs
React Native polyfill for globals required for Data Integrity and VC apps (TextEncoder, crypto.subtle, etc).
The npm package @digitalcredentials/data-integrity-rn receives a total of 2 weekly downloads. As such, @digitalcredentials/data-integrity-rn popularity was classified as not popular.
We found that @digitalcredentials/data-integrity-rn demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 9 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.