app like that
tree2dir
tree2dir

tree2dir is a tool that converts tree structures into directory layouts. It supports JSON input and can be integrated into Node.js applications. You can use it via command line or by importing it into your project.

Features

Programmatically Specify Directory Structure

Use tree2dir to create directories and files programmatically by specifying the structure and contents in JSON, YAML, or ESM format.

Output to File

Specify the directory structure format and output it to a file using `npx tree2dir format=my-file.json`.

Load from File

Specify a file to read the directory structure from by using `from=my-file.json` as an argument.

ESM Tree Format

Supports reading directory structure in ECMAScript Module (ESM) format, allowing detailed specification using JSON-like syntax.

JavaScript Module Import

Import tree2dir into JavaScript applications using `import { create } from 'tree2dir';` to create directories programmatically.

Async/Await Support

Use async functions to wait for the directory creation process to complete by using `await create(tree);`.

TypeScript Integration

Import and use tree2dir within TypeScript-based projects with correct typings and async/await support.

Unlimited public packages

Bring the best of open source JavaScript development to your own projects.

Unlimited private packages

Seamlessly integrate public and private packages into your development cycle.

Package-based permissions

Add collaborators to work on your public and private packages together.

Automatic security warnings

Receive security warnings to help keep your packages secure.

Unlimited public packages

Allows you to bring the best of open source JavaScript development to your own projects without restriction.

Unlimited private packages

Integrate public and private packages seamlessly into your development cycle.

Package-based permissions

Add collaborators to work on public and private packages together by setting permissions based on packages.

Unlimited Public Packages & Automatic Security Warnings

Allows the creation and management of an unlimited number of public packages with automatic security warnings.

Unlimited Private Packages

Provides the capability to create and maintain unlimited private packages for more secure or proprietary projects.

Unlimited Team-Based Management

Enables management of team permissions and collaboration across projects without limits.

Package Registry

Hosts and distributes JavaScript packages, allowing developers to easily share and reuse code.

CLI Tools

Provides a command-line interface to interact with the npm registry, manage packages, and streamline workflows.

Pro Account

Offers advanced features such as private packages and enhanced development tools for a premium JavaScript development experience.

@solancer/two-way-map

A TypeScript library providing two-way mapping functionality with order preservation. It is ideal for scenarios requiring bidirectional lookups while maintaining the insertion order of elements.

tree2dir

A directory and file structure generator.

Package Manager for Node.js

Enables JavaScript developers to easily share packaged modules of code. Created in 2009 as an open-source project.

npm Registry

A public collection of packages of open-source code for Node.js, front-end web apps, mobile apps, robots, routers, etc.

Command Line Client

Allows developers to install and publish packages.

Two-Way Mapping

Provides a way to map keys to values and vice versa, allowing retrieval in both directions.

Basic Operations

Includes methods for setting, getting, and deleting entries, as well as clearing the map and checking its size.

Iteration Support

Allows iteration over keys, values, and entries.

Serialization Support

Supports conversion to JSON objects for easy serialization.

Getting Started

Guides and resources for newcomers to understand npm, its registry, and how to start using it.

Packages and Modules

Documentation on creating, publishing, and managing npm packages and modules.

Integrations

Information on how npm integrates with other tools and platforms.

Organizations

Guidance on managing npm usage within teams and organizations.

Policies

Overview of policies that govern the use of npm services.

Threats and Mitigations

Security practices, potential threats, and how to mitigate them while using npm.

npm CLI

Details and commands related to using the npm command-line interface.

Command Line Interface (CLI)

The CLI allows users to discover and manage packages from the command line. It's how most developers interact with npm.

Registry

A large public database of JavaScript software with meta-information that allows users to install and manage packages.

Organizations

Allows users to set up organizations to manage access to public or private packages, enabling collaboration between teams.

Package Sharing

Users can share their packages publicly for free or privately for a fee, with the option to use npm organizations.

Pricing Plans

Pro

$7
per monthly

Free

$0
per monthly

Pro

$7
per monthly

Teams

$7
per monthly

Free

$0
per monthly

Pro

$7
per monthly