JSPM

extract-hardcoded-html

1.1.5
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 2
    • Score
      100M100P100Q21708F
    • License ISC

    Scans the current directory for hardcoded html text and saves them to a file

    Package Exports

    • extract-hardcoded-html

    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 (extract-hardcoded-html) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    Extract hardcoded html

    Installation guide

    • Globally install the extractor

    npm i -g extract-hardcoded-html

    • Globally install i18n-lint

    npm install -g jwarby/i18n-lint

    Usage

    • Navigate to the folder you want to scan.

    • Execute the command extract-hardcoded-html or ehh

    • The script will scan all the html files for hardcoded html text and saves the proof in a seperate file in the same folder

    • angular two way bindings and filters are skipped ('{{}}' and '|')

    Dependencies