npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

structify-cli

v1.0.5

Published

CLI tool to recognize and create folder structures.

Readme

Structify CLI

Structify CLI is a command-line tool that helps you easily create folder structures and generate JSON representations of project structures. It’s perfect for developers who want to set up their project directories quickly and manage their folder structures more efficiently.

Whether you're working on a new project or organizing your existing one, Structify can save you time by automating folder creation and making your project structure clear and organized.

Features

  • Folder Structure Creation: Automatically creates folders based on your specifications.
  • JSON Representation: Generates a JSON file that represents the folder structure of a project from its root.
  • Custom Extensions: Easily add extensions to your folder names for more structured organization.
  • Works Across Platforms: Cross-platform support (Windows, MacOS, Linux).

Installation

You can install Structify globally or locally. To use it, you'll need to install it via npm or yarn.

Install Globally

To install the tool globally, run:

  npm install -g structify-cli
yarn global add structify-cli

Install Globally

To install the tool globally, run:

npm install -g structify-cli
yarn global add structify-cli

Once installed globally, you can run the structify command from anywhere in your terminal.

Install Locally

To install the tool locally for your project:

npm install structify-cli --save-dev

or

yarn add structify-cli --dev

After installing it locally, you can run the tool via npx without the need for global installation:

npx structify-cli <command>

Usage

Once installed, you can use structify via your terminal to create or generate folder structures.

  1. Create Folder Structure To create a folder structure from a specified JSON format, use the following command:
structify create <structure>

Where is a JSON object defining your desired folder structure. For example:

{
  "src": {
    "components": {},
    "utils": {}
  },
  "tests": {}
}

This will create the following directory structure:

├── components/
├── utils/
tests/
  1. Generate JSON Representation of Your Folder Structure If you want to generate a JSON representation of your existing project structure, use:
structify generate

This will scan the current directory and output the folder structure as a JSON object.

Example output:

{
  "src": {
    "index.js": {},
    "styles": {}
  },
  "tests": {}
}
  1. Add Extensions to Folder Names You can also create folder names with extensions by specifying them in the structure JSON. For example:
{
  "src": {
    "components.tsx": {},
    "utils.js": {}
  }

}

This will create:

src/
├── components.tsx/
├── utils.js/

License

This project is licensed under the MIT License - see the LICENSE file for details.

Developed by Yogeesh.