@platypii/d3

0.0.3 • Public • Published

npm apache license

@types/d3

Standalone typescript definitions for D3 javscript library.

Why?

Because @types/d3 depends on a bunch of sub-packages like "@types/d3-array": "*". I have a build system which doesn't like this, and would prefer version pegged dependencies. So I made this package @platypii/d3.

How to use

Add to package.json:

{
  "devDependencies": {
    "@platypii/d3": "^0.0.1",
  }
}

Add to tsconfig.json:

{
  "compilerOptions": {
    "typeRoots": [
      "node_modules/@types",
      "node_modules/@platypii"
    ]
  }
}

Publishing

npm publish

Readme

Keywords

Package Sidebar

Install

npm i @platypii/d3

Weekly Downloads

0

Version

0.0.3

License

ISC

Unpacked Size

3.18 kB

Total Files

3

Last publish

Collaborators

  • platypii