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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@alexkingcoder/lazycode

v2.0.6

Published

Ez Save and use your favourite code. GL HF.

Readme

LazyCode V 2.0.6 🚀

Lazycode es una librería Comand Line Interface (CLI) para memorizar bloques de código e insertarlos fácilmente en archivos utilizando palabras clave, lo que te ahorra un montón de tiempo a la hora de iniciar nuevos proyectos.

Funciones

LazyCode te permite:

  • Guardar bloques de código reutilizables con palabras clave.
  • Organizar tu código en carpetas por categorías.
  • Insertar automáticamente bloques de código en archivos usando etiquetas.
  • Buscar rápidamente tus bloques por palabras clave.
  • Exportar e importar tus librerías de código (disponible en la versión 2.2).

Instalación

npm install lazycode -D

Comandos Básicos

Crear un bloque de código

lc new block

Crear carpeta para organizar tus bloques

lc new folder

Buscar bloques por palabras clave

lc find block

Editar bloques o carpetas / vista previa

lc edit block
lc edit folder

Eliminar bloques o carpetas

lc delete block
lc delete folder

Insertar bloques en archivos

lc go "ruta/al/archivo"

Cómo usar la inserción de código

  1. Guarda un bloque de código con palabras clave:

    lc new block

    Importante: Cuando escribas el código que quieres guardar, debes insertar el comando "::end" para continuar al siguiente paso. De lo contrario, al pulsar enter, solo se producirá un salto de línea.

  2. En el archivo donde quieres insertar el código, inserta el nombre del bloque utilizando llaves dobles:

    {{nombre-del-bloque}}
  3. Escribe en la terminal:

    lc go "mi-archivo.extensión"

Estructura del proyecto

lazycode/
├── snippets/            # Carpeta donde se guardan los bloques
│   ├── keywords.json    # Palabras clave de los bloques
│   ├── html/            # Carpeta para HTML
│   ├── js/              # Carpeta para Javascript
│   ├── ts/              # Carpeta para Typescript
│   └── py/              # Carpeta para Python
├── src/                 # Código fuente
└── bin/                 # Ejecutable

Características

  • Autocompletado en búsquedas de bloques.
  • Organización de carpetas por colores
  • Palabras clave para búsqueda rápida
  • Inserción automática de código
  • Interfaz interactiva con prompts

Versión actual

v2.0 - Primera versión publicada. Funcionalidad completa.

Autor

Alex Gil (King Coder) - Te echo un cable para que programar sea más sencillo. De nada :)

Licencia

Todos los derechos reservados. Esta herramienta es de uso público en npm. No se permite su uso comercial sin consentimiento del autor.