
Security News
upm Launches as a Fast, Tiny Package Manager Written in TypeScript
upm uses Node.js to deliver fast npm installs in about 250 KB, with a JavaScript API and security defaults.
@clack/core
Advanced tools
Clack contains low-level primitives for implementing your own command-line applications.
@clack/coreClack contains low-level primitives for implementing your own command-line applications.
Currently, TextPrompt, SelectPrompt, and ConfirmPrompt are exposed as well as the base Prompt class.
Each Prompt accepts a render function.
import { TextPrompt, isCancel } from '@clack/core';
const p = new TextPrompt({
render() {
return `What's your name?\n${this.userInputWithCursor}`;
},
});
const name = await p.prompt();
if (isCancel(name)) {
process.exit(0);
}
FAQs
Clack contains low-level primitives for implementing your own command-line applications.
The npm package @clack/core receives a total of 20,057,035 weekly downloads. As such, @clack/core popularity was classified as popular.
We found that @clack/core demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 7 open source maintainers collaborating on the project.

Security News
upm uses Node.js to deliver fast npm installs in about 250 KB, with a JavaScript API and security defaults.

Company News
Socket is joining the OpenJS Security Stewardship Program to fund Node.js vulnerability research, maintainer remediation, and security releases.

Security News
Two compromised GitHub Actions were re-enabled with malicious tags intact, exposing thousands of downstream repositories to Mini Shai-Hulud.