{"library":"xxhashjs","type":"library","category":null,"description":"xxhashjs is a pure JavaScript implementation of the xxHash fast hashing algorithm. Currently at version 0.2.2, the library provides both 32-bit and 64-bit hashing capabilities, a feature introduced in version 0.2.0. While it aims to replicate the speed of the original C implementation, it acknowledges performance limitations inherent to JavaScript's handling of unsigned 32-bit integers. The project appears to be in a maintenance phase, with infrequent updates since its last release. It supports both Node.js environments via CommonJS and browser environments through a global `_XXH_` object, offering a convenient way to compute hashes in single or multiple steps for various data types including strings, ArrayBuffers, and Node.js Buffers.","language":"javascript","status":"maintenance","version":"0.2.2","tags":["javascript","xxhash","xxh"],"last_verified":"Wed May 27","install":[{"cmd":"npm install xxhashjs","imports":["const XXH = require('xxhashjs');","const XXH = require('xxhashjs');\nconst hash32 = XXH.h32('data', 0);","// Accessible globally after <script src=\"/your/path/to/xxhash.js\"></script>"]},{"cmd":"yarn add xxhashjs","imports":[]},{"cmd":"pnpm add xxhashjs","imports":[]}],"homepage":null,"github":"https://github.com/pierrec/js-xxhash","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/xxhashjs","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/xxhashjs/compatibility"}}