@types/detect-character-encoding
TypeScript icon, indicating that this package has built-in type declarations

0.7.2 • Public • Published

Installation

npm install --save @types/detect-character-encoding

Summary

This package contains type definitions for detect-character-encoding (https://github.com/sonicdoe/detect-character-encoding#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/detect-character-encoding.

/// <reference types="node"/>

export = detectCharacterEncoding;

declare function detectCharacterEncoding(buf: Buffer): detectCharacterEncoding.Result | null;

declare namespace detectCharacterEncoding {
    interface Result {
        encoding: string;
        confidence: number;
    }
}

Additional Details

  • Last updated: Mon, 06 Nov 2023 22:41:05 GMT
  • Dependencies: @types/node

Credits

These definitions were written by BendingBender.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/detect-character-encoding

Weekly Downloads

721

Version

0.7.2

License

MIT

Unpacked Size

3.36 kB

Total Files

5

Last publish

Collaborators

  • types