1.4.0 • Published 8 years ago

dir2xml v1.4.0

Weekly downloads
3
License
GPL-3.0
Repository
github
Last release
8 years ago

dir2xml

NPM version Linux Status Windows Status Dependency Status Coveralls

Generating XML file or JSON object that represents a sync directory structure, with memoization and others customizations

my original python code

Installation

Install through NPM

npm install dir2xml

or

git clone git://github.com/hex7c0/dir2xml.git

API

inside nodejs project

var dir = require('dir2xml');

dir('node_modules');

dir(root , options)

root

  • root- String Directory path (default "required")

options

  • exclude - RegExp Regular expression for files/dirs exclude (default "disabled")
  • dotfiles- Boolean Flag for hide dotfiles (default "enabled")
  • cache - Boolean Flag for using cache (depends from mtime dir) (default "enabled")
  • json - Boolean Flag for display json object instead of xml string (default "disabled")
  • hash - String | false Set your hashes or disable (default "md5")

Examples

Take a look at my examples

License GPLv3

1.4.0

8 years ago

1.3.0

8 years ago

1.2.0

9 years ago

1.1.2

10 years ago

1.1.1

10 years ago

1.1.0

10 years ago

1.0.4

10 years ago

1.0.3

11 years ago

1.0.2

11 years ago

1.0.1

11 years ago

1.0.0

11 years ago

0.0.3

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago