lofn
handlebars-helpers
lofn | handlebars-helpers | |
---|---|---|
1 | 6 | |
13 | 2,195 | |
- | 0.5% | |
0.0 | 0.0 | |
over 6 years ago | 4 months ago | |
Common Lisp | JavaScript | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
lofn
-
SBCL: New in Version 2.1.0
I wrote a templating library that was used for a Slack close we developed a number of years back.
It parses the HTML with embedded code, and generates a Lisp function which is compiled on the fly thanks to Lisp giving runtime access to the compiler. Whenever the source file is changed, the code is regenerated and compiled.
Other languages do the same, but in those cases they have to generate source code and call the compiler as an external program, and then load the generated code into the running program using dynamic linking. The Lisp approach is much more efficient.
Thanks to the quality of SBCL, the templates execute with native performance, which is something very few other solutions do.
The project is unfortunately not documented, but the code is available here: https://github.com/lokedhs/lofn
handlebars-helpers
-
@lrvick bought the expired domain name for the 'foreach' NPM package maintainer. He now controls the package which 2.2m packages depend on.
https://www.npmjs.com/package/handlebars-helpers, if anyone is curious.
- Node.js packages don't deserve your trust
- NPM package ‘ua-parser-JS’ with more than 7M weekly download is compromised
- BREAKING!! NPM package ‘ua-parser-js’ with more than 7M weekly download is compromised
-
wait what!?
The biggest project that still depends on it is handlebars-helpers, which accounts for about half of the daily downloads. The other half are probably from installs of old versions of other libraries.
-
SBCL: New in Version 2.1.0
I am actually using handlebars along with helpers https://github.com/helpers/handlebars-helpers to automatically generate sql, golang, json and jsx. cl-who is only for markup.
What are some alternatives?
rtg-math - common lisp library providing common math functions used in games
deno-puppeteer - A port of puppeteer running on Deno
numcl - Numpy clone in Common Lisp
koa-hbs - Handlebars templates for Koa.js
regex - An implementation of regular expressions for Rust. This implementation uses finite automata and guarantees linear time matching on all inputs.
deno - A modern runtime for JavaScript and TypeScript.
NUnit - NUnit Framework
lodash - A modern JavaScript utility library delivering modularity, performance, & extras.
Serilog - Simple .NET logging with fully-structured events
MediatR - Simple, unambitious mediator implementation in .NET
pnpm - Fast, disk space efficient package manager
LavaMoat - tools for sandboxing your dependency graph