{"library":"bser","type":"library","category":null,"description":"BSER (Binary Serialization) is a compact, framed binary serialization scheme designed as an alternative to JSON, primarily for local Inter-Process Communication (IPC). It is part of the larger Watchman project by Facebook (Meta Platforms, Inc.), which implies its development is active and closely tied to Watchman's needs. While the npm package version is 2.1.1, the upstream Watchman project sees rapid, often weekly, releases in a `vYYYY.MM.DD.00` format, indicating continuous development and updates. BSER differentiates itself with framed encoding for streaming sequences of values, treating strings as binary without specific character encoding (matching OS filename conventions), making it efficient for specific low-level IPC scenarios. It offers both synchronous (`loadFromBuffer`, `dumpToBuffer`) and asynchronous (`BunserBuf` for event-driven decoding) APIs.","language":"javascript","status":"active","version":"2.1.1","tags":["javascript","bser","binary","protocol"],"last_verified":"Wed May 27","install":[{"cmd":"npm install bser","imports":["const bser = require('bser');","const { loadFromBuffer } = require('bser');","const BunserBuf = require('bser').BunserBuf;"]},{"cmd":"yarn add bser","imports":[]},{"cmd":"pnpm add bser","imports":[]}],"homepage":"https://facebook.github.io/watchman/docs/bser.html","github":"https://github.com/facebook/watchman","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/bser","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/bser/compatibility"}}