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

nocms-cli

v1.6.0

Published

CLI for managing multiple nocms projects

Downloads

5

Readme

nocms-cli

TODO

  • Create package nocms-api-server to reduce boilerplate within Fragments, WebApi and other API containers.
  • Create nocms-build to handle bundling of js and css in web containers
  • Put important config values in CLI promots
  • Create config validation for common containers
  • I nocms-config-client: setDefaults
  • Auth

Prompts: RabbitMQ-login RabbitMQ-passord TokenSecret

Command line interface for NoCMS projects.

Installation

Install from npm: npm i -g nocms-cli Run nocms help to get an overview of the available operations.

Containers

A typical collection of containers for a NoCMS project would be:

| Container | Image Name | Description | Type | Startup order * | |---|---|---|---|---| | Elasticsearch | docker.elastic.co/elasticsearch/elasticsearch-oss:6.1.0 | Elasticsearch database used by page and i18n. | External | 1 | | Config API | _config_api | Central store for configuration values. Implemented using nocms-config-api-server package. | Project | 1 | | Rabbit MQ | rabbitmq:3.6.2-management | Message queue used for write operations | External | 1 | | Authentication API * | _authentication or nocms_authentication | Authentication service using Auth0 or custom implementations | NoCMS or Project | 3 | | Authorization API * | _authorization or nocms_authorization | Authorization service using values from Config API or custom implementation | NoCMS or Project | 3 | | Fragment API ** | _fragments | HTTP server providing HTML fragments for use with ESI includes though Varnish | Project | 2 | | Web API * | _web_api | HTTP server providing API for reading operation on data that are user specific, real-time, etc. | Project | 2 | | Message API * | nocms_messsage_api | Endpoint to handle POST requests for publishing messages on the message queue. | NoCMS | 2 | | Page | nocms_page | API for providing page data | NoCMS | 3 | | I18n API ** | nocms_i18n | Application for handling translations and data API | NoCMS | 2 | | Varnish | _varnich | Cache and reverse proxy with ESI support. | External | 4 | | Cloudinary | nocms_cloudinary | Proxy for accessing the Cloudinary service used for images | NoCMS | 3 |

  • Optional, but required for publishing. ** Optional

* Startup order

| # | Description | |===|======================================================================================================| | 1 | These containers have other containers depending on them, and thus should start as early as possible | | 2 | These containers are exposed through Varnish and needs to be available before Varnish starts up | | 3 | Other containers with no particular dependencies, and are not listed in Varnish backends | | 4 | Varnish |