Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dir2xml

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dir2xml

generating XML file that represents a sync directory structure

  • 1.4.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
increased by400%
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

FAQs

Package last updated on 30 Dec 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc