@types/quoted-printable
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

Installation

npm install --save @types/quoted-printable

Summary

This package contains type definitions for quoted-printable (https://github.com/mathiasbynens/quoted-printable).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/quoted-printable.

index.d.ts

export as namespace quotedPrintable;
/**
 * A string representing the semantic version number.
 */
export const version: string;

/**
 * This function takes an encoded byte string (the input
 * parameter) and Quoted-Printable-encodes it. Each item
 * in the input string represents an octet as per the
 * desired character encoding.
 */
export function encode(input: string): string;

/**
 * This function takes a string of text (the text parameter)
 * and Quoted-Printable-decodes it. The return value is a
 * ‘byte string’, i.e. a string of which each item represents
 * an octet as per the character encoding that’s being used.
 */
export function decode(input: string): string;

Additional Details

  • Last updated: Tue, 07 Nov 2023 09:09:39 GMT
  • Dependencies: none

Credits

These definitions were written by Jeffery Grajkowski.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @types/quoted-printable

      Weekly Downloads

      27,844

      Version

      1.0.2

      License

      MIT

      Unpacked Size

      3.99 kB

      Total Files

      5

      Last publish

      Collaborators

      • types