</>PackageGraphPackageGraph

smart-buffer

npmv4.2.0TypeScript

smart-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.

0
Direct dependencies

Runtime packages this one declares itself.

0
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

135 KB
Install size

Unpacked size of this package plus its entire runtime tree.

Tree depth

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.

javascriptFull 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.

PackageWeekly downloadsDependentsLicenseLast release
smart-bufferthis page01MIT5 years ago
is-plain-obj112.9M1MIT1 day ago
netmask19.5M1MIT1 day ago
requestdeprecated12.5M4Apache-2.01 day ago
jsesc01MIT1 day ago
buffer-from02MIT1 day ago

Dependencies

Declared by smart-buffer v4.2.0. Runtime dependencies are installed with the package; dev dependencies are not.

Dev (13)

@types/chai 4.1.7@types/mocha 5.2.7@types/node ^12.0.0chai 4.2.0coveralls 3.0.5istanbul ^0.4.5mocha 6.2.0mocha-lcov-reporter ^1.3.0nyc 14.1.1source-map-support 0.5.12ts-node 8.3.0tslint 5.18.0typescript ^3.2.1

Used by

Popular packages that depend on smart-buffer.

Relationship graph

Dependencies (left) and dependents (right) of smart-buffer.

sockssmart-buffer
smart-buffer dependencies dependents

Frequently installed together

Release history

No releases in the last two years, typically about 2 days apart.

Recent versions of smart-buffer
VersionPublishedSizeLicense
4.2.0latest5 years ago135 KBMIT
4.1.07 years ago135 KBMIT
4.0.27 years ago185 KBMIT
4.0.18 years agoMIT
4.0.09 years agoMIT
4.0.0-beta.19 years agoMIT
3.0.39 years agoMIT
3.0.29 years agoMIT
3.0.19 years agoMIT
3.0.09 years agoMIT
2.0.39 years agoMIT
2.0.29 years agoMIT
2.0.19 years agoMIT
1.1.159 years agoMIT
2.0.09 years agoMIT

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

Keywords

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.