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.
cli-pages is used to easily create pages for your command line interfaces and apps in no time! It has all the features you possibly need!
npm install cli-pages
const { Book } = require("cli-pages");
let pages = new Book([
{
title: "Welcome to my app!",
content: "This app does a lot of stuff! It can help you build a rocket!",
footer: "Hope you enjoy!"
},
{
title: "This is Amazing!",
content: "epic!",
footer: "Hope you understood!"
},
{
title: "Thank you!",
content: "Thank you for using my app! I really appreciate it!",
footer: "<3"
}
]);
let pages = new Book();
pages.addPage({
title: "Welcome to my app!",
content: "This app does a lot of stuff! It can help you build a rocket!",
footer: "Hope you enjoy!"
});
...
const { Book } = require("cli-pages");
let pages = new Book([
{
title: "Welcome to my app!",
content: "This app does a lot of stuff! It can help you build a rocket!",
footer: "Hope you enjoy!"
},
{
title: "This is Amazing!",
content: "epic!",
footer: "Hope you understood!"
},
{
title: "Thank you!",
content: "Thank you for using my app! I really appreciate it!",
footer: "<3"
}
]);
pages.open(); // displays the pages in the terminal
setTimeout(function(){
pages.close(); // ends the page session and stops displaying the code after 60 seconds.
}, 60000)
For contributing to this project, fork the repository here, make the changes and open a pull request! Pull requests will be reviewed before being merged.
Found a bug? Having an issue with the package? Open a new issue here!
FAQs
pagination for command line apps
We found that cli-pages 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.