
Hexo (https://hexo.io/) plugin to generate a JSON file for generic use or consumption with the contents of posts and pages.
Hexo Generator JSON Content is a powerful plugin designed for Hexo, the popular static site generator. This plugin generates a JSON file containing the contents of posts and pages, making it simpler to utilize the data across various applications like microservices, AJAX site search, or APIs. It streamlines data handling, ultimately enhancing the efficiency of content delivery for developers and users alike.
This plugin is highly versatile, offering numerous customization options that cater to different operational needs. With features like keyword extraction, date formatting, and the ability to include or exclude specific content elements, the Hexo Generator JSON Content optimizes how your site's data can be structured and consumed, providing an agile solution for those looking to enhance their website's functionality.
Automatic Generation: The plugin automatically generates the JSON file when you run hexo serve or hexo generate, ensuring your data is always up-to-date with minimal effort.
Customizable Settings: Adjust the settings in your _config.yml file to tailor the output to your exact requirements, from keywords to output formats.
Keyword Extraction: Automatically extract keywords from excerpts using a built-in package, making it easy to enhance SEO and content discoverability.
Flexible Date Formatting: Set your preferred date format using the moment.js library, allowing for standardized presentations of your content's timestamps.
Selective Content Output: Customize the output by including or excluding meta, pages, or posts from the JSON, ensuring you only get the necessary data.
Draft Handling: Decide whether to include drafts in the output, making it easier to manage the visibility of in-progress work.
Content Protection: Any posts or pages protected by a password are automatically skipped during indexing, providing an extra layer of privacy.
Custom File Naming: Change the default JSON output file name from content.json to something that better suits your project's structure if needed.

Hexo is a static site generator built with Node.js that enables developers to create fast and efficient websites using Markdown, EJS, and Stylus. It offers features such as server-side rendering, plugin support, and easy deployment to hosting services like GitHub Pages and Netlify.
RollupJS is a popular and efficient JavaScript module bundler that takes the code from multiple modules and packages them into a single optimized file, minimizing the overall size of the application and improving its performance.