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

dirsafari

v1.0.5

Published

DirSafari - A terminal application that allows easy listing of files and folders from any directory.

Downloads

7

Readme

dirSafari

This is a simple Node.js terminal application that lists files and folders in a directory. It uses the fs module from Node.js to read the directory contents and display them in the terminal. The app also utilizes the chalk library for colorful output.

Requirements

  • Node.js (version 12 or higher) should be installed on your machine. You can download it from here.

RUN as NPM Module

$ npm install -g dirsafari
// To EXECUTE DirSafari:
$ ds
OR
$ ds [directory]
OR
$ nodeds [directory]
OR
$ node-ds [directory]
OR
$ dirsafari [directory]

Installation from git repository

  1. Clone the repository or download the source code.
$ git clone https://github.com/colson0x1/dirsafari.git
  1. Open a terminal and navigate to the project directory.
$ cd dirsafari
  1. Give the app executable permission by running the following command:
$ chmod +x app.js
  1. Install the required dependencies using npm:
$ npm install
  1. Run the following command with sudo:
$ sudo npm link

This will create a symbolic link for the app.js file, allowing you to run the app from any directory (globally) by typing ds in the terminal.

Usage

To run the app, use the following command:

$ ds
OR
$ ds [directory]
OR
$ nodeds [directory]
OR
$ node-ds [directory]
OR
$ dirsafari [directory]

Replace [directory] with the path to the directory you want to list. If no directory is specified, the app will use the current working directory.

The app will display the list of files and folders in the specified directory, with files displayed in orange and folders displayed in blue. Folders will be displayed in bold text.

Example

To list the files and folders in the current directory, run:

$ ds

To list the files and folders in a specific directory, run:

$ ds /path/to/directory

License

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

Acknowledgment

I would like to acknowledge the following resources and libraries that were used in the development of this app:

Screenshots

dirsafari node-ds

dirsafari node-ds /

dirsafari node-ds /Users