JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 37
  • Score
    100M100P100Q65026F
  • License MIT

Generates specified length of strings / digits for password | Otp | unique identification purposes

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ngx-random) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    Visit beforepost.com for awesome color palettes &  extract colors and text from any source

    Welcome to NGX-RANDOM!

    Generate strong, random passwords Passwords are a real security threat. Over 80% of hacking-related breaches are due to weak or stolen passwords, a recent report shows . So if you want to safeguard your personal info and assets, creating secure passwords is a big first step. And that’s where the LastPass Password Generator can help. Impossible-to-crack passwords are complex with multiple types of characters (numbers, letters, and symbols). Making your passwords different for each website or app also helps defend against hacking.

    Preview demo

    This preview was generated with CODESANDBOX

    CDN

    CDN Link for ngx-random- https://unpkg.com/ngx-random@0.0.7/bundles/ngx-random.umd.js

    Using

    After importing this library with npm install ngx-random, go to the component which is declared under app.module.ts and integrate as below.

    NGX LOGS MODULE

    constructor(private ngxRandom: NgxRandomService) { }

    Use reference for logs service in constructor and import it respectively at any component

    Methods

    This are the methods available with ngx-random use it as per your requirement:

    Method Inputs Usage
    generateString(8); length: number Generates alphabets string of specified length
    this.ngxRandom.generateString(8);
    generateLowerAlphabetsString(8) length: number Generates lowercase charaters string of specified length
    this.ngxRandom.generateLowerAlphabetsString(8)
    generateUpperAlphabetsString(8) length: number Generates uppercase charaters string of specified length
    this.ngxRandom.generateUpperAlphabetsString(8)
    generateNumber(8) length: number Generates numbers of specified length
    this.ngxRandom.generateNumber(8)
    generatePasswordString(8) length: number Generates random password string of specified length
    this.ngxRandom.generatePasswordString(8)
    generateMixedString(8) length: number Generates Mixed digits - symbols - charaters - string of specified length
    this.ngxRandom.generateMixedString(8)
    generatHashString() Generates Hashed string of length - 16
    this.ngxRandom.generatHashString()
    generatSecuredHashString() Generates secured hashed string of length - 16
    this.ngxRandom.generatSecuredHashString()

    Angular version

    This library was generated with Angular CLI version 13.0.0.

    Code integration

    To use this package as a service npm i ngx-random install this on the root angular project .

    Note: Don't forget to run this commend npm i ngx-random on root folder or else it will throw error.

    Author

    Thanks in advance With love

    Manojkumar Muthukumar

    Coimbatore Visit beforepost.com for awesome color palettes &  extract colors and text from any source