Skip to content
pubscout

acronym

0.5.1, released 4 years ago by jxstxn.dev

A simple package to generate acronyms from strings with support for stop words and syllables.

WASM-ready
$ flutter pub add acronym
Source repository

What it does

Generates acronyms from input text using a function or a string extension. It allows filtering out stop words and splitting words into syllables to form the acronym.

AI-written summary of version 0.5.1, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to generate acronyms from user names, titles, or phrases in your app.
  • You want to customize acronym generation by excluding stop words or utilizing syllables.

Skip it when

  • You need complex text processing or NLP capabilities beyond acronym generation.
  • You require extensive localized stop word dictionaries out of the box.

Strengths

  • Simple and lightweight API
  • Provides both a function and a convenient string extension
  • Supports custom stop words and syllable splitting

Weaknesses

  • Very narrow scope focused solely on acronyms

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
1
import 'package:acronym/acronym.dart';

const String input = "The United States of America";
final String output = input.toAcronym();
print(output); // "USA"

Alternatives

Packages that do the same job and could replace acronym.

  • printing

    Plugin to generate and print PDFs on Android, iOS, macOS, Windows, Linux and web

  • swagger_to_dart

    Generates freezed models and retrofit API clients from OpenAPI 3.x, Swagger 2.0, Postman collections and JSON Schema, in JSON or YAML.

  • uid

    Generates timestamp‑based unique IDs and random barcodes with configurable length and charset.

  • flutter_oss_licenses

    Generates a detailed OSS license list from pubspec.yaml and lock files.

Works with

Packages commonly used together with acronym: ones it builds on, ones built on it, and its own family.