
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
ngx-pretty-number
Advanced tools
This library includes functionality to enable number only input field along with two decimal places. Package includes a single directive `ngxPrettyNumber` which needs to be applied on input (type='text') field. Adding this will enable comma formatting as
This library includes functionality to enable number only input field along with two decimal places. Package includes a single directive ngxPrettyNumber
which
needs to be applied on input (type='text') field. Adding this will enable comma formatting as user start typing. Also, it will maintain two decimal places mask.
Demo can be found here
Following are the three simple steps which you need to follow in order to use this library:
npm install ngx-pretty-number
in terminal.import { NgxPrettyNumberModule } from 'ngx-pretty-module'
. Also, add NgxPrettyNumberModule in your list of
imports.<input type='text' ngxPrettyNumberModule>
Wohoo! that's it. Enjoy coding.
If at any point you want help or want to give any sugesstion, feel free to contact me on my Twitter handle.
This library is created to solve the challenge Angular developer's face when working on formatting the number fields. Although utmost care has been taken to make it bug free, but there can be some unknown issues which you might face. Your bugs/suggestions are heartly welcomed.
*Please drop Git issues only which are related to the library.
If in case you get stuck in some issue, feel free to contact me on my Twitter handle.
FAQs
This library includes functionality to enable number only input field along with two decimal places. Package includes a single directive `ngxPrettyNumber` which needs to be applied on input (type='text') field. Adding this will enable comma formatting as
The npm package ngx-pretty-number receives a total of 0 weekly downloads. As such, ngx-pretty-number popularity was classified as not popular.
We found that ngx-pretty-number demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.