Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
metalsmith-default-values
Advanced tools
A metalsmith plugin for setting default values for frontmatter metadata.
Metalsmith Plugin for setting default front-matter metadata
npm install -S metalsmith-default-values
Note: -S
switch saves the plugin to your package.json
.
var default_values = require('metalsmith-default_values');
...
.use(default_values([
{
pattern : 'posts/*.md',
defaults: {
layout: 'post.hbs'
}
},
{
pattern : 'diary/*.md',
defaults: {
layout : 'diary.hbs',
private: true
}
}
]))
...
metalsmith-default-values is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
metalsmith-default-values is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with metalsmith-default-values. If not, see http://www.gnu.org/licenses/.
v1.0.0
27 August 2016
5238b14
18844b6
d290ca5
b72f12a
2fa32ab
6f0e103
cea37af
d4225f2
8668a5a
d685194
7c1f1ea
429b664
88b0688
FAQs
A metalsmith plugin for setting default values for frontmatter metadata.
The npm package metalsmith-default-values receives a total of 10 weekly downloads. As such, metalsmith-default-values popularity was classified as not popular.
We found that metalsmith-default-values 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
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.