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

icomm-cli

v1.1.1

Published

icomm client for manage projects

Downloads

3

Readme

icommJs english

Icomm is a JS framework for node js, it is a project that takes the best npm libraries and libraries to do the job of creating an API rest faster and easier. This project is a client to generate projects in Icomm, as well as the different components that are used in the project, like the controllers, models.

The models in IcommJS are by default based on MongoDB, with the help of mongoose, a library for the management of documents of MongoDB in nodeJs.

Now in the new version, you can create models for mysql. Icomm continues in development, at the moment it has basic commands such as:

#Create project

icomm g project (project name) generates a new project with the name specified in the folder located

#Create model

icomm g model (model name) (collection o table) --mysql or --mongo Create a new model, you must specify what kind of model is going to be used by pointing to the database available for now in icomm.

#Create controllers

icomm g controller (controller name) --api or --socket create a controller, specifying the type of this by means of the options --api or --socket

--api creates a controller for webservice requests

--socket generates a controller for socket.io namespaces, with this you can create and implement the drivers that are necessary, depending on the type of information that must be issued and separate the logic of each module.

icommJs español

node js framework Icomm es un framework de JS para node js, es un proyecto que toma los mejores modulos y librerias de npm para hacer el trabajo de crear un API rest mas rapido y facil. Este proyecto es un cliente para generar proyectos en Icomm, asi como los diferentes componentes que se utilizan en el proyecto, como los controladores, modelos.

Los modelos en IcommJS estan por defecto basados en MongoDB, con la ayuda de mongoose, una libreria para el manejo de documentos de MongoDB en nodeJs.

Ahora en la nueva version, puedes crear modelos para mysql. Icomm continua en desarrollo, por el momento cuenta con comandos basicos como:

#Crear un proyecto

icomm g project (nombre del proyecto) genera un nuevo proyecto con el nombre especificado en la carpeta situada

#Crear un modelo

icomm g model (nombre del modelo) (coleccion o tabla) --mysql o --mongo Crea un nuevo modelo, se debe especificar que tipo de modelo se va a usar señalando la base de datos disponibles por ahora en icomm.

#Crear un controlador

icomm g controller nombre_controlador --api o --socket crea un controlador, especificando el tipo de este por medio de las opciones --api o --socket

--api crea un controlador para peticiones tipo webservice

--socket genera un controlador para los namespaces de socket io, con este se puede crear e implementar los controladores que sean necesarios, dependiendo el tipo de informacion que deba ser emitida y separar la logica de cada modulo.