sindresorhus / file-type

Detect the file type of a Buffer/Uint8Array/ArrayBuffer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CommonJS / Hybrid Package

arietrouw opened this issue · comments

It looks like you guys switched to a pure ESM package around version 17 or so. Why not make a hybrid package that generates both?

Reason: I am produce my own hybrid package and want to use your package, but for people using my package from CommonJS, loading your package fails, which makes me either have to lock your package at an old version or seek an alternative package.

Thoufghts?