Hacker GitHub

← All repos

hapijs/joi

View on GitHub ↗ ★ 21,164 JavaScript

The most powerful data validation library for JS

7 mentions on Hacker News by 7 people: 2 stories, 5 comments · first 2016-11-18 · latest 2018-08-24

Mentions per year 7 mentions · busiest year 2017 (3)
20082026
  1. …joi [2]. [0]: https://github.com/nock/nock [1]: https://github.com/swagger-api/swagger-codegen [2]: https://github.com/hapijs/joi
    comment by littlecranky67 · 2018-08-24 · in Why use GraphQL, good and bad reasons
  2. For validating entire objects: https://github.com/hapijs/joi
  3. …to give it a try (I'm not affiliated with the tool in any regards but I do think it's awesome). [1] https://github.com/hapijs/joi [2] http://framp.me/joi-tester/
    comment by dmlittle · 2017-11-22 · in User experience design for APIs
  4. You don't. You'd have to use something like https://github.com/hapijs/joi
    comment by STRiDEX · 2017-04-12 · in TypeScript at Slack
  5. …level. You can even create read-only views. You should always validate you payload. Use e.g Joi https://github.com/hapijs/joi . Someone who doesn't validate his payload and pass it up to the driver should not be surprised.