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

@ribertec/directus-extension-masked-interface

v2.0.1

Published

Masked text input interface for Directus

Readme

Directus Extension - Masked Interface

This is a fork of directus-extension-masked-interface by Adrian Dimitrov, updated to support Directus 10 and 11.

Original work copyright (C) 2020 Adrian Dimitrov. Modifications copyright (C) 2026 Ribertec. Licensed under GPL-3.0.


Input text string by template.

Features

  • Masked text input using template patterns, RegEx, or built-in presets
  • Compatible with Directus 10 and 11
  • Supports string and numeric field types
  • Optional masked or unmasked value storage
  • Case transformation (uppercase, lowercase, title case)
  • Configurable placeholder, icons, and font

Installation

Via Directus Marketplace (recommended): search for "Masked Interface" in the Marketplace.

Via npm:

npm install @ribertec/directus-extension-masked-interface

Restart Directus after installation.

Setup

  1. Create a standard field with string (or numeric) type
  2. For interface select Masked Input and configure the options below

Options

| Option | Description | | ----------------- | -------------------------------------------------------------------------- | | Placeholder | Placeholder text shown inside the input | | Font | Font family: Sans-serif, Monospace, or Serif | | Icon Left | Material Design icon displayed on the left | | Icon Right | Material Design icon displayed on the right | | Save masked value | When enabled, stores the formatted (masked) value instead of the raw input | | Format value | Apply case transformation: none, uppercase, lowercase, or title case | | Type | Masking type — see below | | Template | Pattern string (only for Template and RegEx types) |

Masking types

  • Template — simplified templating pattern (see legend below)
  • RegEx — uses a regular expression to define the pattern
  • Presets:
    • URL
    • Email
    • IP Address (IPv4)
    • MAC Address (: separators)
    • VIN
    • SSN

Template pattern legend

| Character | Meaning | | --------- | --------------------- | | 9 | Number | | a | Lowercase letter | | A | Uppercase letter | | * | Alphanumeric | | \ | Escape next character | | \| | Alternator | | [] | Optional group | | () | Grouping | | {n,[m]} | Repeater |

How it works

The extension uses InputMask by @RobinHerbots as the masking library.

Requirements

  • Directus 10 or 11

License

GPL-3.0 — see LICENSE for details.