Recent submissions

Comment · 9 years ago
awaitify has a small set of functionality, but it could be really useful, if you want to write clean and readable async code without using any transpilers. Using Awaitify, Function Generators along with `yield` keyword works exactly like async/await function. It also allows to convert old fashioned callback based functions into promise based functions with writing only one line of code. Any feedback would be greatly appreciated.
Comment · 12 years ago
Check out the DefineJS-v0.2.2 with a bunch of examples and Promised Modules.
Comment · 12 years ago
A new working example which shows how to use one of the nonstandard syntaxes in DefineJS, something like:

use(['dependency'])

.then(function(dependency){

})

.then()

.cache();

Imagine a control flow in the module definition, or having different private scopes when defining a new module.

Comment · 12 years ago
I just added a working example of DefineJS which shows the way that the regular AMD format gets implemented.
Comment · 12 years ago
One of the main goals here is to provide developers the ability of exposing it to different globals with different behaviors and configuration, which is not possible yet in this version, but it will be there in the next couple of hours.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton