Skip to main content

The Divine Web Service Framework

A divine collection of awesome web-related Node.js modules

Connect

Out of the box, local files and web resources are supported, plus several database protocols. Use the built-in username/password and bearer token  authentication schemes, or provide your own.

Parse

Effortlessly read and write any common formats, including CSV, HTML, JSON, TOML, YAML, XML and MIME multi-part messages.

Query

With database drivers for H2/JDBC, MySQL/MariaDB, PostgreSQL/CockroachDB, SQLite and SQL Server, persistence should not be a problem. Injection-safe queries, transactiton deadlock handling and CRUD row operations for less pain and more gain.

Serve

Build advanced REST and streaming Web APIs with automatic content negotiation, ETag/precondition handling (coming soon).


@divine/headers

Parse and generate common HTTP headers, such as authorization and content headers. This module also works in the browser!

@divine/uri

Read, write, modify, query or watch anything that can be referenced by an URL or URI, including local files, Web Services and SQL databases.

@divine/web-service

A framework for building REST and RPC Web Services, with support for event streams.

@divine/x4e

A powerful, E4X-like approach to HTML and XML documents, using JSX/TSX or tagged template literals.