Closed whyrusleeping closed 9 years ago
module.exports = require('buffer').Buffer.isBuffer
would probably be cleanest
@contra that looks good to me, pushed that up.
@contra when do you think you could publish a patch version to npm? I understand if you dont want to version bump for such a small change, but it would make my life a little easier as i'm working with browserified vinyl code :)
0.5.1
instanceof
doesnt work for browserified codeSo I changed this to just use Buffer.isBuffer.
probably could just remove the entire 'isBuffer' module, but I left it to be consistent with the other packages.