Skip to content

Regex-Radar/recheck-scalajs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

recheck-scalajs

Note

This is a custom distribution containing the scalajs build output of recheck to enable consumers to build against an ESM build. See makenowjust-labs/recheck#1619 for more info. When an ESM build is available in recheck, this repo/package will be archived.

API

This distribution provides the following API:

// esm-recheck provides the original API
import { check } from '@regex-radar/recheck-scalajs';

// NOTE: this is the sync function, and can be computationally heavy and thus block any UI running on the same thread.
const result = check('a|ab+', 'g');

Build

This repository/package is a distribution of the build output of rechecks compilation with scalajs as its target. similar to the native and jar build targets of recheck.

The build output is not included in the git index, because they are output files from building recheck. The files that are copied from recheck:

cp modules/recheck-js/target/scala-2.13/recheck-js-opt/ lib/

recheck

For more information about recheck see:

About

The ScalaJS implementation of recheck - available as ESM

Resources

License

Stars

Watchers

Forks

Packages

No packages published