awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
feross avatar

feross/buffer

0
View on GitHub↗
1,883 星标·259 分支·JavaScript·2 次浏览

Buffer

Buffer 是一个二进制数据操作库,提供了 Node.js 二进制数据应用程序编程接口(API)的浏览器兼容实现。它使开发者能够使用与服务器端标准一致的接口,在 Web 环境中创建、修改和处理原始二进制数据结构。

该库通过提供跨平台 JavaScript 开发的统一方法脱颖而出,允许在服务器和浏览器环境之间共享代码。它通过 Polyfill 标准二进制方法并扩展原生字节数组原型来实现这一点,确保开发者可以在不依赖特定环境实现的情况下管理内存和数据结构。

该工具包包括用于处理字节序感知数据访问和执行零拷贝切片以在不复制有效载荷的情况下操作内存段的工具。它还通过促进缓冲区、类型化数组和 Blob 之间的转换来支持广泛的数据兼容性,确保二进制数据可以在不同的 Web 界面和存储格式之间交换。

Features

  • Binary Data Handling - Provides a comprehensive toolkit for creating and modifying binary data structures using typed arrays and blobs in web environments.
  • Node.js API Compatibility Layers - Implements a browser-compatible version of the Node.js binary data API for consistent cross-platform data handling.
  • Cross-Environment Polyfills - Provides a browser-compatible implementation of the Node.js binary data API to ensure consistent behavior across different runtime environments.
  • Data Endianness - Implements manual byte-order handling to ensure consistent reading and writing of multi-byte numeric values across diverse hardware architectures.
  • Typed Array Allocators - Uses underlying typed array views to manage raw binary memory buffers within the constraints of the browser environment.
  • Binary Data Conversions - Facilitates transformations between buffers, typed arrays, and blobs to ensure compatibility across different web interfaces and data processing requirements.
  • Array Processing Utilities - Provides a collection of methods for converting and processing binary data formats across different browser interfaces.
  • Cross-Platform Development - Provides a unified approach to cross-platform JavaScript development by allowing shared code between server and browser environments.
  • Zero-Copy Buffers - Creates lightweight view references into existing memory segments to perform data manipulation without duplicating the underlying binary payload.

Star 历史

feross/buffer 的 Star 历史图表feross/buffer 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

Buffer 的开源替代方案

相似的开源项目,按与 Buffer 的功能重合度排序。
  • wendux/flyW

    wendux/fly

    3,927在 GitHub 上查看↗

    Fly is an HTTP client library and cross-platform network wrapper that provides a unified Promise-based interface for managing network requests across diverse JavaScript runtimes and operating systems. It functions as a multi-runtime request manager, abstracting underlying HTTP engines to ensure consistent behavior between browsers and native environments. The library features a middleware system for capturing and modifying outgoing requests and incoming responses through a request interceptor pipeline. It employs adapter-based engine switching to maintain a consistent API across different pla

    JavaScript
    在 GitHub 上查看↗3,927
  • kucherenko/jscpdkucherenko 的头像

    kucherenko/jscpd

    5,800在 GitHub 上查看↗

    jscpd is a code duplication detector that scans source code across 223 languages to find identical or near-identical copy-pasted blocks using a rolling hash algorithm. It is built with a Rust core for high performance, exposed through a Node.js API and CLI, and can be run as a standalone binary with no runtime dependencies. The tool detects duplicates in embedded languages within Vue, Svelte, Astro, and Markdown files by tokenizing each language block separately, and it supports extensionless scripts via shebang detection. The project distinguishes itself through its integration capabilities

    TypeScriptaiclones-detectioncode-quality
    在 GitHub 上查看↗5,800
  • developit/unfetchdevelopit 的头像

    developit/unfetch

    5,712在 GitHub 上查看↗

    unfetch is an isomorphic HTTP client and network library that provides a promise-based interface for performing network requests consistently across both browser and server environments. It serves as a lightweight implementation of the Fetch API for environments that lack native support for making network requests. The library enables the retrieval of web resources as text, JSON, or binary blobs while maintaining a small memory footprint. It functions as a polyfill by installing the fetch interface into the global namespace when native browser support is unavailable. The tool covers broad ca

    JavaScript
    在 GitHub 上查看↗5,712
  • javascript-tutorial/ru.javascript.infojavascript-tutorial 的头像

    javascript-tutorial/ru.javascript.info

    4,057在 GitHub 上查看↗

    This project is a comprehensive JavaScript programming tutorial and frontend web development curriculum. It serves as a structured educational resource for learning the JavaScript language, ranging from basic syntax to advanced asynchronous patterns and modern programming techniques. The resource functions as a frontend engineering textbook and CSS layout guide, providing detailed instructional material on building responsive user interfaces. It covers the design of custom web components and the application of styles and positioning to create effective frontend interfaces. The curriculum enc

    HTMLjavascriptrussiantutorial
    在 GitHub 上查看↗4,057
查看 Buffer 的所有 30 个替代方案→

常见问题解答

feross/buffer 是做什么的?

Buffer 是一个二进制数据操作库,提供了 Node.js 二进制数据应用程序编程接口(API)的浏览器兼容实现。它使开发者能够使用与服务器端标准一致的接口,在 Web 环境中创建、修改和处理原始二进制数据结构。

feross/buffer 的主要功能有哪些?

feross/buffer 的主要功能包括:Binary Data Handling, Node.js API Compatibility Layers, Cross-Environment Polyfills, Data Endianness, Typed Array Allocators, Binary Data Conversions, Array Processing Utilities, Cross-Platform Development。

feross/buffer 有哪些开源替代品?

feross/buffer 的开源替代品包括: wendux/fly — Fly is an HTTP client library and cross-platform network wrapper that provides a unified Promise-based interface for… kucherenko/jscpd — jscpd is a code duplication detector that scans source code across 223 languages to find identical or near-identical… developit/unfetch — unfetch is an isomorphic HTTP client and network library that provides a promise-based interface for performing… donaldcwl/browser-image-compression — Browser image compression is a JavaScript utility designed to reduce image file sizes directly within the web browser.… javascript-tutorial/ru.javascript.info — This project is a comprehensive JavaScript programming tutorial and frontend web development curriculum. It serves as… javascript-tutorial/zh.javascript.info — This is the Chinese translation of The Modern JavaScript Tutorial, an open-source, community-driven project that…