generator-strong-d3
v0.1.3
Published
Yeoman generator for creating D3 projects using type annotations
Downloads
19
Maintainers
Readme
generator-strong-d3 
Yeoman generator
This is a generator heavily based upon generator-gulp-angular that scaffolds a D3 project with a whole bunch of goodies geared towards using strong typing.
Currently, options available at runtime are:
- Transpiler
- Babel using babel-plugin-typecheck
- Write fancy-pants ES2015 and use Flow annotations for type checking
- TypeScript
- Generally better if you still want to write ES5 code but add annotations
- Babel using babel-plugin-typecheck
- Abstraction
- plain-jane, vanilla D3
- C3 — masayuki0812/c3
- Vega - vega/vega
- NVD3 - novus/nvd3
- D4 - heavysixer/d4
Getting Started
To install Yeoman (if new to Yeoman generator)
npm install -g yo
To install generator-strong-d3
To install generator-strong-d3 from npm, run:
npm install -g generator-strong-d3
Finally, initiate the generator:
yo strong-d3
License
MIT