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 🙏

© 2025 – Pkg Stats / Ryan Hefner

tilly

v0.1.4

Published

Promise Utility Library

Downloads

6

Readme

tilly

Promise Utility Library
Small collection of functions designed to help the manipulation of the ES6 Promises with await operator.

This library is the evolution and conversion to TypeScript of till.mjs, equivalent written as plain ES6 module.


Install

With NPM

$ npm install tilly

or as development dependency:

$ npm install --save-dev tilly

With YARN

$ yarn add tilly

or as development dependency:

$ yarn add --dev tilly

Release Download

You can download and use the latest release directly from the GitHub page.


Usage

As TypeScript module

/// import specific methods or classes
import { all, sleep } from "tilly";
// ...

// or entire library
import * as tilly from "tilly";
// ...

As browser EcmaScript module

<script type="module">
/// import specific methods or classes
import { all, sleep } from "./tilly/esm/index.js";
// ...

// or entire library
import * as tilly from "./tilly/esm/index.js";
// ...
</script>

As commonjs/node.js module

/// import specific methods or classes
const { all, sleep } = require("tilly");
// ...

// or entire library
const tilly = require("tilly");
// ...

Documentation

Typedoc documentation with examples can be found by clicking here.

The same examples are visible by clicking here.


Build types available

This package is written in TypeScript and the build includes type definitions for use in other TypeScript projects.
The build of this package generates two versions:

  • ES Module: For use in TypeScript or web projects for browsers that support ES6 modules. Using ES6 import in projects based on node.js (including TypeScript) it allows during the bundling phase (via webpack, rollup or equivalent) to perform the tree-shaking of the dependencies and have a lighter bundle.
  • Universal Module Definition: To be used directly in projects based on node.js, or into web projects callable via global variable or via requirejs

Status

Build Status

Build Status


License

MIT


Sandro Lain