New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@pomsky-lang/cli

Package Overview
Dependencies
Maintainers
2
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pomsky-lang/cli

Compile pomsky expressions, a new regular expression language

latest
Source
npmnpm
Version
0.12.0
Version published
Maintainers
2
Created
Source

Pomsky CLI

This CLI allows you to compile pomsky expressions to regexes in the command line.

Installation

You can install Pomsky by...

  • downloading a pre-built binary
  • using the shell or PowerShell installer
  • using the Windows msi installer
  • installing the @pomsky-lang/cli NPM module globally
  • installing the pomsky-bin AUR package

See the releases page for instructions.

Build from source

Ensure you have a recent Rust toolchain installed. Instructions for how to install Rust can be found here. Then run

cargo install pomsky-bin

Usage

Then you can compile pomsky expressions to a regex flavor of your choice; the default is PCRE.

Run pomsky --help for more information.

Pomsky provides nice error messages:

$ pomsky "'Hello world'* \X+"
Error:
  × Backslash escapes are not supported
   ╭────
 1 │ 'Hello world'* \X+
   ·                ─┬
   ·                 ╰── error occurred here
   ╰────
  help: Replace `\X` with `Grapheme`

License

Dual-licensed under the MIT license or the Apache 2.0 license.

Keywords

text-processing

FAQs

Package last updated on 08 Nov 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts