
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
command-guide-amplified
Advanced tools
A lightweight, reusable widget for creating interactive templates with variable substitution
A lightweight, reusable widget for creating interactive templates with variable substitution and copy functionality.
npm install command-guide-amplified
<script src="https://unpkg.com/command-guide-amplified/dist/command-guide-amplified.min.js"></script>
Download the latest release and include the script:
<script src="command-guide-amplified.js"></script>
<script src="command-guide-amplified.js"></script>
<div class="cga-widget" id="my-guide">
<!-- Add your variables -->
<div class="cga-variable">
<label>Name:</label>
<input type="text" class="cga-var-NAME" value="James">
</div>
<div class="cga-variable">
<label>Surname:</label>
<input type="text" class="cga-var-SURNAME" value="Bond">
</div>
...
<!-- Add your commands or text with placeholders -->
A single line of text that can be copied:
<div class="cga-command">The name's {SURNAME}. {NAME} {SURNAME}.</div>
Lines of text that could be some output, or longer code snippets..
<div class="cga-text">
#!/usr/bin/python3
name = "{NAME}"
surname = "{SURNAME}"
print(f"The name's {surname}. {name} {surname}")
</div>
Output:
<div class="cga-text">The name's {SURNAME}. {NAME} {SURNAME}</div>
</div>
<script>
document.addEventListener('DOMContentLoaded', function() {
console.log('DOM loaded, initializing widgets...');
// Initialize widgets
const widget = CommandGuideAmplifiedWidget.init('my-guide');
});
</script>
Sections automatically initialize if they contain data-cga-widget attribute:
<div class="cga-widget" data-cga-widget>
...
</div>
Add some styling (styles.css) to your elements and make some interactive docs:

See index.html for more examples.
FAQs
A lightweight, reusable widget for creating interactive templates with variable substitution
We found that command-guide-amplified demonstrated a healthy version release cadence and project activity because the last version was released less than 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.