client-only
npmv0.0.1This is a marker package to indicate that a module can only be used in Client Components.
Overview
client-only is an npm package that this is a marker package to indicate that a module can only be used in Client Components. The latest version is 0.0.1, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need this is a marker package to indicate that a module can only be used in Client Components 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).
- Zero runtime dependencies — minimal footprint.
Cons
- No bundled TypeScript types (may require a separate @types package).
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of client-only.
Used by
Popular packages that depend on client-only.
Alternatives to client-only
Cooperative scheduler for the browser environment.
React is a JavaScript library for building user interfaces.
React package for working with the DOM.
The React Framework
Selectors for Redux.
Official React bindings for Redux
The official, opinionated, batteries-included toolset for efficient Redux development
A framework for building native apps using React
Fire events the same way the user does
Next.js dotenv file loading
Frequently installed together
React is a JavaScript library for building user interfaces.
React package for working with the DOM.
An AST-based pattern checker for JavaScript.
TypeScript definitions for react
Prettier is an opinionated code formatter
Babel Types is a Lodash-esque utility library for AST nodes
Converts a source-map from/to different formats and allows adding/changing properties.
Generates and consumes source maps
Version history
| Version | Published | License |
|---|---|---|
| 0.0.1latest | 3 years ago | MIT |
Maintainers
Keywords
Frequently asked questions
How do I install client-only?
Run `npm install client-only` to add client-only to your npm project.
What license is client-only released under?
client-only is distributed under the MIT license.
How popular is client-only?
client-only has approximately 0 downloads per week and 1 known dependent packages.