
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.
docpad-baseplugin
Advanced tools
BasePlugin class for DocPad
BasePlugin class for DocPad
Install the dependency like so:
npm install --save docpad-baseplugin
Create your plugins using CoffeeScript like so:
module.exports = class MyPlugin extends require('docpad-baseplugin') {
name: 'myplugin'
initialConfig: {}
# ...
}
Create your plugins using JavaScript like so:
module.exports = class MyPlugin extends require('docpad-baseplugin') {
get name() {
return 'myplugin'
}
get initialConfig() {
return {}
}
// ...
}
You can use boundation to scaffold the above.
To setup tests, see docpad-plugintester.
npm install --save docpad-baseplugin
import * as pkg from ('docpad-baseplugin')
const pkg = require('docpad-baseplugin')
This package is published with the following editions:
docpad-baseplugin
aliases docpad-baseplugin/source/index.js
docpad-baseplugin/source/index.js
is ESNext source code for Node.js 10 || 12 || 13 || 14 with Require for modulesThis project provides its type information via inline JSDoc Comments. To make use of this in TypeScript, set your maxNodeModuleJsDepth
compiler option to 5
or thereabouts. You can accomlish this via your tsconfig.json
file like so:
{
"compilerOptions": {
"maxNodeModuleJsDepth": 5
}
}
Discover the release history by heading on over to the HISTORY.md
file.
Discover how you can contribute by heading on over to the CONTRIBUTING.md
file.
These amazing people are maintaining this project:
No sponsors yet! Will you be the first?
These amazing people have contributed code to this project:
Discover how you can contribute by heading on over to the CONTRIBUTING.md
file.
Unless stated otherwise all works are:
and licensed under:
FAQs
BasePlugin class for DocPad
The npm package docpad-baseplugin receives a total of 78 weekly downloads. As such, docpad-baseplugin popularity was classified as not popular.
We found that docpad-baseplugin 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.