Modular build management for client side javascript applications.
Last updated 6 years ago by markschad .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install acute 
SYNC missed versions from official npm registry.


The no strings attached JavaScript build solution.

This project is very much in its infancy. Feel free to contribute if you dig it!


Because organising your client side application shouldn't be a chore. acute.js let's you do it however you please, and build it with a single command.


At its core, acute.js uses the /// import and /// export directives to describe a modules context in the project. The triple-slash comments allows acute.js modules to be incredibly portable.

The hello world! example demonstrates, pretty much, all the components of acute.js.

Getting Started

acute.js is best installed globally.

npm install -g acute

Now let's whip up a quick hello world! library to demonstrate acute.js's fool proof module system.


/// exports foo.hello from bar;
var bar = 'hello';

First we create a namespace foo.hello and give it the object bar.


/// exports;
var world = 'world';

Now we create a namespace and it infers that it should receive the object world.


/// exports example;
/// imports foo.hello;
/// imports to bar;
var example = function() {
  console.log(hello + ' ' + bar + '!');

This will be our entry point. It creates a namespace example which infers the function we've defined and it also imports our namespaces foo.hello and In this instance we've imported as bar.

So how do build this trivial little example? With an acute.json file of course!


  "root": "./",
  "public": {
    "example": "foo"
  "output": "./build.js"

So what is this telling us? Well assuming all our files are in the same directory, acute.json is going to instruct the compiler that all source files are located in the ./, this directory; it wants to make the namespace example publically accessible as, and finally; it wants to output the result to a file ./build.js. Now it's simply a matter of executing the acute.js compiler on the command line.

$ acute .

And voila! We now have a portable JavaScript hello world! library!

Programmatic API

If you decide you would like to use acute.js in your Gruntfile, or anything else, you can execute a build by requiring acute in your source code.

var $acute = require('acute');
$acute.make('./path/to/acute.json', function(err) {
  if (err) return console.log(err);
  console.log('All good man!');

Questions, Comments?

Feel free to email or submit an issue!


To say acute.js is in its infancy would be an understatement. Please feel free to contribute by forkng this repository and issuing a pull request! Please maintain the coding style if you do!

Current Tags

  • 0.0.3                                ...           latest (6 years ago)

3 Versions

  • 0.0.3                                ...           6 years ago
  • 0.0.2                                ...           6 years ago
  • 0.0.1                                ...           6 years ago
Maintainers (1)
Today 0
This Week 1
This Month 1
Last Day 0
Last Week 0
Last Month 1
Dependencies (2)
Dev Dependencies (0)
Dependents (0)

Copyright 2014 - 2017 © |