Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
docpad-plugin-browserifydocs
Advanced tools
Browserify your documents by adding the `browserify: true` meta data
Browserify your documents by adding the browserify: true
meta data
Create a JavaScript file with the browserify option:
---
browserify: true
---
var mypackage = require('mypackage');
The default configuration for this plugin is the equivalant of adding the following browserify options to your DocPad configuration file:
plugins:
browserifydocs:
debug: false
Make certain files available from outside the bundle by using require:
---
browserify:
require:
'./vendor/angular/angular.js':
expose: 'angular'
---
var angular = require('angular');
Prevent a module or file from showing up in the output bundle by using ignore:
---
browserify:
ignore: ['jquery']
---
var jquery = require('jquery');
Prevent a file or module from being loaded into the current bundle, instead referencing from another bundle, by using external.
---
browserify:
external: ['jquery']
---
var jquery = require('jquery');
Prevent a module name or file from showing up in the output bundle by using exclude.
---
browserify:
exclude: ['jquery']
---
var jquery = require('jquery');
Install this DocPad plugin by entering docpad install browserifydocs
into your terminal.
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
Browserify your documents by adding the `browserify: true` meta data
We found that docpad-plugin-browserifydocs demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers 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
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.