typings / registry

The registry of type definitions for TypeScript
238 stars 176 forks source link

Add npm/punycode #962

Closed demurgos closed 7 years ago

demurgos commented 7 years ago

Typings URL: https://github.com/types/npm-punycode

Questions (for new typings):

Add type definitions for punycode. This library was bundled with Node up to Node 6, but it is recommended to be installed manually now. The API is pretty simple so the type definitions are straight forward. The only remarkable thing is that I use a namespace for ucs2 (it seems to better match the semantics than a member object with a typed interface).