Socket
Socket
Sign inDemoInstall

@rknightuk/eleventy-plugin-post-graph

Package Overview
Dependencies
210
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @rknightuk/eleventy-plugin-post-graph

Generate Github-style post distribution graph for your blog posts in Eleventy


Version published
Weekly downloads
148
decreased by-0.67%
Maintainers
1
Install size
29.5 MB
Created
Weekly downloads
 

Readme

Source

eleventy-plugin-post-graph

npm

Generate Github-style post distribution graph for your blog posts in Eleventy

Basic Usage

Install the package

npm install @rknightuk/eleventy-plugin-post-graph --save-dev

In your Eleventy config:

const postGraph = require('@rknightuk/eleventy-plugin-post-graph')

module.exports = (eleventyConfig, options = {}) => {
    eleventyConfig.addPlugin(postGraph)
}

In your template, use the shortcode and pass it your posts collection:

{% postGraph collections.posts %}

Advanced Usage and Options

See the docs

Keywords

FAQs

Last updated on 05 Jan 2024

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc