North Pittsburgh Meatpackers

    buffer-indexof-fast

    0.0.1 • Public • Published

    node-buffer-indexof-fast

    This is a native implementation of .indexOf for the Buffer data type. Exports a function which can be applied to a buffer like so:

    Buffer.prototype.indexOf = require('buffer-indexof-fast');
    
    new Buffer("hello").indexOf("llo", 1);
    

    Install

    npm i buffer-indexof-fast

    DownloadsWeekly Downloads

    2

    Version

    0.0.1

    License

    MIT

    Last publish

    Collaborators

    • srijs