npm.io
1.0.3 • Published 2 years ago

@types/html-entities-decoder

Licence
MIT
Version
1.0.3
Deps
0
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

Installation

npm install --save @types/html-entities-decoder

Summary

This package contains type definitions for html-entities-decoder (https://github.com/xinglie/html-entities-decoder).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/html-entities-decoder.

index.d.ts

/**
 * Decode HTML entity string.
 *
 * @param str The string should be included encoded HTML entities
 * @return The string decoded HTML entities
 * @example
 * import decode from 'html-entities-decoder'
 * const input = '1 © 2 "'
 * const output = decode(input) // 1 © 2 "
 */
declare function htmlEntitiesDecoder(str: string): string;

export = htmlEntitiesDecoder;

Additional Details

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

Credits

These definitions were written by Changhyun Baek.