
Security News
Open Source CAI Framework Handles Pen Testing Tasks up to 3,600× Faster Than Humans
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
blog-loader
Advanced tools
blog-loader
Create a simple blog from markdown files with Webpack!
blog-loader
is a Webpack loader that imports markdown files with yaml-frontmatter, and
returns formatted HTML and meta data from the frontmatter.
Add the webpack loader:
{
test: /blog\/.*md/,
loader: "blog-loader",
query: {
// Required keys in the frontmatter
required: [ 'author', 'category', 'date', 'title'],
// Where to save the markdown files, if at all.
name: 'blog/[name].[ext]'
}
},
And start writing markdown files:
---
Author: Assertible
Title: "`blog-loader` for Webpack"
Category: Cool stuff
Date: 2018-09-14
---
This is getting recursive.
Then import them:
import blogPost from './blogPost.md'
console.log(blogPost)
=> { title: ..., author: ..., category: ..., date: ..., content: "This is getting recursive." }
That's it!
The code in this repository is licensed under MIT. View the license
assertible.com · GitHub @assertible · Twitter @AssertibleApp
FAQs
A webpack loader to render markdown files to HTML for a blog!
The npm package blog-loader receives a total of 0 weekly downloads. As such, blog-loader popularity was classified as not popular.
We found that blog-loader 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
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.
Security News
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.