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

ngx-voicely

v0.0.3

Published

Highly customizable review collection system for Angular applications

Readme

NgxVoicely

A highly customizable review collection system for Angular applications.

🌟 Features

  • Star Rating: Allow users to rate experiences on a scale of 1-5.
  • Text Feedback: Collect detailed feedback from users.
  • Image Upload: Let users attach images to their reviews.
  • Categories: Group reviews by predefined categories.
  • Tags: Add keywords and tags to reviews.
  • Custom Elements: Add dropdowns, checkboxes, and other custom fields to your review form.
  • Fully Configurable: Turn features on/off according to your needs.

📦 Installation

Install the package via npm:

npm install ngx-voicely --save

🚀 Usage

Basic Setup

  1. Import the Module

    Add the module to your app.module.ts:

    import { NgxReviewSystemModule } from 'ngx-voicely';
    
    @NgModule({
      imports: [
        // ... other imports
        NgxReviewSystemModule
      ],
    })
    export class AppModule { }

    For standalone components:

    import { NgxReviewSystemComponent } from 'ngx-voicely';
    
    @Component({
      // ... other component metadata
      imports: [
        // ... other imports
        NgxReviewSystemComponent
      ],
    })
  2. Add the Component

    Insert the component into your template:

    <ngx-review-system 
      [config]="reviewConfig"
      (reviewSubmitted)="onReviewSubmitted($event)">
    </ngx-review-system>
  3. Configure the Component

    Define the configuration in your component class:

    import { Component } from '@angular/core';
    import { NgxReviewSystemService, ReviewConfig, ReviewData } from 'ngx-voicely';
    
    @Component({
      // ... component metadata
    })
    export class MyComponent {
      reviewConfig: ReviewConfig = {
        showRating: true,
        showTextFeedback: true,
        enableImageUpload: true,
        showCategories: true,
        categories: [
          { id: 'product', name: 'Product Quality' },
          { id: 'service', name: 'Customer Service' }
        ],
        enableTags: true,
        availableTags: ['Excellent', 'Good', 'Average', 'Poor'],
        allowCustomTags: true
      };
    
      constructor(private reviewService: NgxReviewSystemService) {}
    
      onReviewSubmitted(review: ReviewData): void {
        console.log('Review submitted:', review);
        // Process the review data
      }
    }

⚙️ Configuration Options

The review system can be extensively customized through the ReviewConfig interface:

interface ReviewConfig {
  showRating: boolean; // Enable/disable the star rating component
  showTextFeedback: boolean; // Enable/disable the text feedback area
  enableImageUpload: boolean; // Enable/disable image upload functionality
  maxImageCount?: number; // Maximum number of images allowed to upload
  showCategories: boolean; // Enable/disable category selection
  categories?: ReviewCategory[]; // List of available categories for selection
  enableTags: boolean; // Enable/disable tagging functionality
  availableTags?: string[]; // Predefined tags that users can select from
  allowCustomTags?: boolean; // Allow users to create custom tags
  showCustomElements?: boolean; // Enable/disable additional customizable elements
  customElements?: CustomElement[]; // List of custom elements to display
  onSubmit?: (review: ReviewData) => void; // Callback function when a review is submitted
}

🛠️ Service Helpers

The library includes the NgxReviewSystemService that provides helper methods:

  • Create Config: Generate a configuration with default values.
  • Store Reviews: Save reviews in the service.
  • Get Reviews: Retrieve all reviews as an Observable.
  • Average Rating: Calculate the average rating from all reviews.
  • Filter Reviews: Filter reviews by rating or tags.

🎨 Styling

The component comes with default styling, but you can override it in your global CSS or component styles to match your application's design.

📄 License

MIT


Feel free to reach out with any questions or feedback! Enjoy using NgxVoicely! 😊