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

neomi-cli

v2.0.1

Published

Neomi CLI for file generation

Downloads

26

Readme

neomi-cli

About

this is a cli made for NEOMI project to handle and generate repetitive code generation.

Concept

this is a cli re-lay in this main concepts :

  • Binding matrices : for each ressource we have a automatically generated csv matrice that allow to point the inversify inversion of controlls
  • Generating inversify : generating the needed inversify config and types
  • Generating template : generating the new ressourses template files

Installation

install with commande :

npm install neomi-cli

please install it globally for more convenience with the commande :

npm -g install neomi-cli

CLI Commandes

the main commande for the CLI :

neomi help

the keywords for subCommande are :

  • -new : allow to create a new ressource
  • -print : allow you to see the current configuration
  • -generate : allow you to generate the necessary configurations and files of the chapter

config

the config commande allow you to configure you project paths and global configuration :

  • print global configuration
neomi config-print
  • delete current global configuration
neomi config-reset
  • allow to synchronize and generate all necessary files and configuration with current config
neomi config-generate

repository

the respository commande allow you to handle repositories ressources :

  • print repository mapping matrice and check the health of repositories config
neomi repository-print
  • create new repository (interface,implementation) and add it configuration to inversify (config,type)
neomi repository-new
  • generate and synchorinze all the (interface,implementation) and inversify configs (config,type) with the mappings matrice
neomi repository-generate

service

the service commande allow you to handle repositories ressources :

  • print service mapping matrice and check the health of repositories config
neomi service-print
  • create new service (interface,implementation) and add it configuration to inversify (config,type)
neomi service-new
  • generate and synchorinze all the repositories (interface,implementation) and inversify configs (config,type) with the mappings matrice
neomi service-generate

controller

the controller commande allow you to handle repositories ressources :

  • print controller mapping matrice and check the health of repositories config
neomi controller-print
  • create new controller and add it configuration to inversify (config)
neomi controller-new
  • generate and synchorinze all the controllers (interface) and inversify configs (config) with the mappings matrice
neomi controller-generate

local developpement

you can build the project and test it locally with the following command :

npm link && npm upgrade -g neomi

build the project and publish new version

you can build patch the project and test locally with the following command :

new patch version :

npm version patch
npm publish
npm upgrade -g neomi-cli

new minor version

npm version minor
npm publish
npm upgrade -g neomi-cli

new major version

npm version major
npm publish
npm upgrade -g neomi-cli