rfdc
npmv1.4.1TypeScriptReally Fast Deep Clone
Adopt with care
rfdc is usable, with caveats. Last published 819 days ago.
- AAdoption: grade A, Excellent.
46.8M downloads per week and 3 known dependents.
- DMaintenance: grade D, Poor — a real concern.
Last published 819 days ago.
- AWeight: grade A, Excellent.
Zero runtime dependencies, about 27 KB installed.
- ASupply chain: grade A, Excellent.
No install scripts, 2 maintainers, and a contained dependency surface.
- 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 rfdc 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
- No constraint declared
- Module format
- CommonJS only
- TypeScript
- Types included
- Install scripts
- None
Quick start
A usage example from the rfdc README.
const clone = require('rfdc')()
clone({a: 1, b: {c: 2}}) // => {a: 1, b: {c: 2}}rfdc 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 |
|---|---|---|---|---|
| rfdcthis page | 46.8M | 3 | MIT | 2 years ago |
| copy-anything | 0 | 1 | MIT | 1 day ago |
| filter-obj | 15.8M | 1 | MIT | 1 day ago |
| deepmerge | 0 | 5 | MIT | 1 day ago |
| reusify | 91M | 1 | MIT | 1 day ago |
| define-lazy-prop | 0 | 1 | MIT | 1 day ago |
Dependencies
Declared by rfdc v1.4.1. Runtime dependencies are installed with the package; dev dependencies are not.
Dev (13)
Used by
Popular packages that depend on rfdc.
Relationship graph
Dependencies (left) and dependents (right) of rfdc.
Frequently installed together
TypeScript definitions for node
An AST-based pattern checker for JavaScript.
Stringify your JSON at max speed
An HTTP/1.1 client, written from scratch for Node.js
Create HTTP error objects
Manipulate the HTTP Vary header
Asynchronous bootstrapping of Node applications
LRU and FIFO caches for Client or Server
The semantic version parser used by npm.
Fake HTTP injection library
Build and manage the fast-json-stringify instances for the fastify framework
A small utility for creating warnings and emitting them.
Release history
No releases in the last two years, typically about 1 day apart.
| Version | Published | Size | License |
|---|---|---|---|
| 1.4.1latest | 2 years ago | 27 KB | MIT |
| 1.4.0 | 2 years ago | 26 KB | MIT |
| 1.3.1 | 2 years ago | 25 KB | MIT |
| 1.3.0 | 5 years ago | 23 KB | MIT |
| 1.2.0 | 5 years ago | 21 KB | MIT |
| 1.1.4 | 7 years ago | 16 KB | MIT |
| 1.1.3 | 7 years ago | 15 KB | MIT |
| 1.1.2 | 8 years ago | 13 KB | MIT |
| 1.1.1 | 8 years ago | 13 KB | MIT |
| 1.0.4 | 8 years ago | 11 KB | MIT |
| 1.0.3 | 8 years ago | 8.8 KB | MIT |
| 1.0.2 | 8 years ago | 8.8 KB | MIT |
| 1.0.1 | 8 years ago | 8.7 KB | MIT |
| 1.0.0 | 8 years ago | 8.7 KB | MIT |
Overview
rfdc is an npm package that really Fast Deep Clone. It is extremely widely used, with about 46.8M downloads per week and 3 known dependents in the graph. The latest version is 1.4.1, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need really Fast Deep Clone and value a battle-tested, widely-adopted 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
- Large, well-established user base (46.8M weekly downloads).
- 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 rfdc?
rfdc is usable, with caveats. Last published 819 days ago.
How do I install rfdc?
Run `npm install rfdc` to add rfdc to your npm project.
What license is rfdc released under?
rfdc is distributed under the MIT license.
How popular is rfdc?
rfdc has approximately 46,815,913 downloads per week and 3 known dependent packages.
Is rfdc still maintained?
The most recent release of rfdc (v1.4.1) was published 2 years ago.
Does rfdc run install scripts?
No. rfdc does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.