Skip to content
This repository has been archived by the owner. It is now read-only.
Go to file

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time


wercker status NPM version

Virgilio is a tiny framework helping you write modular applications. Start your project in a single file, then scale upwards as needed. No refactoring needed.


Focus on writing code - not organising code

Build your application out of actions, small functions with a specific responsibility. Move your actions about the project as development progresses without having to wory about having to refactor. Use namespaces to oranise your actions, and rest save in the knowledge that they will always return a promise.

Extend it in any way you like

At less than a 100 lines of actual code, the main library is tiny and we aim to keep it that way. Additional functionality goes into extensions, which you are free to use or not use as you see fit. Mix Virgilio-extensions with your own favourite libraries any way you want.

Getting Started

Get Virgilio from npm.

npm install virgilio

Then start defining actions.

Virgilio = require('virgilio');
var virgilio = new Virgilio();
virgilio.namespace$('number').defineAction$(function add(num1, num2) {
    return num1 + num2;

virgilio.number.add(3, 6).then(function(result) {
    console.log(result);    //=> 9

More tags

Code Climate Test Coverage Dependency Status

We dedicate this Library to the ServiceRegistrar, the EigenServices and the PuppetDresser.

You can’t perform that action at this time.