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

@hyperse/track

v1.0.5

Published

A typed, smart, scalable, powerful data collection engine written in typescript

Downloads

106

Readme

Coverage Report

Prerequisites

Before you begin, make sure you have the following installed:

  • Node.js (recommended version 16.x or higher)
  • npm (comes with Node.js)

Installation

// npm
npm i @hyperse/track

// yarn
yarn add @hyperse/track

Development

[!IMPORTANT] The following instructions are for those who want to develop the hyperse related framework or plugins (e.g. if you intend to make a pull request). For instructions on how to build a project using Hyperse, please see the Getting Started guide.

1. Clone project to the local directory

git clone https://github.com/hyperse-io/track.git

2. Install dependencies in the root directory

yarn install

or

npm install

The root directory has a package.json which contains build-related dependencies for tasks including:

  • Building & deploying the docs
  • Project for online presentation
  • Linting, formatting & testing tasks to run on git commit & push

3. Testing

Make sure to thoroughly test your changes before submitting them. This includes running unit tests, integration tests, and any other relevant testing methods to ensure code quality and functionality.

The core and several other packages have unit tests which are can be run all together by running npm run test from the root directory, or individually by running it from the package directory.

Unit tests are co-located with the files which they test, and have the suffix .spec.ts.

4. Improve documentation

Documentation is a critical part of any software project. To improve or update the documentation:

  1. Update Documentation Files: If your changes introduce new features, modify existing functionality, or fix bugs, update the relevant documentation files located in the /website directory.

  2. Build and Preview: Ensure that your documentation builds correctly and looks good by running:

cd website

npm run start
  1. Commit Documentation Changes: Make sure all updates to documentation are committed alongside your code changes.

5. Release Process

To make a release:

  1. Commit the Changes: Push your updated files to your branch.

  2. Create a Pull Request: Open a pull request (PR) with your changes. Make sure to include a clear description of what has been updated and why.

  3. GitHub Actions: Once the PR is merged into the main branch, the release process will be automatically handled by GitHub Actions. This includes tasks such as publishing to npm and updating documentation.

Documentation

You can find the Track documentation on the website.

Check out the Sample Example page for a quick start.

License

See LICENSE