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

learnnodejsff

v1.0.0

Published

Learn how to node js

Downloads

4

Readme

learnnodejs

aca hay una buena referencia de como configurar nodejs y typescript con npm https://khalilstemmler.com/blogs/typescript/node-starter-project/

En la docu del visualstudio code encontre varias cosas para entender como debuggear https://code.visualstudio.com/docs/typescript/typescript-compiling

Para correr, primero verificar tener node instalado (usar nvm para obtener la ultima lts)

nvm install --lts nvm use --lts

Despues instalar las dependencias

npm install

Para correr con npm se puede:

En ambiente local npm run start:dev

En "prod" npm run start

Tambien se puede debuggear desde el Visual Studio Code usando el launch.json

Breve explicacion de los archivos de configuracion

  • package.json tiene la config de npm con las dependencias dependencies: estan las dependencias de types de node devDependencies: nodemon: tira alguna magia para poder hacer el npm start:dev y que se quede watcheando los cambios y al mismo tiempo compilando ts-node: ejecuta el typescript on the fly en modo dev typescript: este me lo pidio instalar asi para ts-node, lo tenia instalado global, pero no lo levantaba

nodemon.json configuracion de como ejecutar el nodemon que esta watcheando los cambios basicamente ejecuta al app.ts con ts-node

tsconfig.json configuracion de typescript notar q esta estricta

Para instalar express

https://blog.logrocket.com/typescript-with-node-js-and-express/

delete line = ctrl+shift+k format code = ctrl+shift+i

linkssss

https://afteracademy.com/blog/design-node-js-backend-architecture-like-a-pro https://dev.to/raynnerdm/developing-in-node-js-using-typescript-18kg https://itnext.io/how-to-use-node-js-with-typescript-98e16b35518a https://blog.tuleap.org/how-we-replaced-rabbitmq-redis/ https://redis.io/commands/rpoplpush#pattern-reliable-queue https://bronto.com/blog/reliable-queueing-in-redis-part-1https://redis.io/topics/streams-intro https://github.com/bee-queue/bee-queue https://dev.to/sarbikbetal/simple-node-js-task-queue-with-bee-queue-and-redis-105b https://redislabs.com/blog/bee-queue-redis-based-distributed-queue/ https://github.com/OptimalBits/bull