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

sharat

v0.2.0

Published

I wanted my students to start web development with TypeScript, but without the overhead of comiling TS files, so I created Sharat.

Downloads

8

Readme

Sharat

I wanted my students to start web development with TypeScript, but without the overhead of comiling TS files, so I created Sharat.

Sharat is a static file server, similar to other projects such as serve, live-server and http-server to name a few. However, Sharat would also compile TS files before serving them, making development with TypeScript feel like using JavaScript directly.

Some of Sharat's features:

  1. Serve static files from a desired folder
  2. Compile TS and SCSS files before serving
  3. Configure TypeScript compilation by using a tsconfig.json file
  4. Watch for file changes and refresh the page

[!CAUTION]
DO NOT USE Sharat IN PRODUCTION!
Sharat is meant for learning purposes and POCs, please compile and serve your application properly in production.

Usage

The recommended usage is with NPX.
From a terminal, go to the project you'd like to serve, and run:

> cd to/site/root
> npx sharat

This would start the development server and serve files from the specific folder you're in.

A less recommended option is with a global installation.
Start by installing Sharat globally using NPM:

> npm i -g sharat

Then go to the desired folder and run Sharat directly:

> cd to/site/root
> sharat

Debugging

In case you want to see the debug logs, you should set the environment variable SHOW_DEBUG_LOGS to "true".
It's also possible to create a sharat.env file in the root directory you're serving, and add the setting there:

# path/to/site/root/sharat.env

SHOW_DEBUG_LOGS=true

Change log

  • v0.2.0
    • Ignore changes to git related files and files from .gitignore
  • v0.1.0
    • Added auto refresh on file changes
    • Added SHOW_DEBUG_LOGS environment variable
    • Split from single file to multiple files
    • Create readme file
  • v0.0.3
    • Initial release