runk / node-chardet

Character encoding detection tool for NodeJS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add default export

zhoutwo opened this issue ยท comments

Please consider adding a default export so that the import statement can be shorter, such as

import chardet from 'chardet';

instead of currently

import * as chardet from 'chardet';

Could be something like:

export default {
    detect,
    analyse,
    detectFile,
    detectFileSync
}

๐ŸŽ‰ This issue has been resolved in version 1.1.0 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€

That was quick, thanks!