mkdirj
Create recursive directories from JSON objects
Last updated 3 years ago by stevelacy .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install mkdirj 
SYNC missed versions from official npm registry.

mkdirj

Build Status NPM version

Create recursive directories from JSON objects

Turn this:
app: {
  client: {
    views: {
      main: true
    },
    components: {
      navbar: true
    },
    store: true
  },
  server: {
    db: true,
    router: true,
    api: true
  }
}


Into this:
app
├── client
│   ├── components
│   │   └── navbar
│   ├── store
│   └── views
│       └── main
└── server
    ├── api
    ├── db
    └── router

Options

root

Allows setting the CWD for creating the directories

License MIT

Current Tags

  • 0.1.0                                ...           latest (3 years ago)

1 Versions

  • 0.1.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (3)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |