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

@dileepadev/dileepadev-npm

v0.1.0

Published

A npm package about Dileepa Bandara.

Downloads

19

Readme

dileepadev-npm

A simple utility npm package that provides information about Dileepa Bandara. Use it as a library to access my profile details programmatically or as a CLI tool to get my contact info, bio, and social links instantly.

Table of Contents

Installation

npm install dileepadev-npm

Usage

As a library

import { greet, getAbout, getContact, getSocials } from 'dileepadev-npm';

console.log(greet('Dileepa'));
// → "Hello, Dileepa!"

console.log(getAbout());
// → [ "I'm an Associate AI Engineer...", ... ]

console.log(getContact());
// → "[email protected]"

console.log(getSocials());
// → { "github": "https://github.com/dileepadev", ... }

As a CLI

The package provides an executable. Install globally or use npx:

# Get general help and command list
npx dileepadev-npm help        # or --help, -h

# Show version
npx dileepadev-npm version     # or --version, -v

# Show name
npx dileepadev-npm name        # or --name

# Show about section
npx dileepadev-npm about       # or --about

# Show contact details
npx dileepadev-npm contact     # or --contact

# Show social links
npx dileepadev-npm socials     # or --socials

# Get a friendly greeting (pass any name as the argument)
npx dileepadev-npm Alice
# → Hello, Alice!

# Default greeting (no arguments)
npx dileepadev-npm
# → Hello, World!

API

greet(name)

Returns a simple greeting string. Defaults to "World".

getName()

Returns the profile name.

getAbout()

Returns an array of strings describing the profile.

getContact()

Returns the contact email address.

getSocials()

Returns an object mapping social platforms to their URLs.

getVersion()

Returns the package version.

Project Structure

dileepadev-npm/
├── bin/            # CLI entry point
│   └── index.ts
├── src/            # Library source code
│   └── main.ts
├── tests/          # Vitest test files
│   └── main.test.ts
├── dist/           # Compiled output (generated by `npm run build`)
├── coverage/       # Test coverage reports (generated by `npm run test:coverage`)
├── package.json
├── tsconfig.json
└── vitest.config.ts

Development

# Install dependencies
npm install

# Build the project
npm run build
  • Source code lives in src/ and bin/.
  • Tests live in tests/.
  • Build output goes to dist/.
  • Edit the source, then run npm run build to compile.
  • Publish new versions via npm version / npm publish.

Requirements

  • Node.js >= 18.0.0
  • npm >= 9.0.0

Testing

This project uses Vitest as its test framework.

# Run all tests once
npm test

# Run tests in watch mode (re-runs on file changes)
npm run test:watch

# Run tests with coverage report
npm run test:coverage

Test files follow the naming convention *.test.ts and are located in the tests/ directory. Coverage reports are generated in the coverage/ directory using the v8 provider.

License

MIT