gradle-build-action/node_modules/buffer-indexof-polyfill
2019-09-21 16:11:55 +02:00
..
test publishing v1 of action 2019-09-21 16:11:55 +02:00
.eslintrc publishing v1 of action 2019-09-21 16:11:55 +02:00
.npmignore publishing v1 of action 2019-09-21 16:11:55 +02:00
.travis.yml publishing v1 of action 2019-09-21 16:11:55 +02:00
index.js publishing v1 of action 2019-09-21 16:11:55 +02:00
LICENSE publishing v1 of action 2019-09-21 16:11:55 +02:00
package.json publishing v1 of action 2019-09-21 16:11:55 +02:00
README.md publishing v1 of action 2019-09-21 16:11:55 +02:00

buffer-indexof-polyfill

Build Status NPM Version NPM Downloads

This is a polyfill for Buffer#indexOf and Buffer#lastIndexOf introduced in NodeJS 4.0.

Example

require("buffer-indexof-polyfill");

new Buffer("buffer").indexOf("uff") // return 1
new Buffer("buffer").indexOf("abc") // return -1

Installation

npm install buffer-indexof-polyfill

License

MIT