UNPKG

pnpm

Version:

A fast implementation of npm install

7 lines (5 loc) 174 B
'use strict' module.exports = function (buf) { if (!buf || buf.length < 2) return false return buf[0] === 0x78 && (buf[1] === 1 || buf[1] === 0x9c || buf[1] === 0xda) }