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

@davidsouther/jiffies

v2.2.4

Published

JEFRi Jiffies are a number of "common" utilities for JavaScript/TypeScript pulled from and inspired by other programming languages, and common base tools missing or inconsistent between DOM and Node runtimes.

Downloads

1,025

Readme

Jiffies

JEFRi Jiffies are a number of "common" utilities for JavaScript/TypeScript pulled from and inspired by other programming languages, and common base tools missing or inconsistent between DOM and Node runtimes.

  • assert - common runtime assertions.
  • context - JavaScript implementation of the Python [with][pywith] statement.
  • display - TypeScript implementation of the Rust [Display][rustdisplay] trait.
  • equal - JavaScript deep equality checkers, including TS type checking.
  • flags - JavaScript flag, environment, and configuration loader.
  • log - JavaScript implementation of a [log4j][log4j]-alike logger.
  • result - JavaScript implementation of Rust's [Option][rustoption] and [Result][rustresult] types.
  • loader.mjs - Node 16.x typescript-transpiling module loader.

Jiffies also includes several microframeworks.

  • dom - a tiny DOM functional library.
  • pico - a copy of PicoCSS.
  • scope - JavaScript testing microframework.
  • server - Node HTTP Server & middleware.

Development

  1. Clone jiffies
  2. cd jiffies
  3. npm install
  4. npm link

After any edit

  1. npm run build

Alternatively, in a background terminal

  1. npm run watch &

Apps

Starting

  1. Create app folder
  2. npm init
  3. npm install -D prettier typescript@next
  4. npm link @jefri/jiffies

Running

  1. npm start