Socket
Socket
Sign inDemoInstall

hexo-generator-recent

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hexo-generator-recent

Creates a list of recent articles in JSON


Version published
Weekly downloads
1
decreased by-50%
Maintainers
1
Weekly downloads
 
Created
Source

hexo-generator-recent

Hexo plugin to generate a list of recent articles in JSON. Suitable for consumption by APIs or feeds.

Installation

  npm i --save hexo-generator-recent

Usage

Just generate as usual

Using the default settings, the recent.json will contain the most recent 5 posts and list all keys

Configuration

an example. would be included in _config.yml

jsonContent:
  file: `recent.json`
  number: 5
  sort: `-date`
  fields: # set to true for all fields (default)
    - title
    - slug
    - date
    - tags

Keywords

FAQs

Package last updated on 28 Mar 2016

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc