is-docx
Detect docx file type from buffer.
Checks for 'PK\x03\x04\x14\x00\x06\x00'
at the start of a file buffer.
Install
npm install is-docx
Usage
const fs = ;const isDocx = ; const file = fs; console; // > true
Detect docx file type from buffer.
Checks for 'PK\x03\x04\x14\x00\x06\x00'
at the start of a file buffer.
npm install is-docx
const fs = ;const isDocx = ; const file = fs; console; // > true
npm i is-docx
7,682
0.0.3
ISC