awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
vinta avatar

vinta/pangu.js

0
View on GitHub↗
4,775 stars·310 forks·TypeScript·MIT·17 viewschrome.google.com/webstore/detail/paphcfdffjnbcgkokihcdjliihicmbpd↗

Pangu.js

pangu.js is a CJK text spacing formatter and mixed-language typography validator. It functions as a JavaScript tool that inserts spaces between Chinese, Japanese, or Korean characters and alphanumeric text to improve readability.

The project provides a browser DOM text processor that injects spacing into HTML elements and a Node.js text formatting tool for processing local files and strings. It includes a typography validator to verify if text adheres to specific spacing rules between CJK characters and half-width symbols.

The tool covers core formatting and mixed language separation while preserving specialized technical terminology. It handles web page typography through dynamic content monitoring and DOM element formatting, as well as local file formatting using synchronous and asynchronous processing.

Features

  • CJK Text Formatters - Provides specialized formatting to insert spaces between CJK characters and alphanumeric text for improved readability.
  • Node.js Text Formatting Libraries - Offers a Node.js library for processing local files and strings to ensure consistent mixed-language spacing.
  • Mixed-Language Typography Validators - Provides a utility to verify if text strings adhere to specific spacing rules between CJK characters and symbols.
  • Typographic Spacing Validators - Includes a validator to verify if strings or files adhere to required CJK and alphanumeric spacing rules.
  • Typographic Spacing Verifiers - Checks if a string or file contains the correct spacing between CJK and alphanumeric characters.
  • Mixed-Language Spacing Rules - Separates CJK characters from half-width alphanumeric characters to increase visual clarity.
  • DOM Processors - Provides a browser-based processor that injects spacing into HTML elements and monitors dynamic content changes.
  • DOM Text Processors - Provides a browser-side processor that injects spacing into HTML elements and monitors dynamic content.
  • Mixed-Script Regex Separators - Employs regular expressions to identify boundaries between CJK and alphanumeric characters for automatic whitespace insertion.
  • Technical Terminology Preservation - Preserves specialized technical terminology to prevent incorrect space insertion within compound technical words.
  • CJK Spacing Utilities - Implements web-specific typography by inserting whitespace into DOM elements to separate CJK scripts from Latin text.
  • Local File Processing Tools - Formats local files by adding spaces between CJK and alphanumeric characters using sync or async I/O.
  • DOM Tree Traversers - Recursively traverses the HTML DOM tree to find and modify text nodes for typography formatting.
  • Web Change Monitors - Monitors changes to web page content to automatically apply spacing to newly added text elements.
  • Reactive DOM Monitors - Uses MutationObservers to reactively detect and apply CJK spacing to newly injected DOM elements.
  • DOM Element Manipulators - Programmatically modifies the content of HTML elements to inject typographic spacing.
  • Typography Content Observers - Automatically monitors the web page for new elements to apply CJK spacing rules dynamically.

Star history

Star history chart for vinta/pangu.jsStar history chart for vinta/pangu.js

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does vinta/pangu.js do?

pangu.js is a CJK text spacing formatter and mixed-language typography validator. It functions as a JavaScript tool that inserts spaces between Chinese, Japanese, or Korean characters and alphanumeric text to improve readability.

What are the main features of vinta/pangu.js?

The main features of vinta/pangu.js are: CJK Text Formatters, Node.js Text Formatting Libraries, Mixed-Language Typography Validators, Typographic Spacing Validators, Typographic Spacing Verifiers, Mixed-Language Spacing Rules, DOM Processors, DOM Text Processors.

What are some open-source alternatives to vinta/pangu.js?

Open-source alternatives to vinta/pangu.js include: phuocng/html-dom — This is a vanilla JavaScript DOM manipulation library that provides a collection of native methods for selecting,… fabiospampinato/cash — Cash is a lightweight DOM manipulation library and HTML element wrapper designed as an alternative to jQuery for… kenwheeler/cash — Cash is a lightweight JavaScript library for selecting and modifying HTML elements in modern browsers. It functions as… sadanandpai/javascript-code-challenges — This repository is a collection of JavaScript coding challenges and a comprehensive interview guide. It provides… mgp/book-notes — This project is a markdown-based personal knowledge base and digital learning journal used to store notes and… ruanyf/document-style-guide — This project is a technical writing style guide and comprehensive specification for professional documentation, with a…

Open-source alternatives to Pangu.js

Similar open-source projects, ranked by how many features they share with Pangu.js.
  • phuocng/html-domphuocng avatar

    phuocng/html-dom

    6,524View on GitHub↗

    This is a vanilla JavaScript DOM manipulation library that provides a collection of native methods for selecting, creating, and modifying HTML DOM elements without any framework dependencies. It operates directly on the live DOM tree using imperative JavaScript calls, wrapping standard browser DOM APIs into reusable utility functions. The library covers the full spectrum of DOM operations including element selection, creation, removal, content and attribute management, event handling, style and class manipulation, and DOM traversal. It includes approaches for cross-browser DOM compatibility,

    MDXdocument-object-modeldomdom-api
    View on GitHub↗6,524
  • fabiospampinato/cashfabiospampinato avatar

    fabiospampinato/cash

    7,041View on GitHub↗

    Cash is a lightweight DOM manipulation library and HTML element wrapper designed as an alternative to jQuery for selecting and modifying elements in modern browsers. It functions as a modular DOM framework and JavaScript utility library, providing a system to wrap DOM nodes into actionable collections for batch processing. The project is built with a modular design that supports tree-shaking, allowing build tools to exclude unused methods to minimize the final bundle size. It provides mechanisms for extending the core functionality and collection prototypes to implement reusable plugins and c

    JavaScriptcashdomjavascript
    View on GitHub↗7,041
  • kenwheeler/cashkenwheeler avatar

    kenwheeler/cash

    7,039View on GitHub↗

    Cash is a lightweight JavaScript library for selecting and modifying HTML elements in modern browsers. It functions as a chainable element wrapper and DOM manipulation utility, providing a minimal alternative for managing browser DOM operations. The library uses a collection-based wrapper for DOM nodes, allowing multiple modifications and style updates to be performed in a single sequence. It is designed to provide a similar API for event handling and element management while maintaining a small footprint. The project covers a wide range of DOM manipulation capabilities, including element se

    JavaScript
    View on GitHub↗7,039
  • sadanandpai/javascript-code-challengessadanandpai avatar

    sadanandpai/javascript-code-challenges

    4,451View on GitHub↗

    This repository is a collection of JavaScript coding challenges and a comprehensive interview guide. It provides reference implementations and educational examples designed to help developers master language fundamentals and prepare for technical interviews. The project covers a wide array of specialized implementations, including functional programming patterns like currying and partial application, as well as asynchronous patterns for concurrency control. It also includes practical examples of Document Object Model manipulation and the implementation of common data structures such as stacks

    MDXchallengescoding-interviewfrontend
    View on GitHub↗4,451
See all 30 alternatives to Pangu.js→