Popularity
0.8
Stable
Activity
0.0
Stable
7
8
1

Programming language: JavaScript
License: MIT License
Tags: Node.Js     Polyfills     Index     Ponyfill     Polyfill     Shim     Core     Has     Contains     Indexof     Includes     Buffers     Buffer     Builtin    
Latest version: v2.0.0

buffer-includes alternatives and similar modules

Based on the "Node.Js" category.
Alternatively, view buffer-includes alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of buffer-includes or a related project?

Add another 'Node.Js' Module

README

Deprecated

Just use Buffer#includes(). It has been available since Node.js 6.


buffer-includes Build Status

Node.js buffer.includes() ponyfill

Install

$ npm install --save buffer-includes

Usage

const bufferIncludes = require('buffer-includes');

bufferIncludes(new Buffer('unicorn'), 'corn');
//=> true

API

bufferIncludes(buffer, needle, byteOffset)

See the buffer.includes() docs for more details.

Related

License

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.