Skip to content

Instantly share code, notes, and snippets.

@drannex42
Forked from aberba/dlang-web-dev-packages.md
Created February 17, 2021 04:05
Show Gist options
  • Save drannex42/468c101b21051d5540e49cb93e4fb876 to your computer and use it in GitHub Desktop.
Save drannex42/468c101b21051d5540e49cb93e4fb876 to your computer and use it in GitHub Desktop.

D web development package

These are some recommended D web development packages from Dub you may need. These following are choosing because I've either personally used them or they have good documentation.

Any recommendation? Please let me know in the comments.

Web frameworks

  • vibe-d (its like Express.js from Node.js/Javascript)
  • hunt-framework (its like Laravel from PHP)

Json parsing and serialization

  • vibe.data.json
  • serialized
  • jsonizer

XML

  • dxml
  • serialized

request handling (HTTP, GraphQl, ..)

  • requests
  • arsd.http
  • arsd.http2
  • graphqld

JSON web tokens (JWT)

  • jwt
  • itsdangerous

Web scraping

  • arsd.dom

Data validation and sanitization

  • nyinaa

HTML parsers

  • arrogant
  • arsd.htmltotext

Markdown

  • commonmark-d dmarkdown

Hashing and crypto

  • botan
  • secured

Unique or random id generators

  • hashids
  • dutils-random

Currency and decimal handling

  • money
  • fixedpoint
  • decimal

Date

D's standard library has good date support but these may come in handy

  • dateparser
  • fuzzydate ( "a minute ago" or "2 years ago", etc)

Database

  • mysql-native (MySQL)
  • database ( MySQL/MariaDB & PostgreSQL driver
  • d2sqlite3 (SQLite)
  • ddbc (MySQL, PostgreSQL, SQLite and ODBC)
  • vibe-d-postgresql
  • dpq2

redis

  • redisd
  • dredis

mongoDB

  • vibe.db
  • mondo

Testing

  • silly
  • unit-threaded

Others

  • mongostore (SessionStore for MongoDB)
  • mongoschemad (MongoDB Schema support)
  • diskuto (Embedded comment engine)
  • faked (library to create fake data)

More

  • Vibe-d web frameworks has many compatible packages click here to see them all
  • arsd-official is a collection of so many general utilities for all sorts of tasks by Adam Ruppe.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment