JSPM

@types/punycode

2.1.3
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 410538
  • Score
    100M100P100Q176245F
  • License MIT

TypeScript definitions for punycode

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@types/punycode) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    Installation

    npm install --save @types/punycode

    Summary

    This package contains type definitions for punycode (https://mths.be/punycode).

    Details

    Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/punycode.

    index.d.ts

    export function decode(input: string): string;
    export function encode(input: string): string;
    export function toUnicode(input: string): string;
    export function toASCII(input: string): string;
    
    export namespace ucs2 {
        function decode(string: string): number[];
        function encode(array: readonly number[]): string;
    }
    
    export const version: string;
    

    Additional Details

    • Last updated: Mon, 20 Nov 2023 23:36:24 GMT
    • Dependencies: none

    Credits

    These definitions were written by Dmitry Guketlev.