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

zorasantos

v4.0.3

Published

<p align="center"> <img src="https://res.cloudinary.com/doampncx5/image/upload/v1561809783/Capturar.png"/> </p>

Readme

Cartão Pessoal em NPX - Zoranildo Santos

O desenvolvimento desse package que simula um cartão pessoal faz parte dos meus exercícios de aprendizagem. Desenvolvemos o nosso card baseado no repositório do Tierney Cyren

Recursos Utilizados:

  • Visual Studio Code

  • Javascript

  • Node.Js

  • Npm

  • Pacotes:

    Construindo um simples NPM Card

    1. Criar uma pasta com o seu nome. Siga os passos abaixo:
    > mkdir zorasantos && cd zorasantos
    > npm init -y
    > crie o arquivo card.js
    1. Fça a instalação dos pacotes com os seguintes comandos:
    > npm install standard --save-dev
    > npm install chalk --save
    > npm install boxen --save
    > npm install commander --save
    1. Copie o codigo abaixo e cole dentro do aquivo card.js(Não esqueça de substituir os dados pessoais):
    #!/usr/bin/env node
    
    //Aqui declaramos os módulos
    const chalk = require('chalk');
    const boxen = require('boxen');
    
    //Aqui definimos as opções para o módulo 'boxen'
    
    const options = {
        padding: 1,
        margin: 1,
        borderStyle: 'round',
        float: "center",
        borderColor: "#ff4879",
        backgroundColor: "black"
    };
    
    //Aqui incluímos os textos e as definições do módulo 'chalk'
    
    const data = {
        name: chalk.white('           Zoranildo Santos /'),
        handle: chalk.cyan('zorasantos'),
        work: chalk.cyan('Grupo Frangolândia'),
        npm: chalk.gray('https://npmjs.com/') + chalk.blue('zorasantos'),
        github: chalk.gray('https://github.com/') + chalk.blue('zorasantos'),
        linkedin: chalk.gray('https://www.linkedin.com/in/') + chalk.blue('zorasantos'),
        medium: chalk.gray('https://medium.com/') + chalk.blue('@zoranildo22'),
        npx: chalk.white('npx zorasantos'),
    
        labelwork: chalk.green.bold('   Work:'),
        labelnpm: chalk.red.bold('   NPM'),
        labelGitHub: chalk.yellow.bold('   GitHub:'),
        labelLinkedIn: chalk.blue.bold('   LinkedIn:'),
        labelMedium: chalk.white.bold('   Medium:'),
        labelCard: chalk.red.bold('   Card:')
    };
    
    //Aqui será a saída do cartão pessoal pelo comando NPX
    const newline = '\n'
    const heading = `${data.name} ${data.handle}`
    const working = `${data.labelwork} ${data.work}`
    const npm = `${data.labelnpm} ${data.npm}`
    const githubing = `${data.labelGitHub} ${data.github}`
    const linkedining = `${data.labelLinkedIn} ${data.linkedin}`
    const mediuming = `${data.labelMedium} ${data.medium}`
    const carding = `${data.labelCard} ${data.npx}`
    
    
    // Aqui colocaremos a nossa saída numa única variável
    
    const output = heading + newline + newline + working + newline + npm + newline + githubing + newline + linkedining + newline + mediuming + newline + newline + carding
    
    console.log(chalk.green(boxen(output, options)));
    1. Pra finalizar execute o comando abaixo para visualizar seu cartão:
    npx zorasantos
    Se por acaso o comando **npx** não funcionar tente este comando:
    node card.js