Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
micromarkdown
Advanced tools
convert markdown to HTML in under 5kb
take a look at the to PHP translated version: https://github.com/SimonWaldherr/micromarkdown.php
License: MIT
Version: 0.3.4
Date: 10.2015
<script type="text/javascript" src="//simonwaldherr.github.io/micromarkdown.js/dist/micromarkdown.min.js"></script>
var input = document.getElementById('input').value,
outputEle = document.getElementById('outEle');
outputEle.innerHTML = micromarkdown.parse(input);
install via npm
npm install micromarkdown
var mmd = require('micromarkdown');
console.log(mmd.parse('*foobar*\n**lorem** ***ipsum***\n\n* this\n* is a\n* list\n'));
or take a look at the nodemmd.js node example
node nodemmd.js
Test this code on the associated github page simonwaldherr.github.io/micromarkdown.js/.
There is also a Testpage and a diff between the php and the js version.
Feel free to contact me via eMail or on Twitter. This software will be continually developed. Suggestions and tips are always welcome.
FAQs
converts markdown to html
We found that micromarkdown 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
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.