{"id":15998041,"url":"https://github.com/smartin85/generator-d3-plugin-ts","last_synced_at":"2026-05-06T20:32:25.902Z","repository":{"id":57246864,"uuid":"89809889","full_name":"smartin85/generator-d3-plugin-ts","owner":"smartin85","description":"Yeoman generator to scaffold out a d3 plugin boilerplate with typescript","archived":false,"fork":false,"pushed_at":"2017-04-29T22:05:34.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-14T04:47:51.921Z","etag":null,"topics":["d3","d3-module","d3-plugin","d3js","d3v4","generator","plugin-boilerplate","tape","typescript","yeoman"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/smartin85.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-04-29T20:08:12.000Z","updated_at":"2017-04-30T14:57:22.000Z","dependencies_parsed_at":"2022-08-24T16:50:26.708Z","dependency_job_id":null,"html_url":"https://github.com/smartin85/generator-d3-plugin-ts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smartin85%2Fgenerator-d3-plugin-ts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smartin85%2Fgenerator-d3-plugin-ts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smartin85%2Fgenerator-d3-plugin-ts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smartin85%2Fgenerator-d3-plugin-ts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smartin85","download_url":"https://codeload.github.com/smartin85/generator-d3-plugin-ts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247271492,"owners_count":20911586,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["d3","d3-module","d3-plugin","d3js","d3v4","generator","plugin-boilerplate","tape","typescript","yeoman"],"created_at":"2024-10-08T08:06:45.292Z","updated_at":"2026-05-06T20:32:20.880Z","avatar_url":"https://github.com/smartin85.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# generator-d3-plugin-ts \n[![MIT License][license-image]][license-url]\n[![NPM version][npm-image]][npm-url]\n[![Build Status][travis-image]][travis-url]\n[![Dependency Status][daviddm-image]][daviddm-url]\n[![Coverage percentage][coveralls-image]][coveralls-url]\n\n\u003e [Yeoman](http://yeoman.io) generator to scaffold out a [D3](https://d3js.org/) v4 plugin boilerplate with typescript\n\nIf you want to generate a d3 plugin boilerplate with **javascript** instead of typescript use the [generator-d3-plugin](https://github.com/akash-goswami/generator-d3-plugin) by [Akash Goswami](https://github.com/akash-goswami).\n\n## Installation\n\nFirst, install [Yeoman](http://yeoman.io) and generator-d3-plugin-ts using [npm](https://www.npmjs.com/) (we assume you have pre-installed [node.js](https://nodejs.org/)).\n\n```bash\nnpm install -g yo\nnpm install -g generator-d3-plugin-ts\n```\n\nThen generate your new project:\n\n```bash\nyo d3-plugin-ts\n```\nand follow the prompts.\n\n## Details\n\n- The plugins are build using rollup which is suggested by D3.\n\n- Unit test cases can be written in tape with typescript, tape is added in devDependencies by default.\n\n- The plugin can be tested using `npm test`.\n\t- TDD can be started using `npm run test:tdd`\n\t- Code Coverage can be started using `npm run test:coverage`\n\n- The plugin can be build using `npm run prepublish`.\n\n- The build is created in `/build` folder.\n\t- The typings are created in `/build/typings` folder.\n\t- The ES2015 module is created in `/build/jsnext` folder.\n\t- The UMD module is created in `/build/` folder.\n\n- Local server with live reloading and TDD can be achieved by running `npm start`. \n\n- The examples are found in the `/example` folder. It is recommended that you use this folder to display an example of your plugin.\n\n\n## Read more\n\nRead more about [D3 v4 Plugin](https://bost.ocks.org/mike/d3-plugin/) and [reusable chart component](http://bl.ocks.org/cpbotha/5073718) for plugins.\n\n## Getting To Know Yeoman\n\n * Yeoman has a heart of gold.\n * Yeoman is a person with feelings and opinions, but is very easy to work with.\n * Yeoman can be too opinionated at times but is easily convinced not to be.\n * Feel free to [learn more about Yeoman](http://yeoman.io/).\n\n\n[license-image]: http://img.shields.io/badge/license-MIT-blue.svg?style=flat\n[license-url]: LICENSE\n\n[npm-image]: https://badge.fury.io/js/generator-d3-plugin-ts.svg\n[npm-url]: https://npmjs.org/package/generator-d3-plugin-ts\n\n[travis-image]: https://travis-ci.org/smartin85/generator-d3-plugin-ts.svg?branch=master\n[travis-url]: https://travis-ci.org/smartin85/generator-d3-plugin-ts\n\n[daviddm-image]: https://david-dm.org/smartin85/generator-d3-plugin-ts.svg?theme=shields.io\n[daviddm-url]: https://david-dm.org/smartin85/generator-d3-plugin-ts\n\n[coveralls-image]: https://coveralls.io/repos/smartin85/generator-d3-plugin-ts/badge.svg\n[coveralls-url]: https://coveralls.io/r/smartin85/generator-d3-plugin-ts\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmartin85%2Fgenerator-d3-plugin-ts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmartin85%2Fgenerator-d3-plugin-ts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmartin85%2Fgenerator-d3-plugin-ts/lists"}