0.0.7 • Published 9 years ago

filo v0.0.7

Weekly downloads
2
License
-
Repository
github
Last release
9 years ago

usage

sorry for my poor english

new Filo(url, options);

url format:

  • test.js
  • test/resource/a.js
  • test/??resource/a.js,b.js

example:

var Filo = require('filo');
var filo = new Filo("a.js", {
    cwd: __dirname
});
if(filo.isAvailable()) {
    filo.output(); // return file buffer
}
filo.combine('b.js');
filo.output(); // module `a` and `b` combine;

detail in test/test.js

Notice

  • filo.files is instance of Vinyl.
  • filo.files should have the same extension with filo.ext.
  • if you set filo.ext with a different value. all the file will change the extension of file.path.

Tests

To run tests run:

gulp test
0.0.7

9 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago