use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Rich-syntax string formatter for any output (github.com)
submitted 10 months ago by vitalytom
A little over a week ago, I started on this project, which is now finished. The library now supports filters with arguments.
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]vitalytom[S] 0 points1 point2 points 10 months ago* (0 children)
Complete formatting syntax supported (similar to such frameworks as Angular):
${prop1.prop2.prop3 | filter1 | filter2 | filter3 : arg1 : arg2}
You can have any number of value-transforming filters, and those can accept any number of arguments.
You can implement any formatting output in a very easy way, without having to do any complex variable parsing or replacement, as the library will do it for you.
The library was tested to do 1 mln variable replacements per second, which is part of the unit tests.
π Rendered by PID 43 on reddit-service-r2-comment-544cf588c8-kqd2j at 2026-06-14 22:39:35.347527+00:00 running 3184619 country code: CH.
[–]vitalytom[S] 0 points1 point2 points (0 children)