@ptree/files
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

@ptree/files

Print your directory and files as a pretty tree

Use with npx

npx ptree-files [path]

# print out:

├─ README.md
├─ __tests__
│  └─ test.ts
├─ bin.js
├─ lib
│  ├─ index.cjs
│  └─ index.d.ts
├─ package.json
├─ rollup.config.ts
├─ src
│  └─ index.ts
└─ tsconfig.json

Install

npm install @ptree/files

Usage

const ptree = require('./lib/index.cjs');
const path = require('path');

ptree.printFiles(path.join(__dirname, '..'));

Readme

Keywords

Package Sidebar

Install

npm i @ptree/files

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

4.68 kB

Total Files

5

Last publish

Collaborators

  • necolo