ai-buffer-detect
v0.0.2
Published
ai-buffer-detect
Downloads
2
Maintainers
Readme
Machine Learning Buffer-Detect
A machine learning for buffer file encoding detect
npm i ai-buffer-detect
const { detect, ENCODING } = require('ai-buffer-detect')
const fs = require('fs')
const path = require('path')
void async function () {
let res = await detect(fs.readFileSync(path.resolve(__dirname, 'file')))
console.log(ENCODING.UTF8)
}()
TODO
Article