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

@assylman/riverpod-cli

v0.0.2

Published

nodejs cli for creating well structured flutter riverpod folders and files needed to work with Riverpod plugin

Readme

Riverpod CLI

The Riverpod Command Line Interface (CLI) Tools is created for skipping the boilerplate files generation when using riverpod plugin - https://riverpod.dev.

  • You can easily create services
  • You can easily create repositories
  • You can easily create managers
  • You can easily create features, which includes all of the above

Installation

Node Package

You can install the Riverpod CLI using npm (the Node Package Manager). Note that you will need to install:

  • [Node.js] http://nodejs.org/
  • [npm] https://npmjs.org/

To download and install the Riverpod CLI run the following command:

npm install -g @assylman/riverpod-cli

Commands

The command riverpod-cli --help lists the available commands and riverpod-cli <command> --help shows more details for an individual command.

Use this cli inside you flutter projects directory!!!

Configuration Commands

First four commands need a required parameter, which is a feature name.

| Command | Description | | -------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | | service | Create a service with a given name. | | repository | Create a repository with a given name. | | manager | Create a manager with a given name. | | feature | Create a whole feature with a given name, this includes services, repositories and managers. | | help | Display help information about. |

Common args

| Parameter | | | ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ | | -t | Default features directory is /lib/features``, but with this flag you can set the different directory | | **-i** | With this flag the CLI generates index barrel files. | | **--use-imports** | By default, CLI uses absoluteimports. Set this parameter torelative`, in order to use relatice imports. |

Specific args per command type

| Parameter | Description | | -------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | | service | | | -l | Creates a local service class. | | -r | Creates a remote service class. | | | | | feature | Create a whole feature with a given name, this includes services, repositories and managers. | | -p | This parameter creates a providers file inside the feature folder. |

Folders structure

/lib 
    /features/
        /managers/
            -> example_manager.dart
            -> managers.dart (index barrel file)
        /services/
            -> example_service.dart (abstract interface)
            -> example_local_service.dart
            -> example_remote_service.dart
            -> services.dart (index barrel file)
        /repostiories/
            -> example_repository.dart (abstract interface)
            -> example_repository_impl.dart
            -> repositories.dart (index barrel file)
        -> example.dart (feature index barrel file)
        -> providers.dart (feature provider file)

You can create mentioned files and folders with riverpod-cli feature command.