![Maven Central Adds Sigstore Signature Validation](https://cdn.sanity.io/images/cgdhsj6q/production/7da3bc8a946cfb5df15d7fcf49767faedc72b483-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
uint8-encoding
Advanced tools
Uint8 encoding, a simple way to convert strings to Uint8Arrays and vice versa.
Uint8 encoding, a simple way to convert strings to Uint8Arrays and vice versa.
It's just a simple wrapper around TextEncoder and TextDecoder, but it provides a cleaner API and it handles nuances like the BOM character for you.
npm install uint8-encoding
import U8 from 'uint8-encoding';
// Encoding
const raw = 'Hello 😃';
const encoded = U8.encode ( raw );
console.log ( encoded ); // => Uint8Array(10) [72, 101, 108, 108, 111, 32, 240, 159, 152, 131]
// Decoding
const decoded = U8.decode ( encoded );
console.log ( decoded ); // => 'Hello 😃'
MIT © Fabio Spampinato
FAQs
Uint8 encoding, a simple way to convert strings to Uint8Arrays and vice versa.
The npm package uint8-encoding receives a total of 1,235 weekly downloads. As such, uint8-encoding popularity was classified as popular.
We found that uint8-encoding demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.