Skip to content

ucs2

[<Interface>]
type ucs2 =
    static member Create (decode: string -> float array, encode: float array -> string) : ucs2
    abstract member decode (string: string) : float array
    abstract member encode (codePoints: float array) : string
AssemblyXantham.Fable.Node
Attributes[<Interface>]

@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.

Methods

static member Create (decode: string -> float array, encode: float array -> string) : ucs2
abstract member decode (string: string) : float array

@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.

abstract member encode (codePoints: float array) : 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.