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 🙏

© 2026 – Pkg Stats / Ryan Hefner

ose-modules-cli

v1.0.0

Published

Command line interface to quickly setup project structure for the OSE microservice architecture

Downloads

12

Readme

OSE Modules CLI

A developer-friendly command line interface to quickly setup project structure and creation of modules for the OSE microservice architecture.

Get started

To create a new project for your microservices, just type

ose new

This will create all the folder and files that are needed to start developing microservices (modules). Please see new project for details.

Now, to create a module use

ose add

(make sure to run the command inside the project directory, otherwise it won't work). Please see add module for details.

Now you're ready to start develop your first module, start from src/module_name/module_name.ts.

New project

An OSE project is like a wrapper that allows you to develop and build microservices that you can deploy to an OSE environment. The structure is simple and to create a new project from scratch you can use the ose new command. A simple command line interface will ask you to define some basic configuration, like the project name, the author, and the ose install path. This path refers to the install/ folder of your OSE environment (usually it's located in C:/ose/workspace/files/install/ but this depends on your OSE Installation).

Add module

A module is a microservice written in Typescript, that can be compiled (using webpack) and deployed to an OSE environment. It's composed of a main typescript file and a package.json which defines its behaviour. The code structure is at your choice, so you can add as many typescript files as you need , since when compiled it's seen as an unique javascript file. To create a new module, use the ose add command, which will ask you to insert the module name and some other configurations that you can obviously change later. Now you will see a folder named as you defined under the src/ folder, and you can start coding from the main .ts file, which is module_name.ts. You can see examples here

Build module(s)

When you're done with your development, you can build the modules. To do this, just use ose build and select the modules you want to build from the list. This may take a few seconds to execute, depending on the module files. When the build is done, you can go to the next step and deploy the builded modules.

Deploy module(s)

When you're done and your module is compiled (you must have a dist/ directory which contains the builds) you're ready to deploy your module(s). By using ose deploy you can choose which module(s) to deploy and in a nutshell you will have your modules installed in your OSE environment (here the ose install path defined in the project package.json is used).

Examples

All done! You can now user your first OSE microservice!