Socket
Socket
Sign inDemoInstall

ng-star

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ng-star

## This Angular library generates stars (in yellow color) for rating provided in range of 0.0 to 5.0.


Version published
Weekly downloads
1
decreased by-88.89%
Maintainers
1
Weekly downloads
 
Created
Source

NgStar

This Angular library generates stars (in yellow color) for rating provided in range of 0.0 to 5.0.

To use this library:

  1. Npm install ng-star
  2. In angular component wherever you want to use it, import this component and then <lib-ng-star [rating]="3.5"></lib-ng-star> 3.5 stars with yellow color and remaining 1.5 stars with white color will be generated

Published On NPM 'https://www.npmjs.com/package/ng-star'

This Angular library generates stars (in yellow color) for rating provided in range of 0.0 to 5.0


sample image

Ng Star

This Angular library generates stars (in yellow color) for rating provided in range of 0.0 to 5.0
Explore the docs »

Report Bug · Request Feature

Table of Contents

  1. About The Project
  2. Getting Started
  3. Usage
  4. Contributing
  5. License
  6. Contact

About The Project

ng-star

This Angular library generates stars (in yellow color) for rating provided in range of 0.0 to 5.0

Built With

Getting Started

To get a local copy up and running follow these simple steps.

Prerequisites

none

Installation

  1. install package from npmjs
    npm install ng-star
    

Usage

For the stars to generate correctly, make sure ng-star component is wrapped with atleast 200px width and 75px height:

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Abhishek Kumar - Email

Project Link: https://github.com/sami-colon/ng-star

sample images

Logo

Keywords

FAQs

Package last updated on 19 Mar 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc