
Product
Introducing Tier 1 Reachability: Precision CVE Triage for Enterprise Teams
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
"scripts": {
"manual": "testcafe \"chrome:headless --kiosk --incognito --force-device-scale-factor=1.5\" node_modules/auto-docs/ -s docs/pics",
"files": "node node_modules/auto-docs/",
"serve": "docsify serve docs"
}
To generate with screenshots npm run manual
also
To run without brower commands use npm run files
Once generated.
To run document server npm run serve
How you can open localhost:3000
true
check if the screen has chackedlang`message`
Add this CSS
<style>
p{
position: relative;
}
img[alt='videobutton']{
pointer-events: none;
position: absolute;
z-index: 3;
top: calc( 50% - 50px);
left: calc( 50% - 50px);
width: 100px;
}
</style>
Add this index.html
window.$docsify = {
plugins: [
function (hook, vm) {
hook.afterEach(function(html, next) {
if(html.includes("youtube")){
$(html).find("img[src*='youtube']").parent().toArray()
.map(elem => $(elem))
.forEach( elemA =>{
const link = elemA.attr("href")
const [id ,time] = link.split("/").pop().split("?")
const start = time ? time.match(/\d+/)[0] : 0
const elemToReplace = elemA.parent().html().replace(new RegExp(" data-origin=", "g"),"data-origin=")
const newElem = `<iframe width="100%" height="433" src="https://www.youtube.com/embed/${id}?start=${start}" frameborder="0" gesture="media" allow="encrypted-media" allowfullscreen></iframe>`
html = html.replace(elemToReplace,newElem)
} )
}
next(html)
})
}
]
// ...
}
From with the manual folder you should place a config.json file
Example:
{
"server":"http://localhost:3000/myapp/",
"only":["1-Welcome","1-How to log in"],
"waitBeforeScreenShot":1000,
"login":{
"user":["#username", "admin"],
"pass":["#password", "admin"],
"url":"login.html",
"button":"#loginButton"
}
}
FAQs
A screenshot & markdown generator
The npm package auto-docs receives a total of 0 weekly downloads. As such, auto-docs popularity was classified as not popular.
We found that auto-docs 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.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.