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

@optimics/repo

v0.8.5

Published

Configure typical Optimics repository with a single command

Downloads

4

Readme

@optimics/repo

Configure typical Optimics multirepository with a single dependency

This library should be used as a toolchain dependency, to avoid specifying exact dependencies on various toolchains and make our developer's lives easier.

We do not want to use other common toolchains, because we have specific use cases, that are derived from the world of Data Analytics.

Use cases

Use this for your monorepo/multirepo, if at least one of the following applies to your JavaScript project.

  • It is a Cloud Function code
  • It is a Cloud Run code
  • It is a Google Tag Manager library code
  • It is a Google Analytics library code

Installation

npm install --save-dev @optimics/repo

Examples

See the examples directory.

Contents

The list of contents is open for debate and each of the tools should be defended before it is added.

Lerna

We want to have small amount of larger repositories rather than large amount of smaller repositories. Large amount of repositories brings in maintenance cost and the small repositories go out of maintenance cycle very quickly. The result is a massive junkyard of code, that is never going to be maintained and even used. Lerna helps us to structure code into multirepositories.

TypeScript

We disccused using TypeScript on developer meetings and agreed, that it is useful even for the world of Data Analytics. Using it by default is the best way, to leverage it's full power.

Babel

We need to use Babel to enrich our support of environments. It might not be convenient to write all the code in TypeScript. Babel helps us to normalize the code, that comes both out of TypeScript transpiler and the JavaScript modules.

Jest

We use Jest as our primary testing tool.

Rome

Rome is the next generation linter and formatter written in Rust.

  • rome - Rome base package

Commitlint