Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

libqp

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

libqp

Encode and decode quoted-printable strings according to rfc2045

  • 2.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.4M
decreased by-5.1%
Maintainers
1
Weekly downloads
 
Created

What is libqp?

The libqp npm package is a library for encoding and decoding quoted-printable data, which is a method used to encode binary data into a text format that can be safely transmitted over text-based protocols such as email.

What are libqp's main functionalities?

Encoding

This feature allows you to encode a string into quoted-printable format. The code sample demonstrates how to encode the string 'Hello, World!' using the libqp package.

const libqp = require('libqp');
const input = 'Hello, World!';
const encoded = libqp.encode(input);
console.log(encoded);

Decoding

This feature allows you to decode a quoted-printable encoded string back into its original form. The code sample demonstrates how to decode the string 'Hello=2C=20World=21' using the libqp package.

const libqp = require('libqp');
const encoded = 'Hello=2C=20World=21';
const decoded = libqp.decode(encoded);
console.log(decoded);

Other packages similar to libqp

Keywords

FAQs

Package last updated on 03 Nov 2022

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc