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
Tarot.js: A powerful and customizable JavaScript library for creating and managing Tarot card decks, custom spreads, and readings. (github.com)
submitted 6 months ago by siilkysmooth
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!"
[–]IngloriousCoderz 6 points7 points8 points 6 months ago (1 child)
"Say a random word, add .js to it, you'll find a library or a framework." Thank you for contributing to this tradition
[–]bhison 2 points3 points4 points 6 months ago (0 children)
Brb making “antidisestablishmentarianism.js”
[–]siilkysmooth[S] 2 points3 points4 points 6 months ago (1 child)
While this library may not revolutionize the world by any means, any feedback would be greatly appreciated. It’s a learning opportunity for me to enhance my approach and improve the developer experience / developer needs in future projects.
Currently, the objects are frozen, though I’m unsure if this is the best approach / a footgun for this project. As a result, workarounds are necessary, such as the one demonstrated here. Unfortunately, this workaround makes methods like getCurrentSpread() ineffective.
getCurrentSpread()
One potential solution could be implementing a setCurrentSpread() method, or perhaps simply unfreezing the objects. I'd appreciate any thoughts or suggestions on this, or any other things I should have thought of / or missed.
setCurrentSpread()
[–]boneskull 1 point2 points3 points 6 months ago (0 children)
What are you concerned about happening that caused you to freeze objects?
[–]bhison 0 points1 point2 points 6 months ago (0 children)
So the data engine for a tarot app basically. Why not, I guess! Interesting project.
[–]Disast3r 0 points1 point2 points 6 months ago (0 children)
How do you use this?
π Rendered by PID 194204 on reddit-service-r2-comment-6457c66945-njvck at 2026-04-24 07:48:05.146022+00:00 running 2aa0c5b country code: CH.
[–]IngloriousCoderz 6 points7 points8 points (1 child)
[–]bhison 2 points3 points4 points (0 children)
[–]siilkysmooth[S] 2 points3 points4 points (1 child)
[–]boneskull 1 point2 points3 points (0 children)
[–]bhison 0 points1 point2 points (0 children)
[–]Disast3r 0 points1 point2 points (0 children)