</>PackageGraphPackageGraph

d3-path

npmv3.1.0

Serialize Canvas path commands to SVG.

Not recommended for new projects

No — d3-path should not be adopted for new projects. Last published 1360 days ago.

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

    No download data reported for this package yet.

  • FMaintenance: grade F, Failing.

    Last published 1360 days ago.

  • AWeight: grade A, Excellent.

    Zero runtime dependencies, about 20 KB installed.

  • ASupply chain: grade A, Excellent.

    No install scripts, 2 maintainers, and a contained dependency surface.

  • ALicense: grade A, Excellent.

    ISC — 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 d3-path 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.

20 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 >=12
Module format
ESM + CommonJS
TypeScript
No bundled types
Install scripts
None

Quick start

A usage example from the d3-path README.

function drawCircle(context, radius) {
  context.moveTo(radius, 0);
  context.arc(0, 0, radius, 0, 2 * Math.PI);
}

d3-path vs the alternatives

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

PackageWeekly downloadsDependentsLicenseLast release
d3-paththis page01ISC3 years ago
d3-shape02ISC1 day ago
canvas01MIT1 day ago
path-key244.9M1MIT1 day ago
@jridgewell/resolve-uri166.3M1MIT1 day ago
normalize-path72.6M1MIT1 day ago

Dependencies

Declared by d3-path v3.1.0. Runtime dependencies are installed with the package; dev dependencies are not.

Dev (4)

eslint 8mocha 10rollup 3rollup-plugin-terser 7

Used by

Popular packages that depend on d3-path.

Relationship graph

Dependencies (left) and dependents (right) of d3-path.

d3-shaped3-path
d3-path dependencies dependents

Frequently installed together

Release history

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

Recent versions of d3-path
VersionPublishedSizeLicense
3.1.0latest3 years ago20 KBISC
3.0.15 years ago19 KBISC
3.0.05 years ago19 KBISC
2.0.06 years ago20 KBBSD-3-Clause
2.0.0-rc.16 years ago20 KBBSD-3-Clause
1.0.96 years ago20 KBBSD-3-Clause
1.0.87 years ago20 KBBSD-3-Clause
1.0.78 years ago53 KBBSD-3-Clause
1.0.68 years ago52 KBBSD-3-Clause
1.0.59 years agoBSD-3-Clause
1.0.49 years agoBSD-3-Clause
1.0.39 years agoBSD-3-Clause
1.0.210 years agoBSD-3-Clause
1.0.110 years agoBSD-3-Clause
1.0.010 years agoBSD-3-Clause

Overview

d3-path is an npm package that serialize Canvas path commands to SVG. It has 1 known dependents in the graph. The latest version is 3.1.0, released under the ISC license.

Who should use it

Teams working in the npm ecosystem who need serialize Canvas path commands to SVG 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 (ISC).

Cons

  • No bundled TypeScript types (may require a separate @types package).

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

Maintainers

Keywords

Frequently asked questions

Should I use d3-path?

No — d3-path should not be adopted for new projects. Last published 1360 days ago.

How do I install d3-path?

Run `npm install d3-path` to add d3-path to your npm project.

What license is d3-path released under?

d3-path is distributed under the ISC license.

How popular is d3-path?

npm does not publish download counts. Within PackageGraph's crawl, 1 known packages depend on d3-path.

Is d3-path still maintained?

The most recent release of d3-path (v3.1.0) was published 3 years ago.

Does d3-path run install scripts?

No. d3-path does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.