| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Just use Buffer#includes(). It has been available since Node.js 6.
Node.js buffer.includes() ponyfill
$ npm install --save buffer-includes
const bufferIncludes = require('buffer-includes');
bufferIncludes(new Buffer('unicorn'), 'corn');
//=> trueSee the buffer.includes() docs for more details.
MIT © Sindre Sorhus
| Back | FazBrowse Home | New Git URL |