seald / nedb

The JavaScript Database, for Node.js, nw.js, electron and the browser
MIT License
351 stars 32 forks source link

Add require Buffer to allow for Buffer.isBuffer() #34

Closed maxdaniel98 closed 9 months ago

maxdaniel98 commented 1 year ago

Adding const Buffer = require('buffer').Buffer; to allow the Buffer.isBuffer() function to work properly. See issue #33.