Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
create-webpage
Advanced tools
npm init webpage
, a web page generator.
Generate a webpage, using Q&A, package.json and README.md
$ npm init webpage
? Project Name my webpage
? Description This is my single page application site.
? Choose a Template sidebar
Sidebar - A navigation menu on the left, contents on the right
Scroll - A long single page template navigation on the right
? Choose Appliaction Type static
Static HTML - No build required.
Javascript Applicatin - esbuild required from main.js
? Version 0.2.9
? Repo. URL https://github.com/elements-x/genpage
? Issue URL https://github.com/elements-x/genpage/issues
? License MIT
? Output Directory my-webpage
... processing message ...
If static type, you can see the generated page by opening the output directory with a browser.
$ cd my-webpage && npx http-server -o
If js type, you can start your app
$ cd my-webpage
$ npm i
$ npm start
A generated webpage is fully working as a SPA; Single Page Application. You can use it as your github page without any settings or modifiation.
To set your github page with your generated docs
directory,
$ npm init webpage README.md
$ npm init webpage README.md > docs/pages/readme.html # to update readme.html
FAQs
VanillarJS Single Page Web Application Template Generator
The npm package create-webpage receives a total of 1 weekly downloads. As such, create-webpage popularity was classified as not popular.
We found that create-webpage demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
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.