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 🙏

© 2024 – Pkg Stats / Ryan Hefner

dir2opml

v1.0.6

Published

对某一文件目录,快速生成其目录结构`tree.txt`,同时提供大纲文件 `tree.opml`,方便导入脑图工具,比如`mindNode`。

Downloads

4

Readme

dir2opml

对某一文件目录,快速生成其目录结构tree.txt,同时提供大纲文件 tree.opml,方便导入脑图工具,比如mindNode

快速开始

  1. 安装

    1. 安装命令行工具tree
      brew install tree
    2. 安装 dir2opml
      npm i -g dir2opml
  2. 使用

  3. 效果图

    • 文本结构

      ├── .justconf
      │   ├── README.txt
      │   └── state.json
      ├── build
      │   ├── bike.css
      │   ├── bike.js
      │   ├── chair.css
      │   ├── chair.js
      │   ├── code.css
      │   ├── code.js
      │   ├── elect.css
      │   ├── elect.js
      │   ├── market.css
      │   ├── market.js
      │   ├── page1.css
      │   ├── page1.js
      │   ├── page2.css
      │   ├── page2.js
      │   ├── page3.css
      │   ├── page3.js
      │   ├── page4.js
      │   ├── page5.css
      │   ├── page5.js
      │   ├── super.css
      │   └── super.js
      ├── common
      │   └── index.scss
      ├── demo
      │   └── index.html
      ├── docs
      │   └── index.html
      ├── page
      │   ├── bike
      │   │   ├── components
      │   │   ├── modules
      │   │   ├── config.json
      │   │   ├── index.jsx
      │   │   └── index.scss
      │   ├── chair
      │   │   ├── components
      │   │   ├── modules
      │   │   ├── config.json
      │   │   ├── index.jsx
      │   │   └── index.scss
      │   ├── code
      │   │   ├── components
      │   │   ├── modules
      │   │   ├── config.json
      │   │   ├── index.jsx
      │   │   └── index.scss
      │   ├── elect
      │   │   ├── components
      │   │   ├── modules
      │   │   ├── config.json
      │   │   ├── index.jsx
      │   │   └── index.scss
      │   ├── market
      │   │   ├── components
      │   │   ├── modules
      │   │   ├── config.json
      │   │   ├── index.jsx
      │   │   └── index.scss
      │   ├── page1
      │   │   ├── components
      │   │   ├── modules
      │   │   ├── index.jsx
      │   │   └── index.scss
      │   ├── page2
      │   │   ├── table-basic
      │   │   └── index.jsx
      │   ├── page3
      │   │   ├── module1
      │   │   ├── module2
      │   │   └── index.jsx
      │   ├── page4
      │   │   ├── form-basic
      │   │   └── index.jsx
      │   ├── page5
      │   │   ├── components
      │   │   ├── modules
      │   │   ├── config.json
      │   │   ├── index.jsx
      │   │   └── index.scss
      │   └── super
      │       ├── components
      │       ├── modules
      │       ├── config.json
      │       ├── index.jsx
      │       └── index.scss
      ├── .editorconfig
      ├── .eslintignore
      ├── .eslintrc
      ├── .gitattributes
      ├── .gitignore
      ├── README.md
      ├── package.json
      └── webpack.config.js
    • 导入tree.opml到mindNode生成的脑图