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 03:09:37 GMT
- Dependencies: none
Credits
These definitions were written by Changhyun Baek.