
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.
DoubleDown is a Markdown-inspired text parser primarily intended for sites with comment sections that might benefit from simple styling (e.g. Reddit). It uses a syntax similar to Markdown but with a much more restricted feature set, slight syntax modifications, and built-in HTML escaping to facilitate faster, simpler, and safer parsing.
npm install doubledown
import doubledown from 'doubledown';
const formatted_text = doubledown('Hello, **World!**'); // Hello, <strong>World!</strong>
Apart from links, all features are triggered by surrounding text with a set of markers. As the double in DoubleDown implies, all markers are made up of sets of two characters. For instance, the bold marker is ** and can be used like so: **This text is bold.**
| Feature | Input | Output |
|---|---|---|
| Link | [Click Here](https://google.com) | <a rel="nofollow noreferrer noopener" target="_blank" href="https://google.com">Click Here</a> |
| Code | ##var foo = 123;## | <code>var foo = 123;</code> |
| Keyboard Shortcut | $$Ctrl + S$$ | <kbd>Ctrl + S</kbd> |
| Quote | @@This text is a quote@@ | <blockquote>This text is a quote</blockquote> |
| Bold | **This text is bold** | <strong>This text is bold</strong> |
| Italic | //This text is italicized// | <em>This text is italicized</em> |
| Underline | __This text is underlined__ | <u>This text is underlined</u> |
| Strikethrough | ~~This text is struck through~~ | <s>This text is struck through</s> |
| Subscript | %%This text is a subscript%% | <sub>This text is a subscript</sub> |
| Superscript | ^^This text is a superscript^^ | <sup>This text is a superscript</sup> |
FAQs
Super Lightweight Markdown-Style Parser
We found that doubledown 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.

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.