
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
react-app-rewire-frontmatter-markdown
Advanced tools
frontmatter-markdown-loader config for react-app-rewired
Add frontmatter-markdown-loader to create-react-app with react-app-rewired. You create-react-app project can import FrontMatter Markdown as React Component/HTML + FrontMatter Atrributes 🔌
yarn add -D react-app-rewire-frontmatter-markdown
In config-overrides.js
for react-app-rewired:
const rewireFrontmatterMarkdown = require('react-app-rewire-frontmatter-markdown');
module.exports = function override(config, env) {
rewireFrontmatterMarkdown(config); // <-- THIS
return config;
}
This inserts the loader config for /\.md$/
.
You can give your own options through the second argument.
const rewireFrontmatterMarkdown = require('react-app-rewire-frontmatter-markdown');
module.exports = function override(config, env) {
// THIS
rewireFrontmatterMarkdown(
config,
{
mode: ['html', 'react'],
markdownIt: {
html: true,
linkify: true,
breaks: true
}
}
);
return config;
}
Full documentation for frontmatter-markdown-loader is in: https://hmsk.github.io/frontmatter-markdown-loader/options
Default option for frontmatter-markdown-loader
is
{
mode: ['react']
}
MIT License, Copyright 2019-present Kengo Hamasaki
FAQs
frontmatter-markdown-loader config for react-app-rewired
The npm package react-app-rewire-frontmatter-markdown receives a total of 14 weekly downloads. As such, react-app-rewire-frontmatter-markdown popularity was classified as not popular.
We found that react-app-rewire-frontmatter-markdown 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.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.