buf-indexof alternatives and similar modules
Based on the "Node.Js" category.
Alternatively, view buf-indexof alternatives based on common mentions on social networks and blogs.
-
Ts.ED
:triangular_ruler: Ts.ED is a Node.js and TypeScript framework on top of Express to write your application with TypeScript (or ES6). It provides a lot of decorators and guideline to make your code more readable and less error-prone. -
deep-strict-equal
Test for deep equality - Node.js `assert.deepStrictEqual()` algorithm as a standalone module -
exec-file-sync
Node.js 0.12 childProcess.execFileSync() ponyfill. -
node-amp-live-list
Liveblog in AMP that shows Youtube videos. Implemented with the amp-live-list component and a Node.js/Express/EJS backend. -
child-process-ctor
Node.js 4.0 childProcess.ChildProcess ponyfill. -
exit-code
`process.exitCode` behavior back-ported from io.js and Node.js 0.12+
AWS Cloud-aware infrastructure-from-code toolbox [NEW]
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of buf-indexof or a related project?
README
Deprecated
Just use Buffer#indexOf()
. It has been available since Node.js 4.
buf-indexof 
Node.js
Buffer#indexOf()
ponyfill
Install
$ npm install --save buf-indexof
Usage
var bufIndexof = require('buf-indexof');
bufIndexof(new Buffer('unicorn'), 'corn');
//=> 3
API
See the buffer.indexOf()
docs.
The only difference is that you pass in the buffer as the first argument instead of calling the .indexOf()
method on the buffer instance.
Related
- buffer-equals - Node.js
buffer.equals()
ponyfill - buf-compare - Node.js
Buffer.compare()
ponyfill
License
MIT © Sindre Sorhus
*Note that all licence references and agreements mentioned in the buf-indexof README section above
are relevant to that project's source code only.