Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
generator-d3-plugin
Advanced tools
Yeoman generator for D3 v4 plugins
Install the generator:
npm install -g generator-d3-plugin
Then run the generator:
yo d3-plugin
and follow the prompts.
The plugins are build using rollup which is suggested by D3.
Unit test cases can be written in tape, tape is added in devDependencies by default.
The plugin can be tested using npm test
. Only eslint is enabled for the time being.
The plugin can be build using npm run prepublish
.
Local server with live reloading can be achieved by running npm run watch
followed by npm start
. (You can run it in the reverse order but you have to refresh the browser in that case).
The build is created in /build
folder.
The examples are found in the /example
folder. It is recommended that you use this folder to display example of your plugin.
Once the live reloading is on, the builds are created only in the example/build
folder. Once you are done developing the plugin run npm run prepublish
for final build to the /build
folder.
Read more about D3 v4 Plugin and reusable chart component for plugins.
FAQs
Yeoman generator for D3 v4 plugins
The npm package generator-d3-plugin receives a total of 10 weekly downloads. As such, generator-d3-plugin popularity was classified as not popular.
We found that generator-d3-plugin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.