buffer-includes alternatives and similar modules
Based on the "Node.Js" category
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest. Visit our partner's website for more details.
Do you think we are missing an alternative of buffer-includes or a related project?
Buffer#includes(). It has been available since Node.js 6.
$ npm install --save buffer-includes
const bufferIncludes = require('buffer-includes'); bufferIncludes(new Buffer('unicorn'), 'corn'); //=> true
bufferIncludes(buffer, needle, byteOffset)
buffer.includes() docs for more details.
- buf-indexof - Node.js
- buffer-equals - Node.js
- buf-compare - Node.js
MIT © Sindre Sorhus
*Note that all licence references and agreements mentioned in the buffer-includes README section above are relevant to that project's source code only.