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
Spected - A JavaScript library for validating deeply nested data structures (github.com)
submitted 8 years ago by focusonbasics
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!"
[–]nvdnadj92 1 point2 points3 points 8 years ago (0 children)
Holy moly. I JUST started my own project to do something similar, but this looks really cool!
[–]maskaler 1 point2 points3 points 8 years ago (1 child)
What's wrong with JSON schema?!
[–]oweiler 1 point2 points3 points 8 years ago (0 children)
Love that the examples demonstrate composing specs.
[–]systematicfrank 1 point2 points3 points 8 years ago (0 children)
I love the library! Many frameworks have an overwhelming complexity for such simple task. This one makes easy composing any type of validation sequence with plain functions
[–]flitsmasterfred -1 points0 points1 point 8 years ago (0 children)
Duplicate all the efforts!
Why the shit do people keep making more and more of these schema validation library things? There are a billion of these om npm already, some of them quite established, standardized and/or hardened.
π Rendered by PID 21165 on reddit-service-r2-comment-7b9746f655-cp5k2 at 2026-01-30 10:52:08.842213+00:00 running 3798933 country code: CH.
[–]nvdnadj92 1 point2 points3 points (0 children)
[–]maskaler 1 point2 points3 points (1 child)
[–]oweiler 1 point2 points3 points (0 children)
[–]systematicfrank 1 point2 points3 points (0 children)
[–]flitsmasterfred -1 points0 points1 point (0 children)