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

nhl97-ts_utils

v1.8.1

Published

Miscellaneous TypeScript functions and typing utilities. Plus a dynamic network implementation + GEXF parser + generator

Downloads

282

Readme

Niki Herl's TypeScript Utilities

This is the public readme for TS_Utils's public repository.

What is being built here?

In this repository, I collect all the (standalone) TypeScript utilities and experiments I build (or sometimes copy from the web). This includes:

  • lots of type utilities and predefined types (e.g. Time.ts)
  • various math, array and string utilities (named *_utils.ts)
  • (CSS-)styling-related types and utilities (styling_types_consts.ts)
  • some (attempts at) data structures (ImmutTree.ts)
  • and most recently: A working and performant dynamic network implementation, along with a parser and a generator for GEXF graph/network files (see folders Networks and GEXF). This dynamic network-related code was created

Should I use it?

Most of the contents of this package are not meant for public consumption/consideration, because it is not stable, complete or tested enough to make a good dependency. I am however fairly proud of that dynamic-network-related code, and I can imagine it being useful to others as well. So I cordially invite the reader to peruse the Networks and GEXF folders, whether for reuse or for inspiration. If you have questions, I would also love to incorporate any additions or improvements you have to offer.

Note that TS_Utils is distributed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 License (see neighbouring LICENSE file). Especially note that "NonCommercial" in the license name. It means you are not allowed to sell TS_Utils or to incorporate it or pieces of it in commercial software.

TS_Utils doesn't live in its own git repository, but is nestled within a private repo I am not willing to share in full, at least for now. Hence no link to the source code. Instead, to view the source code, just install/download the package and open (/copy/edit) the src folder.

Who is building it?

Me, Niki Herl, computer science BSc student at TU Wien. Check out my personal website nikiherl.com.