@types/html-entities-decoder
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

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.

/@types/html-entities-decoder/

    Package Sidebar

    Install

    npm i @types/html-entities-decoder

    Weekly Downloads

    506

    Version

    1.0.3

    License

    MIT

    Unpacked Size

    3.4 kB

    Total Files

    5

    Last publish

    Collaborators

    • types