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 🙏

© 2026 – Pkg Stats / Ryan Hefner

search-users

v1.0.0

Published

Esse projeto foi gerado com [Angular CLI](https://github.com/angular/angular-cli) versão 7.3.9.

Readme

SearchUsers

Esse projeto foi gerado com Angular CLI versão 7.3.9.

Dependências

Rode yarn install ou npm install para instalar as depêndencias do projeto.

Servidor de desenvolvimento

Rode yarn dev ou npm run dev para levantar o servidor de desenvolvimento. Automaticamente será aberta uma aba do navegador com o endereço http://localhost:4200/. A aplicação será recarregada automaticamente, se você mudar algum arquivo(hot-reloading).

Linter

Foram adicionadas regras extras de lint como:

  • no-irregular-whitespace
  • ordered-imports
  • trailing-comma

Rode yarn lint ou npm run lint, para fazer a verificação.

Build

Rode yarn build ou npm run build para buildar o projeto. Os artefatos do build serão salvos na pasta dist/. Por padrão esses comandos já rodam com a variável de ambiente production.

Testes unitários

Rode yarn test ou npm run test para executar os testes unitários através do Karma.

Testes custom encontram em

  • auth.service.spec.ts
  • fields.creator.spec.ts
  • userLogin.factory.spec

Server Side Rendering

Esse projeto tem suporte ao Server Side Rendering, basta rodar o comando yarn ssr ou npm run ssr.

Rotas

  • / - progida(se não estiver logada), referente ao login
  • cadastrar- protegida(se é admin e usuário logado), referente ao cadastro de usuários
  • usuarios - protegida(se usuário logado), refere a visualização do usuário, exclusão e edição(se for admin)

Storage

A aplicação não consome endpoints, existe um pattern DAO que cuida dos acessos ao localStorage(escolhido como sistema de armazenmento do desafio).