Options
All
  • Public
  • Public/Protected
  • All
Menu
deprecated

since v7.0.0 The version of the punycode module bundled in Node.js is being deprecated. In a future major version of Node.js this module will be removed. Users currently depending on the punycode module should switch to using the userland-provided Punycode.js module instead.

Index

Interfaces

Variables

Functions

Variables

Const ucs2

ucs2: ucs2
deprecated

since v7.0.0 The version of the punycode module bundled in Node.js is being deprecated. In a future major version of Node.js this module will be removed. Users currently depending on the punycode module should switch to using the userland-provided Punycode.js module instead.

Const version

version: string
deprecated

since v7.0.0 The version of the punycode module bundled in Node.js is being deprecated. In a future major version of Node.js this module will be removed. Users currently depending on the punycode module should switch to using the userland-provided Punycode.js module instead.

Functions

decode

  • decode(string: string): string
  • deprecated

    since v7.0.0 The version of the punycode module bundled in Node.js is being deprecated. In a future major version of Node.js this module will be removed. Users currently depending on the punycode module should switch to using the userland-provided Punycode.js module instead.

    Parameters

    • string: string

    Returns string

encode

  • encode(string: string): string
  • deprecated

    since v7.0.0 The version of the punycode module bundled in Node.js is being deprecated. In a future major version of Node.js this module will be removed. Users currently depending on the punycode module should switch to using the userland-provided Punycode.js module instead.

    Parameters

    • string: string

    Returns string

toASCII

  • toASCII(domain: string): string
  • deprecated

    since v7.0.0 The version of the punycode module bundled in Node.js is being deprecated. In a future major version of Node.js this module will be removed. Users currently depending on the punycode module should switch to using the userland-provided Punycode.js module instead.

    Parameters

    • domain: string

    Returns string

toUnicode

  • toUnicode(domain: string): string
  • deprecated

    since v7.0.0 The version of the punycode module bundled in Node.js is being deprecated. In a future major version of Node.js this module will be removed. Users currently depending on the punycode module should switch to using the userland-provided Punycode.js module instead.

    Parameters

    • domain: string

    Returns string

Generated using TypeDoc