2.0.5 • Published 6 months ago

functional-expression v2.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

Coverage License NPM Version Open Issues Size

šŸ§™ Functional Regular expression builder.

Usage

šŸ“¦ Node

Install functional-expression as a dependency:

pnpm add functional-expression
# or
npm install functional-expression
# or
yarn add functional-expression

Import it and use it:

import { build, group, or } from "functional-expression";

build("gu")(group(or("this", "that"))); // /(?:this|that)/gu

šŸ¦• Deno

Import functional-expression using the npm: prefix, and use it directly:

import { build, group, or } from "npm:functional-expression";

build("gu")(group(or("this", "that"))); // /(?:this|that)/gu

šŸŒŽ Browser

Import functional-expression using esm.sh, and use it directly:

<script type="module">
	import { build, group, or } from "https://esm.sh/functional-expression";

	build("gu")(group(or("this", "that"))); // /(?:this|that)/gu
</script>

Useful links

2.0.5

6 months ago

2.0.3

1 year ago

2.0.4

1 year ago

2.0.2

1 year ago

2.0.1

1 year ago

2.0.0

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago