0.0.3 • Published 2 years ago

@platypii/d3 v0.0.3

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

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