is an attempt to carry over the Node.js ideas into pure Swift. It uses libdispatch for event-driven, non-blocking I/O. is built around type-safe back-pressure aware pull-streams (using Swift generics) operating on batches of items. Instead of working with just bytes, deal with batches of Unicode lines or database records or HTML responses or - you get the idea. Be efficient: Stream everything and ßatch.

A focus is to keep the API similar to Node. Not always possible - Swift is not JavaScript - but pretty close. It comes with rechargeables included, is self-contained and doesn't require any extra dependencies. No extra C modules, pure Swift.
Haz awezome modules such as: cows, leftpad, express, or redis. works in Cocoa environments as well as on Linux. It uses Swift 3 on macOS and Swift 3.0.1 on Linux. Head over to our Start page for install instructions.

Is it a good idea? You tell us. Not sure, but we think it might be, because: a) While Swift looks like JavaScript, it is actually a very high performance, statically typed and AOT-compiled language, b) Code often looks better in Swift, mostly due to the trailing-closure syntax, c) No monkey patching while still providing extensions. There are cons too.

Shows us some code!

There is a reasonably large collection of simple, focused: examples. But here you go, the "standard" Node example, a HelloWorld httpd:

import http

http.createServer { req, res in 
  res.writeHead(200, [ "Content-Type": "text/html" ])
  res.end("<h1>Hello World</h1>")

An echo daemon, just piping the in-end of a socket into its own out-end:

import net

net.createServer { sock in
  sock.write("Welcome to!\r\n")
  sock | sock

More complex stuff including a Todo-MVC backend can be found in the examples. Like what you see? Head over to our Start page to get started.

Noze 0.5.0 - Swift 3 only

Good news everyone! We can finally make a release which leaves Swift 2 behind and works with a Swift 3 on both, macOS and tuxOS. We call that release: 0.5.0.

October 11, 2016 Read More

Cows. Lots of cows!

I’m proud to announce the most amazing and magical release yet: 0.2.10 Cows. With a lot of hard work (and a sweating Swift3 compiler) we managed to include over 400 very nice cows into the framework.

June 27, 2016 Read More 0.2.5

Last week we announced our first public v0.2.x branch, codename “Less than Prefect”, accompanied by the 0.2.3 release. This week we pushed a 0.2.5 release.

June 11, 2016 Read More