smart-buffer
npmv4.2.0TypeScriptsmart-buffer is a Buffer wrapper that adds automatic read & write offset tracking, string operations, data insertions, and more.
Not recommended for new projects
No — smart-buffer should not be adopted for new projects. Last published 1860 days ago.
- ?Adoption: grade ?, Not reported by this registry.
No download data reported for this package yet.
- FMaintenance: grade F, Failing.
Last published 1860 days ago.
- AWeight: grade A, Excellent.
Zero runtime dependencies, about 135 KB installed.
- BSupply chain: grade B, Good.
This package has a single maintainer (bus factor of 1).
- 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 smart-buffer 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.
Compatibility
- Node.js
- node >= 6.0.0, npm >= 3.0.0
- Module format
- CommonJS only
- TypeScript
- Types included
- Install scripts
- None
Quick start
A usage example from the smart-buffer README.
// Javascript
const SmartBuffer = require('smart-buffer').SmartBuffer;
// Typescript
import { SmartBuffer, SmartBufferOptions} from 'smart-buffer';smart-buffer vs the alternatives
Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.
| Package | Weekly downloads | Dependents | License | Last release |
|---|---|---|---|---|
| smart-bufferthis page | 0 | 1 | MIT | 5 years ago |
| is-plain-obj | 112.9M | 1 | MIT | 1 day ago |
| netmask | 19.5M | 1 | MIT | 1 day ago |
| requestdeprecated | 12.5M | 4 | Apache-2.0 | 1 day ago |
| jsesc | 0 | 1 | MIT | 1 day ago |
| buffer-from | 0 | 2 | MIT | 1 day ago |
Dependencies
Declared by smart-buffer v4.2.0. Runtime dependencies are installed with the package; dev dependencies are not.
Dev (13)
Used by
Popular packages that depend on smart-buffer.
Relationship graph
Dependencies (left) and dependents (right) of smart-buffer.
Frequently installed together
An AST-based pattern checker for JavaScript.
Prettier is an opinionated code formatter
TypeScript execution environment and REPL for node.js, with source map support
TypeScript definitions for node
A library for parsing IPv4 and IPv6 IP addresses in node and the browser.
Release history
No releases in the last two years, typically about 2 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 4.2.0latest | 5 years ago | 135 KB | MIT |
| 4.1.0 | 7 years ago | 135 KB | MIT |
| 4.0.2 | 7 years ago | 185 KB | MIT |
| 4.0.1 | 8 years ago | — | MIT |
| 4.0.0 | 9 years ago | — | MIT |
| 4.0.0-beta.1 | 9 years ago | — | MIT |
| 3.0.3 | 9 years ago | — | MIT |
| 3.0.2 | 9 years ago | — | MIT |
| 3.0.1 | 9 years ago | — | MIT |
| 3.0.0 | 9 years ago | — | MIT |
| 2.0.3 | 9 years ago | — | MIT |
| 2.0.2 | 9 years ago | — | MIT |
| 2.0.1 | 9 years ago | — | MIT |
| 1.1.15 | 9 years ago | — | MIT |
| 2.0.0 | 9 years ago | — | MIT |
Overview
smart-buffer is an npm package that smart-buffer is a Buffer wrapper that adds automatic read & write offset tracking, string operations, data insertions, and more. It has 1 known dependents in the graph. The latest version is 4.2.0, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need smart-buffer is a Buffer wrapper that adds automatic read & write offset tracking, string operations, data insertions, and more and value a focused solution.
When not to use it
Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.
Pros
- Ships TypeScript type definitions.
- Clear open-source license (MIT).
Cons
- No significant drawbacks detected from available metadata.
Auto-generated from collected registry metadata. No external claims are inferred.
Maintainers
Frequently asked questions
Should I use smart-buffer?
No — smart-buffer should not be adopted for new projects. Last published 1860 days ago.
How do I install smart-buffer?
Run `npm install smart-buffer` to add smart-buffer to your npm project.
What license is smart-buffer released under?
smart-buffer is distributed under the MIT license.
How popular is smart-buffer?
npm does not publish download counts. Within PackageGraph's crawl, 1 known packages depend on smart-buffer.
Is smart-buffer still maintained?
The most recent release of smart-buffer (v4.2.0) was published 5 years ago.
Does smart-buffer run install scripts?
No. smart-buffer does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.