npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

quasar-app-extension-i18n-spell-checker

v0.0.3

Published

Quasar app extension that works as spell checker for i18n files in Quasar projects

Readme

Quasar App Extension i18n-spell-checker

This is a work in process.

This project is independent of the Quasar Framework, but I love Quasar Framework.

i18n-spell-checker is a Quasar App Extension to spell check the text values stored in the i18n files in a typical Quasar Application.
The extension works with the module Nodehun which aims to expose as much of Hunspell's functionality.

To read about Hunspell: Hunspell spell checker.

Donate

If you appreciate the work that went into this App Extension, please consider donating to Quasar.

How the extesion works

The checking process is very simple:

  1. The extension opens any one of these files in your Quasar Framework based application:

    • <APPLICACTION_ROOT_DIRECTORY>/src/i18n/<LANGUAGE_ID>/index.js
    • <APPLICACTION_ROOT_DIRECTORY>/src/i18n/<LANGUAGE_ID>/index.ts
  2. Parse the file to compile it to a Javascript Object.

  3. Take recursively the text values of each property in the object.

  4. Split the text values in words.

  5. Check the spelling of each word using Hunspell.

  6. Print a colored message with the spelling errors detected.

Install

quasar ext add i18n-spell-checker

Quasar CLI will retrieve it from the NPM registry and install the extension to your project.


Where to get dictionaries

Please, read the nodehum docs in https://www.npmjs.com/package/nodehun#where-to-get-dictionaries

If you are thinking in using Open Office dictionary, please follow this link and read the note: https://www.npmjs.com/package/nodehun#a-note-about-open-office-dictionaries


Extension commands

spellcheck

quasar run i18n-spell-checker spellcheck --language <LANGUAGE> --path <DICTIONARIES_DIRECTORY_PATH>

Examples

  1. Check the USA English (en-US) files using the dictionaries (.aff and .dic files) in ../dictionaries

    Print the wrong words in red without the line numbers.

quasar run i18n-spell-checker spellcheck --language en-US --path ../dictionaries
  1. Check the USA English (en-US) files using the dictionaries (.aff and .dic files) in ../dictionaries

    Print line number in the file before the text with the wrong words in red.

quasar run i18n-spell-checker spellcheck --language en-US --path ../dictionaries -n
  1. Check the Argentina Spain (es-AR) files using the dictionaries (.aff and .dic files) in ../dictionaries

    Print line number in the file before the text with the wrong words in red.

quasar run i18n-spell-checker spellcheck --language es-AR --path ../dictionaries -n

save-dictionary-path

The command save-dictionary-path saves in the Quasar persistent configuration the path to the directory where the dictionaries files (.aff and .dic files) are stored.

You can use this command once to avoid to write the path each time you run the command spellcheck.

quasar run i18n-spell-checker save-dictionary-path --path <DICTIONARIES_DIRECTORY>

Examples

If you run:

quasar run i18n-spell-checker save-dictionary-path --path ~/my_dictionaries

And then:

quasar run i18n-spell-checker spellcheck --language en-US  -n

Because the extension knows the path to dictionaries, the previous command is equivalent to run:

quasar run i18n-spell-checker spellcheck --language en-US --path ~/my_dictionaries -n

Uninstall

quasar ext remove i18n-spell-checker

Other Info

You can get help using the -h or --help option in the extension commands. For example:

quasar run i18n-spell-checker spellcheck -h

Donate

If you appreciate the work that went into this App Extension, please consider donating to Quasar.