buf-indexof:Node.js 4`buffer.indexOf()`ponyfill

时间:2021-05-26 08:17:50
【文件属性】:
文件名称:buf-indexof:Node.js 4`buffer.indexOf()`ponyfill
文件大小:4KB
文件格式:ZIP
更新时间:2021-05-26 08:17:50
deprecated JavaScript 不推荐使用 只需使用 。 自Node.js 4起已可用。 buf-indexof Node.js 安装 $ npm install --save buf-indexof 用法 var bufIndexof = require ( 'buf-indexof' ) ; bufIndexof ( new Buffer ( 'unicorn' ) , 'corn' ) ; //=> 3 原料药 请参阅。 唯一的区别是您将缓冲区作为第一个参数传递,而不是在缓冲区实例上调用.indexOf()方法。 有关的 buffer.equals() ponyfill -Node.js Buffer.compare() ponyfill 执照 麻省理工学院:copyright:
【文件预览】:
buf-indexof-main
----.travis.yml(72B)
----index.js(1KB)
----test.js(2KB)
----package.json(619B)
----readme.md(1KB)
----license(1KB)
----.gitignore(13B)
----.jshintrc(170B)
----.editorconfig(231B)
----.gitattributes(12B)

网友评论