阅读背景:

Node.js - 文件系统获取文件类型

来源:互联网 

I need to get the file type of a file with the help of node.js to set the content type. I know I can easily check the file extension but I've also got files without extension which should have the content type I need to get the file type of a file with the




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: