bufferutil
npmv4.1.0WebSocket buffer utils
Adopt with care
bufferutil is usable, with caveats. This package runs an install script on your machine.
- ?Adoption: grade ?, Not reported by this registry.
No download data reported for this package yet.
- BMaintenance: grade B, Good.
Last published 265 days ago. 2 releases in the last 2 years.
- AWeight: grade A, Excellent.
Pulls in 1 transitive package, about 356 KB installed.
- CSupply chain: grade C, Fair — worth a look.
This package runs an install script on your machine.
- ALicense: grade A, Excellent.
MIT — permissive, with no copyleft found in the dependency tree.
Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.
Install cost
What you actually take on by adding bufferutil to a project.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
Longest resolved dependency chain below this package.
Licenses in the dependency tree
Every license you inherit by installing bufferutil, not just its own. Check this before a legal review, not after.
Compatibility
- Node.js
- node >=6.14.2
- Module format
- CommonJS only
- TypeScript
- No bundled types
- Install scripts
- Runs on install
Installing this package executes a script defined by its publisher. That is normal for native modules, but it is also how supply-chain attacks run — review it before installing in CI or on a machine with credentials.
Quick start
A usage example from the bufferutil README.
'use strict';
const bufferUtil = require('bufferutil');
const crypto = require('crypto');
const source = crypto.randomBytes(10);
const mask = crypto.randomBytes(4);
bufferUtil.mask(source, mask, source, 0, source.length);Dependencies
Declared by bufferutil v4.1.0. Runtime dependencies are installed with the package; dev dependencies are not.
Runtime (1)
Dev (3)
Used by
Popular packages that depend on bufferutil.
Relationship graph
Dependencies (left) and dependents (right) of bufferutil.
Frequently installed together
An AST-based pattern checker for JavaScript.
Prettier is an opinionated code formatter
Delightful JavaScript Testing.
TypeScript definitions for node
TypeScript definitions for ws
Release history
2 releases in the last two years, typically about 89 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 4.1.0latest | 8 months ago | 343 KB | MIT |
| 4.0.9 | 1 year ago | 363 KB | MIT |
| 4.0.8 | 2 years ago | 404 KB | MIT |
| 4.0.7 | 3 years ago | 400 KB | MIT |
| 4.0.6 | 4 years ago | 397 KB | MIT |
| 4.0.5 | 4 years ago | 397 KB | MIT |
| 4.0.4 | 5 years ago | 426 KB | MIT |
| 4.0.3 | 5 years ago | 283 KB | MIT |
| 4.0.2 | 5 years ago | 908 KB | MIT |
| 4.0.1 | 7 years ago | 513 KB | MIT |
| 4.0.0 | 8 years ago | 261 KB | MIT |
| 3.0.5 | 8 years ago | 7.6 KB | MIT |
| 3.0.4 | 8 years ago | 7.6 KB | MIT |
| 3.0.3-napi | 8 years ago | — | MIT |
| 3.0.3 | 8 years ago | — | MIT |
Overview
bufferutil is an npm package that webSocket buffer utils. It has 1 known dependents in the graph. The latest version is 4.1.0, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need webSocket buffer utils and value a focused solution.
When not to use it
Consider an alternative if you need to have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.
Pros
- Clear open-source license (MIT).
Cons
- No bundled TypeScript types (may require a separate @types package).
Auto-generated from collected registry metadata. No external claims are inferred.
Keywords
Frequently asked questions
Should I use bufferutil?
bufferutil is usable, with caveats. This package runs an install script on your machine.
How do I install bufferutil?
Run `npm install bufferutil` to add bufferutil to your npm project.
How many dependencies does bufferutil have?
bufferutil declares 4 direct dependencies and pulls in 1 packages in total once its runtime tree is resolved totalling about 356 KB on disk.
What license is bufferutil released under?
bufferutil is distributed under the MIT license.
How popular is bufferutil?
npm does not publish download counts. Within PackageGraph's crawl, 1 known packages depend on bufferutil.
Is bufferutil still maintained?
The most recent release of bufferutil (v4.1.0) was published 8 months ago.
Does bufferutil run install scripts?
Yes. bufferutil defines a lifecycle script that executes when the package is installed. Review it before installing in CI or on a machine holding credentials.