# nv-regexp-flags

> nv-regexp-flags ======================= - convert regexp flags-str to a int compatible-with-v8 - refer to : v8/src/regexp/regexp-flags.h

Latest version **1.0.1** (published 2023-05-23) · ISC license · 0 weekly downloads

## Install

```sh
npm install nv-regexp-flags
pnpm add nv-regexp-flags
yarn add nv-regexp-flags
bun add nv-regexp-flags
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2023-05-23 |
| First published | 2023-05-23 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | ihgazni2 |

## Links

- npm: https://www.npmjs.com/package/nv-regexp-flags
- npm.io page: https://npm.io/package/nv-regexp-flags

## Recent versions

- 1.0.1 (latest) — 2023-05-23

## README

nv-regexp-flags
=======================
- convert regexp flags-str to a  int compatible-with-v8
- refer to : v8/src/regexp/regexp-flags.h 



install
=======
- npm install nv-regexp-flags

splitted
--------


usage
=====
    
      const { n2s,s2n}   = require("nv-regexp-flags");
 

example
-------
         
         var rgx = /a/gi;
         >   rgx.flags 
         /*"gi"*/


        > s2n("gi")
        3
        > s2n("g")
        1
        > s2n("i")
        2
        >
        > n2s(3)
        'gi'
        > n2s(1)
        'g'
        > n2s(2)
        'i'


METHODS
========


APIS
=======


LICENSE
=======
- ISC

---
_Source: https://npm.io/package/nv-regexp-flags · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
