JSPM

@devjoy/remove-accent

1.0.1
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • 0
    • Score
      100M100P100Q14265F
    • License MIT

    Loại bỏ dấu tiếng việt trong chuỗi

    Package Exports

    • @devjoy/remove-accent
    • @devjoy/remove-accent/dist/index.js

    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 (@devjoy/remove-accent) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    Loại bỏ dấu tiếng việt trong chuỗi

    Installation

    Run npm/yarn install

    npm install @devjoy/remove-accent

    Imports

    import removeAccents from '@devjoy/remove-accent';

    Usage

    Assume we need to apply remove accent for given method

    const str = "Hoàng Sa và Trường Sa là của Việt Nam"
    const strOutput = removeAccents(str);
    console.log(strOutput)
    // Hoang Sa va Truong Sa la cua Viet Nam

    Author

    Devjoyvn (Github)

    License

    Licensed under the MIT License - see the LICENSE file for details.