</>PackageGraphPackageGraph

react-remove-scroll

npmv2.7.2TypeScript

Disables scroll outside of `children` node.

Adopt with care

react-remove-scroll is usable, with caveats.

  • ?Adoption: grade ?, Not reported by this registry.

    No download data reported for this package yet.

  • BMaintenance: grade B, Good.

    Last published 285 days ago. 6 releases in the last 2 years.

  • BWeight: grade B, Good.

    Pulls in 7 transitive packages, about 227 KB installed (at least — some of the tree is still being crawled).

  • 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 react-remove-scroll to a project.

5
Direct dependencies

Runtime packages this one declares itself.

7
Total installed

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

227 KB
Install size

Unpacked size of this package plus its entire runtime tree.

2
Tree depth

Longest resolved dependency chain below this package.

Part of this dependency tree has not been crawled yet, so these figures are a lower bound rather than a final total.

Licenses in the dependency tree

MIT

Every license you inherit by installing react-remove-scroll, not just its own. Check this before a legal review, not after.

Compatibility

Node.js
node >=10
Module format
ESM + CommonJS
TypeScript
Types included
Install scripts
None

Quick start

A usage example from the react-remove-scroll README.

import {RemoveScroll} from 'react-remove-scroll';

<RemoveScroll>
  Only this content would be scrollable
</RemoveScroll>  

react-remove-scroll vs the alternatives

Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.

PackageWeekly downloadsDependentsLicenseLast release
react-remove-scrollthis page02MIT9 months ago
react-remove-scroll-bar59.1M1MIT1 day ago

Dependencies

Declared by react-remove-scroll v2.7.2. Runtime dependencies are installed with the package; dev dependencies are not.

Dev (9)

@babel/core ^7.17.9@size-limit/preset-small-lib ^11.0.2@storybook/react ^6.4.22@theuiteam/lib-builder ^0.1.4@types/enzyme-adapter-react-16 ^1.0.6@types/react ^18.0.0babel-loader ^8.2.4enzyme-adapter-react-16 ^1.15.6size-limit ^11.0.2

Used by

Popular packages that depend on react-remove-scroll.

Relationship graph

Dependencies (left) and dependents (right) of react-remove-scroll.

Frequently installed together

Release history

6 releases in the last two years, typically about 57 days apart.

Recent versions of react-remove-scroll
VersionPublishedSizeLicense
2.7.2latest9 months ago77 KBMIT
2.7.11 year ago75 KBMIT
2.7.01 year ago75 KBMIT
2.6.31 year ago77 KBMIT
2.6.21 year ago77 KBMIT
2.6.11 year ago77 KBMIT
2.6.02 years ago77 KBMIT
2.5.102 years ago77 KBMIT
2.5.92 years ago77 KBMIT
2.5.72 years ago77 KBMIT
2.5.63 years ago75 KBMIT
2.5.54 years ago71 KBMIT
2.5.44 years ago70 KBMIT
2.5.34 years ago75 KBMIT
2.5.24 years ago75 KBMIT

Overview

react-remove-scroll is an npm package that disables scroll outside of `children` node. It has 2 known dependents in the graph. The latest version is 2.7.2, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need disables scroll outside of `children` node and value a focused solution.

When not to use it

Consider an alternative if you need to minimize your dependency tree, or if a more actively-maintained option better fits your npm stack.

Pros

  • Ships TypeScript type definitions.
  • Clear open-source license (MIT).

Cons

  • Large dependency tree (16 direct dependencies) increases install size and audit surface.

Auto-generated from collected registry metadata. No external claims are inferred.

Maintainers

Keywords

Frequently asked questions

Should I use react-remove-scroll?

react-remove-scroll is usable, with caveats.

How do I install react-remove-scroll?

Run `npm install react-remove-scroll` to add react-remove-scroll to your npm project.

How many dependencies does react-remove-scroll have?

react-remove-scroll declares 16 direct dependencies and pulls in 7 packages in total once its runtime tree is resolved totalling about 227 KB on disk.

What license is react-remove-scroll released under?

react-remove-scroll is distributed under the MIT license.

How popular is react-remove-scroll?

npm does not publish download counts. Within PackageGraph's crawl, 2 known packages depend on react-remove-scroll.

Is react-remove-scroll still maintained?

The most recent release of react-remove-scroll (v2.7.2) was published 9 months ago.

Does react-remove-scroll run install scripts?

No. react-remove-scroll does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.