</>PackageGraphPackageGraph

rfdc

npmv1.4.1TypeScript

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

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.

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

PackageWeekly downloadsDependentsLicenseLast release
rfdcthis page46.8M3MIT2 years ago
copy-anything01MIT1 day ago
filter-obj15.8M1MIT1 day ago
deepmerge05MIT1 day ago
reusify91M1MIT1 day ago
define-lazy-prop01MIT1 day ago

Dependencies

Declared by rfdc v1.4.1. Runtime dependencies are installed with the package; dev dependencies are not.

Dev (13)

clone-deep ^4.0.1codecov ^3.4.0deep-copy ^1.4.2fast-copy ^1.2.1fastbench ^1.0.1fastest-json-copy ^1.0.1lodash.clonedeep ^4.5.0nano-copy ^0.1.0plain-object-clone ^1.1.0ramda ^0.27.1standard ^17.0.0tap ^12.0.1tsd ^0.7.4

Used by

Popular packages that depend on rfdc.

Relationship graph

Dependencies (left) and dependents (right) of rfdc.

fastifyfast-json-stringi…find-my-wayrfdc
rfdc dependencies dependents

Frequently installed together

Release history

No releases in the last two years, typically about 1 day apart.

Recent versions of rfdc
VersionPublishedSizeLicense
1.4.1latest2 years ago27 KBMIT
1.4.02 years ago26 KBMIT
1.3.12 years ago25 KBMIT
1.3.05 years ago23 KBMIT
1.2.05 years ago21 KBMIT
1.1.47 years ago16 KBMIT
1.1.37 years ago15 KBMIT
1.1.28 years ago13 KBMIT
1.1.18 years ago13 KBMIT
1.0.48 years ago11 KBMIT
1.0.38 years ago8.8 KBMIT
1.0.28 years ago8.8 KBMIT
1.0.18 years ago8.7 KBMIT
1.0.08 years ago8.7 KBMIT

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

Keywords

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.