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

navy

v6.0.0

Published

Quick and powerful development environments using Docker and Docker Compose

Downloads

1,531

Readme

navy

A tool for easy multi-service development powered by Docker Compose

Navy is a command line tool and NodeJS library to help make working on your application easier when it has many services or backing services.

It builds on top of Docker Compose which means it's super easy to get started if you're already familiar with the Docker ecosystem. Simply point Navy at your existing docker-compose.yml and then you're good to go. With a single command, you can launch all of your services from your configuration and go on to manage those services and debug them.

Navy is great for development as it allows you to put a service into "development mode" from the command line, which automatically mounts your local source code into the container. This is great for quickly working on multiple services without having to change any configuration.

Navy is also great for testing and CI as you can bring up your environment before your test run and even get information like host and ports of various services using the NodeJS API.

You can customise the functionality of Navy by writing Javascript plugins which can add workflow commands or control your service configuration at runtime using middleware.

Features

  • Work on services in your environment

    Easily mount your source code into a service container so you can work on it locally, whilst keeping it in the Docker network. Done from one single command!

  • Easily run multiple instances of your environment in parallel.

    This is useful if you want to have a development environment where you do all of your usual, manual testing, but also want to be able to spin up another environment with all of your services for an automated integration test run.

  • Swap out versions of services

    Great for when you want to quickly revert to an old version of a service.

  • Built in HTTP proxy

    Access your services using myservice.dev.nip.io rather than using pesky IP addresses and random ports. This is also great for testing your services on other devices like tablets and phones.

  • Javascript API for interfacing with Docker and Docker Compose

    Easily launch and manage environments from your code. Useful for if you want to spin up an environment at the start of a test run or extract the host and port of a running service.

  • Plugin system

    Add your own commands or manipulate the Docker Compose configuration however you like at runtime using config reducers. An example of how we use this internally is rewriting the images to point to a local registry cache instead of pulling from Docker Hub.

Getting started

$ npm install -g navy

License

Licensed under the MIT License.

View the full license here.