1.0.2 • Published 10 years ago

oomf v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
10 years ago

oomf (one origin multiple files)

oomf splits single file into separate files.

usage

sample_oomfile.oomf

-- foo.txt
hello
-- bar.txt
world

index.js

const oomf = require('oomf');

oomf('sample_oomfile.oomf').then(function () {
  // done
  // foo.txt contains 'hello'
  // bar.txt contains 'world'
});

You can also specify custom output directory (by default it's the dirname of oomfile):

const oomf = require('oomf');

oomf('sample_oomfile.oomf', '/some/other/dir');
1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago