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

telos-use-js

v1.0.3

Published

An Extension of CommonJS Which Works Across Environments

Readme

Use JS

1 - Abstract

We require something better.

Use JS is an extension of CommonJS which replaces the require function with the more versatile "use" function, and enables the usage of either in the browser.

2 - Contents

2.1 - The Use Function

While mostly identical to the CommonJS require function, the use function allows module paths to be URLs to online resources, and may take an additional options argument.

Said options argument, if present, shall be an object containing boolean fields affecting the behavior of the loading process.

When used in a frontend environment, the use and require functions are the same, and in addition, Use JS may be paired with AutoCORS in frontend envrionments to enable modules to be fetched across domains.

When used in a backend environment, the require function retains its default behavior, while the use function gains the additional property of automatically downloading any module referenced by alias if said module is not already installed.

2.2 - Usage

On the frontend, Use JS is available through the following CDN link:

https://cdn.jsdelivr.net/gh/Telos-Project/Use-JS/Code/Frontend/use.js

Including said script will automatically render both the require and use functions available, though the AutoCORS functionality must be included separately through the AutoCORS script.

On the backend, Use JS is available on npm under the package name "telos-use-js". Merely requiring said package shall render the use function globally available in the backend environment.