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

referenxe

v1.0.1

Published

ReferenXe: A powerful Node.js package and CLI tool for resolving file paths, managing file references, and simplifying asset management in your projects. Developed by Leumas Tech.

Readme

ReferenXe

npm version License: ISC

ReferenXe is a powerful Node.js package and CLI tool designed to simplify how you manage file paths and references across your projects. It provides robust capabilities for resolving file locations, listing directory contents, and maintaining consistent project structures, making asset management and development workflows smoother.

Developed by Leumas Tech.

Features

  • NPM Package: Integrate robust path resolution capabilities directly into your Node.js applications.
  • CLI Tool: Manage file references and resolve paths quickly from your command line.
  • Flexible Path Resolution: Resolve relative paths to absolute paths with ease.
  • File & Directory Listing: Efficiently list files and directories, with optional filtering by extensions.

Installation

You can install ReferenXe as a dependency in your Node.js project:

npm install referenxe

Or, install it globally to use the CLI tool:

npm install -g referenxe

Quickstart

Using the NPM Package

Integrate PathResolver into your Node.js application:

import { PathResolver } from 'referenxe';
import path from 'path';

const resolver = new PathResolver(process.cwd()); // Initialize with current working directory

// Resolve a relative path
const relativePath = 'src/my-module.js';
const absolutePath = resolver.resolvePath(relativePath);
console.log(`Resolved path: ${absolutePath}`);
// Example output: /path/to/your/project/src/my-module.js

// List JavaScript files in a directory
const jsFiles = resolver.getFiles('public', ['.js']);
console.log('\nJavaScript files in public/:');
jsFiles.forEach(file => console.log(file));

// List all directories in the root
const directories = resolver.getDirectories('.');
console.log('\nDirectories in root:');
directories.forEach(dir => console.log(dir));

Using the CLI Tool

Once installed globally, you can use the referenxe command from your terminal:

Resolve a path:

referenxe resolve public/index.html

List files in a directory (with optional extension filter):

referenxe get-files src .js

List directories:

referenxe get-dirs .

For more commands and options, use:

referenxe --help

Documentation

For detailed usage guides, API references, and more examples, please visit our Documentation Page.

Contributing

We welcome contributions! Please see our GitHub repository for more details.

License

ReferenXe is ISC Licensed.