
Security News
Deno 2.4 Brings Back deno bundle, Improves Dependency Management and Observability
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.
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 2,863 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
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.
Security News
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.