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

gulp-tree

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-tree

A gulp plugin to create tree JSON from directory. Used for tapestry app

  • 0.1.4
  • latest
  • Source
  • npm
  • Socket score

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

gulp-tree

Tree creates a structured hierarchical JSON from a folder structure

Usage

First, install gulp-tree as a development dependency:

npm install --save-dev gulp-tree

Then, add it to your gulpfile.js:

var tree = require("gulp-tree");

gulp.src('./src/*.html')
    .pipe(tree({
        patternsPath: './src/patterns',
        jsonPath: './src/json/'
    }))

API

tree(options)

options.patternsPath

Type: String|Number

Default: ./src/patterns

Directory where the patterns are located

options.jsonPath

Type: String

Default: './src/json'

Directory where the json should be saved

Usage

Tree creates a structured hierarchical JSON from a folder structure

License

MIT License

Keywords

FAQs

Package last updated on 28 Oct 2014

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