
Security News
/Research
Popular node-ipc npm Package Infected with Credential Stealer
Socket detected malicious node-ipc versions with obfuscated stealer/backdoor behavior in a developing npm supply chain attack.
lisp-markup
Advanced tools
lisp-markup is a lisp-like templating tool for javascript that outputs markup such as html.
The two most notable features of lisp-markup are its use of the lisp mentality of code as data, and a macro system that takes advantage of this to facilitate powerful and intuitive template macros written in javascript.
You can use the provided macro functions or write your own.
Lisp2Markup has built in markup conversion function for html and you may create your own conversion functions for other markup languages by providing a taghandler.
toHtml: convert to html.To make a custom markup conversion function, you must write a tag handler. The tag handler accepts the tagname and a set of properties, and returns a tuple containing the opening and closing tag strings.
function taghandler( tagname,properties){
var open_tag_str = /* do stuff */;
var close_tag_str = /* do stuff*/;
return [open_tag_str, close_tag_str];
}
You can then generate your markup conversion from the taghandler:
var converter = customMarkupConverter(taghandler);
All markup conversion functions follow the following calling pattern.
markupConverter( l,data):
FAQs
A lisp based template language for markup with a focus on macros.
We found that lisp-markup 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
/Research
Socket detected malicious node-ipc versions with obfuscated stealer/backdoor behavior in a developing npm supply chain attack.

Security News
TeamPCP and BreachForums are promoting a Shai-Hulud supply chain attack contest with a $1,000 prize for the biggest package compromise.

Security News
Packagist urges PHP projects to update Composer after a GitHub token format change exposed some GitHub Actions tokens in CI logs.