0.0.18 • Published 11 years ago

velociraptor v0.0.18

Weekly downloads
66
License
-
Repository
github
Last release
11 years ago

#Velociraptor

An asset compiler for Node.js

##Command-line Usage

// Compile from ./assets to ./tmp
// without minification
velociraptor ./assets ./tmp

// Compiling with minification
velociraptor -m ./assets ./tmp

##Programmatic Usage

var Velociraptor = require('velociraptor');

//No minification
Velociraptor.compile(source, target, function(err, results) {
  if(err) {
    console.log("Error: "+err);
  }
  else {
    console.log(results);
    // e.g.
    // {
    //    packages: 2
    //  , packageSources: 7
    //  , minified: false
    //  , copied: 5
    // }
  }
});

//Minification
Velociraptor.compile(source, target, {minify:true}, function(err, results) {
  //etc...
});
0.0.18

11 years ago

0.0.17

11 years ago

0.0.16

11 years ago

0.0.15

11 years ago

0.0.13

11 years ago

0.0.11

11 years ago

0.0.10

11 years ago

0.0.9

11 years ago

0.0.8

11 years ago

0.0.7

11 years ago

0.0.6

11 years ago

0.0.5

11 years ago

0.0.4

11 years ago

0.0.3

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago