generator-d3-module

Scaffold out a D3.js module

Usage no npm install needed!

<script type="module">
  import generatorD3Module from 'https://cdn.skypack.dev/generator-d3-module';
</script>

README

generator-d3-module Build Status

Scaffold out a d3.js module with dev tools and an example page.

Install

$ npm install --global yo generator-d3-module

Usage

With yo:

$ yo d3-module
$ npm run setup

There are multiple command-line options available:

$ yo d3-module --help

  Usage:
    yo nm [options]

  Options:
    --help          # Print the generator's options and usage
    --skip-cache    # Do not remember prompt answers                      Default: false
    --skip-install  # Do not automatically install dependencies           Default: false
    --org           # Publish to a GitHub organization account

The --org option takes a string value (i.e. --org=flyjs).

License

MIT © Luke Edwards