JSPM

@jsep-plugin/regex

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 4277904
  • Score
    100M100P100Q226219F
  • License MIT

Adds regex expression support

Package Exports

  • @jsep-plugin/regex

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@jsep-plugin/regex) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

npm size

@jsep-plugin/regex

A JSEP plugin for adding regex expression support. Allows expressions of the form:

jsep('/abc/');
jsep('/abc/ig');
jsep('/[a-z]{3}/ig.test(a)');

Install

npm install @jsep-plugin/regex
# or
yarn add @jsep-plugin/regex

Usage

import jsep from 'jsep';
import jsepRegex from '@jsep-plugin/regex';
jsep.plugins.register(jsepRegex);

Meta

LICENSE (MIT)