{"_id":"@emiplegiaqmnpm/quaerat-totam-pariatur","name":"@emiplegiaqmnpm/quaerat-totam-pariatur","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@emiplegiaqmnpm/quaerat-totam-pariatur","version":"1.0.0","description":"![](https://img.shields.io/badge/Coverage-99%25-83A603.svg?color=black&prefix=$coverage$)","main":"index.js","author":{"name":"emiplegiaqM"},"license":"MIT","dependencies":{"@emiplegiaqmnpm/ad-aliquam-temporibus":"^1.0.0","@emiplegiaqmnpm/adipisci-nisi-laudantium":"^1.0.0","@emiplegiaqmnpm/at-cum-saepe":"^1.0.0","@emiplegiaqmnpm/cupiditate-excepturi-necessitatibus":"^1.0.0","@emiplegiaqmnpm/dolorum-vitae-itaque":"^1.0.0","@emiplegiaqmnpm/eaque-vitae-recusandae":"^1.0.0","@emiplegiaqmnpm/esse-quos-sunt":"^1.0.0","@emiplegiaqmnpm/explicabo-dolor-quo":"^1.0.0","@emiplegiaqmnpm/fugit-vero-voluptas":"^1.0.0","@emiplegiaqmnpm/id-magnam-quo":"^1.0.0","@emiplegiaqmnpm/iure-autem-nobis":"^1.0.0","@emiplegiaqmnpm/magni-doloremque-facilis":"^1.0.0","@emiplegiaqmnpm/minima-cumque-dolore":"^1.0.0","@emiplegiaqmnpm/porro-culpa-sint":"^1.0.0","@emiplegiaqmnpm/praesentium-ut-quam":"^1.0.0","@emiplegiaqmnpm/quas-vero-impedit":"^1.0.0","@emiplegiaqmnpm/reiciendis-sint-iusto":"^1.0.0","@emiplegiaqmnpm/repudiandae-dolorem-facere":"^1.0.0","@emiplegiaqmnpm/sit-nisi-praesentium":"^1.0.0","@emiplegiaqmnpm/ut-cum-libero":"^1.0.0","@lambrioanpm/odio-nulla-recusandae":"^1.0.0","@lambrioanpm/odit-suscipit-rem":"^1.0.0","@odczynflnpm/alias-aperiam-accusamus":"^1.0.0"},"keywords":["es6","ava","URL","accessibility","TypeBox","output","sorted","harmony","tape","es-abstract","buffers","error","colors","qs","number","Map","web","es2015","chinese","wget","bind","walking","cmd","isConcatSpreadable","gestures","valid","symbol","random","schema","banner","Rx","Uint16Array","starter","Array.prototype.flatMap","ECMAScript 2015","concat","positive","invariant","events","ES5","limit","internal slot","match","plugin","auth","which","ES2022","quote","Array","deepcopy","settings","tostringtag","throat","yaml","sigterm","exit-code","Microsoft","module","immer","make","react pose","reuse","spinners","styles","estree","node","fetch","values","ES7","getPrototypeOf","throttle","Promise","validation","windows","json","typedarray","css-in-js","proto","setPrototypeOf","ECMAScript 6","flatMap","ECMAScript 2019","dotenv","args","mocha","every","ArrayBuffer.prototype.slice","error-handling","channel","define","Observable","fp","has","package manager","slot","mimetypes","compiler","color","zod","BigUint64Array","process","middleware","ECMAScript 7","Set","compile less","name","argument","defineProperty","debugger","minimal","package","Object.fromEntries","serialization","package.json","jasmine","folder","website",".env","es-shim API","exe","spawn","react-hook-form","Iterator","AsyncIterator","queueMicrotask","push","signals","efficient","validator","symbols","eslintplugin","_.extend","Array.prototype.includes","Float32Array","input","cjk","protobuf","emoji","eslint","mobile","guid","fastify","sigint","styled-components","stream","columns","readable","fast","extend","urls","editor","get","performance","symlink","worker","typedarrays","Push","Function.prototype.name","phone","streams","TypedArray","full","trimLeft","YAML","sanitize","telephone","concurrency","classnames","Uint8Array","parents","inference","side","ender","ECMAScript 2022","ECMAScript 5","busy","speed","coercible","BigInt64Array","ES2018","hardlinks","rate","some","tc39","js","extra","extension","superagent","Int32Array","karma","streams2","ajax","listeners","write","less mixins","https","uuid","deep-copy","toArray","generics","fast-deep-clone","buffer","ES2015","es2017","let","toobject","TypeScript","l10n","private","fsevents","compare","redux-toolkit","a11y","exec","time","json-schema-validator","reducer","css","length","check","last","0","linux","argv","loading","map","shrinkwrap","WebSocket","jest","lazy","pyyaml","validate","equal","sort","assertion","wrap","private data","cors","setImmediate","visual","nope","xdg-open","test","jQuery","wordbreak","open","Uint8ClampedArray","@@toStringTag","resolve","Reflect.getPrototypeOf","prop","eventEmitter","ReactiveX","Object.keys","includes","connect","less compiler","ES3","move","$.extend","default","executable","URLSearchParams","Object.is","ECMAScript 2021","ArrayBuffer#slice","ReactiveExtensions","user-streams","setter","configurable","description","set","linewrap","browser","dataView","reduce","japanese","file system","Int8Array","JSON","functional","date","delete","interrupts","dataview","popmotion","figlet","equality","symlinks","Streams","characters","ECMAScript 3","accessor","performant","crypt","zero","promise","parse","apollo","point-free","3d","rm -rf","installer","libphonenumber","chromium","rm","dependencies","ECMAScript 2016","remove","descriptor","fixed-width","electron","ES2020","tools","formatting","graphql","runtime","three","testing","less css","iteration","xhr","redact","es7","hooks","shell","util","eslint-plugin","asserts","look-up","descriptors","fast-deep-copy","regular","make dir","install","moment","internal","WebSockets","RFC-6455","metadata","option","xterm","dom","find","classes","lru","getintrinsic","task","trimEnd","findLast","framer","dayjs","express","ES2016","RegExp.prototype.flags","ECMAScript 2023","react","chai","collection.es6","idle","curried","find-up","fastcopy","batch","watch","curl","omit","fast-clone","Object.defineProperty","gradients css","Array.prototype.findLast","WeakMap","__proto__","ansi","look","Observables","ramda","weakmap","hash","enumerable","filter","recursive","utilities","awesomesauce","diff","structuredClone","postcss-plugin","ecmascript","hasOwn","pipe","ArrayBuffer","transpiler","vest","status","Underscore","-0","value","sameValueZero","react-hooks","log","utils","getter","mkdirp","regular expression","autoprefixer","gdpr","ESnext","stateless","tacit","es5","const","byteOffset","sham","offset","config","JSON-Schema","contains","app","require","watchFile","spec","regex","ts","rmdir","StyleSheet","cache","safe","deterministic","rfc4122","wait","es2016","typeerror","consume","serializer","parser","WeakSet","ECMAScript 2020","negative zero","entries","ES2021","helpers","findLastIndex","bootstrap css","Array.prototype.flat","regular expressions","ponyfill","Array.prototype.contains","fullwidth","take","typescript","xdg","form","immutable","Array.prototype.findLastIndex","styleguide","tslib","request","art","Float64Array","irq","callbound","call","CSS","data","css less","ECMAScript 2018","ajv","HyBi","matches","pure","ascii","watching","text","jsdiff","sharedarraybuffer","findup","jwt","sequence","negative","term","babel-core","Object.assign","xss","uninstall","logger","password","iterate","es-shims","stringify","korean","link","pose","react-testing-library","lockfile","logging","forEach","api","rapid","debug","polyfill","launch","from","id","picomatch","promises","emit","matchAll","robust","ES2017","fs","protocol-buffers","scheme-validation","function","real-time","shim","environment","command-line","full-width","less.js","hookform","mkdirs","arraybuffer","es2018","prefix","patch","browserslist","Uint32Array","escape","spinner","Stream","javascript","limited","workspace:*","operating-system","once","util.inspect","es8","touch","create","optimist","query","rm -fr","byte","terminal"],"repository":{"type":"git","url":"git+https://github.com/emiplegiaqmnpm/quaerat-totam-pariatur.git"},"homepage":"https://github.com/emiplegiaqmnpm/quaerat-totam-pariatur/#readme","bugs":{"url":"https://github.com/emiplegiaqmnpm/quaerat-totam-pariatur/issues"},"packageManager":"yarn@4.1.1","_id":"@emiplegiaqmnpm/quaerat-totam-pariatur@1.0.0","gitHead":"5dda3dcb773fa277e28ff8fd93055ebfdb1defb1","_nodeVersion":"20.12.2","_npmVersion":"10.5.0","dist":{"integrity":"sha512-rlpC6xiz4Dksa+GAP5E7IhCjI3fmjNnQc9TgK5QSn2YmO+aRJ9Xj/JVlVdDiUXbyDMGvduJfFm9zBPKPm0uadw==","shasum":"2eec0796effa1314db0b1caa35b731de4bef538a","tarball":"https://registry.npmjs.org/@emiplegiaqmnpm/quaerat-totam-pariatur/-/quaerat-totam-pariatur-1.0.0.tgz","fileCount":10,"unpackedSize":21001,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGbwvEBIo3REooNbIjKOVmx3MqLkZojVe0Dzb4g96n+fAiEA9fANsB4cUs7HJSmyNgtuxKbJoUhWGIaDlSb+zWKfm14="}]},"_npmUser":{"name":"hn413381","email":"hn413381@gmail.com"},"directories":{},"maintainers":[{"name":"hn413381","email":"hn413381@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quaerat-totam-pariatur_1.0.0_1714027447389_0.7592104796114061"},"_hasShrinkwrap":false}},"time":{"created":"2024-04-25T06:44:07.310Z","1.0.0":"2024-04-25T06:44:07.560Z","modified":"2024-04-25T06:44:07.846Z"},"maintainers":[{"name":"hn413381","email":"hn413381@gmail.com"}],"description":"![](https://img.shields.io/badge/Coverage-99%25-83A603.svg?color=black&prefix=$coverage$)","homepage":"https://github.com/emiplegiaqmnpm/quaerat-totam-pariatur/#readme","keywords":["es6","ava","URL","accessibility","TypeBox","output","sorted","harmony","tape","es-abstract","buffers","error","colors","qs","number","Map","web","es2015","chinese","wget","bind","walking","cmd","isConcatSpreadable","gestures","valid","symbol","random","schema","banner","Rx","Uint16Array","starter","Array.prototype.flatMap","ECMAScript 2015","concat","positive","invariant","events","ES5","limit","internal slot","match","plugin","auth","which","ES2022","quote","Array","deepcopy","settings","tostringtag","throat","yaml","sigterm","exit-code","Microsoft","module","immer","make","react pose","reuse","spinners","styles","estree","node","fetch","values","ES7","getPrototypeOf","throttle","Promise","validation","windows","json","typedarray","css-in-js","proto","setPrototypeOf","ECMAScript 6","flatMap","ECMAScript 2019","dotenv","args","mocha","every","ArrayBuffer.prototype.slice","error-handling","channel","define","Observable","fp","has","package manager","slot","mimetypes","compiler","color","zod","BigUint64Array","process","middleware","ECMAScript 7","Set","compile less","name","argument","defineProperty","debugger","minimal","package","Object.fromEntries","serialization","package.json","jasmine","folder","website",".env","es-shim API","exe","spawn","react-hook-form","Iterator","AsyncIterator","queueMicrotask","push","signals","efficient","validator","symbols","eslintplugin","_.extend","Array.prototype.includes","Float32Array","input","cjk","protobuf","emoji","eslint","mobile","guid","fastify","sigint","styled-components","stream","columns","readable","fast","extend","urls","editor","get","performance","symlink","worker","typedarrays","Push","Function.prototype.name","phone","streams","TypedArray","full","trimLeft","YAML","sanitize","telephone","concurrency","classnames","Uint8Array","parents","inference","side","ender","ECMAScript 2022","ECMAScript 5","busy","speed","coercible","BigInt64Array","ES2018","hardlinks","rate","some","tc39","js","extra","extension","superagent","Int32Array","karma","streams2","ajax","listeners","write","less mixins","https","uuid","deep-copy","toArray","generics","fast-deep-clone","buffer","ES2015","es2017","let","toobject","TypeScript","l10n","private","fsevents","compare","redux-toolkit","a11y","exec","time","json-schema-validator","reducer","css","length","check","last","0","linux","argv","loading","map","shrinkwrap","WebSocket","jest","lazy","pyyaml","validate","equal","sort","assertion","wrap","private data","cors","setImmediate","visual","nope","xdg-open","test","jQuery","wordbreak","open","Uint8ClampedArray","@@toStringTag","resolve","Reflect.getPrototypeOf","prop","eventEmitter","ReactiveX","Object.keys","includes","connect","less compiler","ES3","move","$.extend","default","executable","URLSearchParams","Object.is","ECMAScript 2021","ArrayBuffer#slice","ReactiveExtensions","user-streams","setter","configurable","description","set","linewrap","browser","dataView","reduce","japanese","file system","Int8Array","JSON","functional","date","delete","interrupts","dataview","popmotion","figlet","equality","symlinks","Streams","characters","ECMAScript 3","accessor","performant","crypt","zero","promise","parse","apollo","point-free","3d","rm -rf","installer","libphonenumber","chromium","rm","dependencies","ECMAScript 2016","remove","descriptor","fixed-width","electron","ES2020","tools","formatting","graphql","runtime","three","testing","less css","iteration","xhr","redact","es7","hooks","shell","util","eslint-plugin","asserts","look-up","descriptors","fast-deep-copy","regular","make dir","install","moment","internal","WebSockets","RFC-6455","metadata","option","xterm","dom","find","classes","lru","getintrinsic","task","trimEnd","findLast","framer","dayjs","express","ES2016","RegExp.prototype.flags","ECMAScript 2023","react","chai","collection.es6","idle","curried","find-up","fastcopy","batch","watch","curl","omit","fast-clone","Object.defineProperty","gradients css","Array.prototype.findLast","WeakMap","__proto__","ansi","look","Observables","ramda","weakmap","hash","enumerable","filter","recursive","utilities","awesomesauce","diff","structuredClone","postcss-plugin","ecmascript","hasOwn","pipe","ArrayBuffer","transpiler","vest","status","Underscore","-0","value","sameValueZero","react-hooks","log","utils","getter","mkdirp","regular expression","autoprefixer","gdpr","ESnext","stateless","tacit","es5","const","byteOffset","sham","offset","config","JSON-Schema","contains","app","require","watchFile","spec","regex","ts","rmdir","StyleSheet","cache","safe","deterministic","rfc4122","wait","es2016","typeerror","consume","serializer","parser","WeakSet","ECMAScript 2020","negative zero","entries","ES2021","helpers","findLastIndex","bootstrap css","Array.prototype.flat","regular expressions","ponyfill","Array.prototype.contains","fullwidth","take","typescript","xdg","form","immutable","Array.prototype.findLastIndex","styleguide","tslib","request","art","Float64Array","irq","callbound","call","CSS","data","css less","ECMAScript 2018","ajv","HyBi","matches","pure","ascii","watching","text","jsdiff","sharedarraybuffer","findup","jwt","sequence","negative","term","babel-core","Object.assign","xss","uninstall","logger","password","iterate","es-shims","stringify","korean","link","pose","react-testing-library","lockfile","logging","forEach","api","rapid","debug","polyfill","launch","from","id","picomatch","promises","emit","matchAll","robust","ES2017","fs","protocol-buffers","scheme-validation","function","real-time","shim","environment","command-line","full-width","less.js","hookform","mkdirs","arraybuffer","es2018","prefix","patch","browserslist","Uint32Array","escape","spinner","Stream","javascript","limited","workspace:*","operating-system","once","util.inspect","es8","touch","create","optimist","query","rm -fr","byte","terminal"],"repository":{"type":"git","url":"git+https://github.com/emiplegiaqmnpm/quaerat-totam-pariatur.git"},"author":{"name":"emiplegiaqM"},"bugs":{"url":"https://github.com/emiplegiaqmnpm/quaerat-totam-pariatur/issues"},"license":"MIT","readme":"# Simple Regex Builder\n\n![](https://img.shields.io/badge/Coverage-99%25-83A603.svg?color=black&prefix=$coverage$)\n\nA human-friendly regex builder.\n\n## Installation\n\n```sh\nnpm i @emiplegiaqmnpm/quaerat-totam-pariatur\n```\n\n## Usage\n\n### Importing\n\n#### ES modules\n\n```typescript\nimport { REGEX, SimpleRegexBuilder } from '@emiplegiaqmnpm/quaerat-totam-pariatur';\n```\n\n#### CommonJS modules\n\n```javascript\nconst { REGEX, SimpleRegexBuilder} = require('@emiplegiaqmnpm/quaerat-totam-pariatur');\n```\n\n### SimpleRegexBuilder\n\nA SimpleRegexBuilder is a mutable builder object.\n\n```javascript\nconst r = new SimpleRegexBuilder().global().ignoreCase();\nr.startsWith('a')\n    .add(REGEX.BETWEEN_N_AND_M(1, 3, REGEX.ANY_WHITESPACE))\n    .endsWith('b');\nconsole.log(r.toString());\n// /^a\\s{1,3}b$/gi\n```\n\nThe regex object's sequence can be manipulated with the `startsWith`, `endsWith`, `add` and `followedBy`.\n\nFor convenience, the `add` and `followedBy` methods are synonymous.\n\n`end` is the equivalent of `endsWith('')`.\n\nThe regex modifiers can be manipulated with `global`, `ignoreCase`, `multiline` and `unicode`, which all receive a boolean parameter that defaults to `true`.\n\n*NOTE: The `sticky` modifier and `lastIndex` property of `RegExp` don't really make sense for a builder, if you need that functionality just `build` a `RegExp` object as described below and use that instead.*\n\nTo reuse a partially developed builder, provide it as the argument to a new object's constructor, or use the `clone` method directly:\n\n```javascript\nconst base = new SimpleRegexBuilder().startsWith('abc');\n\nconst caseInsensitiveMatcher = new SimpleRegexBuilder(base).ignoreCase();\nconsole.log(caseInsensitiveMatcher.toString());\n// /^abc/i\n\nconst globalMatcher = base.clone().global();\nconsole.log(globalMatcher.toString());\n// /^abc/g\n```\n\nBuilding a `RegExp` object is done with either of the synonymous `build` or `toRegExp` methods:\n\n```javascript\nconst r = new SimpleRegexBuilder().add(\"rain\").build();\nconst s = new SimpleRegexBuilder().add(\"spain\").toRegExp();\n```\n\nFor convenience, the `RegExp` class's `exec`, `test` and `toString` methods can be called directly on the `SimpleRegexBuilder` itself:\n\n```javascript\nconst r = new SimpleRegexBuilder().add(\"ain\");\nconsole.log(r.test('The rain in Spain falls mainly on the plain.'));\n// true\nconsole.log(r.exec('The rain in Spain falls mainly on the plain.'));\n// [ 'ain', index: 5, input: 'The rain in Spain falls mainly on the plain.', groups: undefined ]\n```\n\n### REGEX\n\nThe `REGEX` object includes both constants and functions that accept strings, `RegExp` and `SimpleRegexBuilder` objects.\n\nThe `REGEX` object is a set of key/value pairs, where some of the values are strings and some of them functions.\n\n```javascript\nconsole.log(REGEX.ANY_CHARACTER);\n// \".\"\nconsole.log(REGEX.CHARACTERS_IN_SET(\"a-z0-9\"));\n// \"[a-z0-9]\"\n```\n\n#### Brackets\n\n| Key | Value | Description |\n| --- | ------ | ----------- |\n| CHARACTERS_IN_SET | `(\"abc\") => \"[abc]\"` | Find any character between the brackets |\n| CHARACTERS_NOT_IN_SET | `(\"abc\") => \"[^abc]\"` | Find any character NOT between the brackets |\n| IN_SET | `(\"abc\",\"d[ef]*\") => \"(abc\\|d[ef]*)\"` | Find any of the alternatives specified |\n\n#### Metacharacters\n\n| Key | Value | Description |\n| --- | ------ | ----------- |\n| ANY_CHARACTER or ANY | `.` | Find a single character, except newline or line terminator |\n| WORD_CHARACTER or WORD | `\\w` | Find any word character, equivalent to `[a-zA-Z_0-9]` |\n| NON_WORD_CHARACTER or NON_WORD | `\\W` | Find a non-word character, equivalent to `[^a-zA-Z_0-9]` |\n| DIGIT | `\\d` | Find a digit |\n| NON_DIGIT | `\\D` | Find a non-digit character |\n| WHITESPACE | `\\s` | Find a whitespace character |\n| NON_WHITESPACE | `\\S` | Find a non-whitespace character |\n| MATCH_WORD_BEGINNING_WITH | `(\"word\") => \"\\bword\"` | Find a match at the beginning of a word |\n| MATCH_WORD_ENDING_WITH | `(\"word\") => \"word\\b\"` | Find a match at the end of a word |\n| MATCH_WORD_BEGINNING_AND_ENDING_WITH | `(\"word\") => \"\\bword\\b\"` | Find a match for the whole word |\n| MATCH_WORD_NOT_BEGINNING_WITH | `(\"word\") => \"\\Bword\"` | Find a match for the word, but not if it's at the beginning of a word |\n| MATCH_WORD_NOT_ENDING_WITH | `(\"word\") => \"word\\B\"` | Find a match for the word, but not if it's at the end of a word |\n| MATCH_WORD_NOT_BEGINNING_OR_ENDING_WITH | `(\"word\") => \"\\Bword\\B\"` | Find a match for the word, but not if it's at the beginning or end of a word |\n| NULL_CHARACTER or NULL | `\\0` | Find a NULL character |\n| NEW_LINE | `\\n` | Find a new line character |\n| FORM_FEED | `\\f` | Find a form feed character |\n| CARRIAGE_RETURN | `\\r` | Find a carriage return character |\n| TAB | `\\t` | Find a tab character |\n| VERTICAL_TAB | `\\v` | Find a vertical tab character |\n| OCTAL_NUMBER or OCT | `(\"17\") => \"\\17\"` | Find the character specified by the given octal number |\n| HEXADECIMAL_NUMBER or HEX_NUMBER or HEX | `(\"1a\") => \"\\x1a\"` | Find the character specified by the given hexadecimal number |\n| UNICODE_CHARACTER or UNICODE | `(\"1F1EE\", \"1F1F1\") => \"\\u{1F1EE}\\u{1F1F1}\"` | Find the Unicode character specified by a given hexadecimal number / numbers<br>*WARNING: the unicode modifier must be provided in order for this to match* |\n\n#### Quantifiers\n\nQuantifier methods accept regex in the form of strings, `RegExp` objects and `SimpleRegexBuilder` objects.\n\nIf the length of the given argument is greater than 1 then it will be enclosed in brackets, eg. `(\"n\") => \"n*\"` but `(\"abc\") => \"(abc)*\"`.\n\n| Key | Value | Description |\n| --- | ------ | ----------- |\n| ONE_OR_MORE or AT_LEAST_ONE | `(\"n\") => \"n+\"`, | Matches any string that contains at least one n |\n| ZERO_OR_MORE | `(\"n\") => \"n*\"` | Matches any string that contains zero or more occurrences of n |\n| ZERO_OR_ONE or OPTIONAL | `(\"n\") => \"n?\"` | Matches any string that contains zero or one occurrences of n |\n| EXACTLY_X or EXACTLY_N or EXACTLY | `(2, \"n\") => \"n{3}\"` | Matches any string that contains a sequence of X n's |\n| BETWEEN_X_AND_Y or BETWEEN_N_AND_M or BETWEEN: `(1, 3, \"n\") => \"n{1,3}\"` | Matches any string that contains a sequence of X to Y n's |\n| AT_LEAST_X or AT_LEAST_N or AT_LEAST | `(1, \"n\") => \"n{1,}\"` | Matches any string that contains a sequence of at least X n's |\n| IS_FOLLOWED_BY or FOLLOWED_BY | `(\"\\s+term\") => \"(?=\\s+term)\"` | Matches any string that is followed by a specific string n |\n| IS_NOT_FOLLOWED_BY or NOT_FOLLOWED_BY | `(\"\\s+term\") => \"(?!\\s+term)\"` | Matches any string that is followed by a specific string n |\n\n## License\n\n[MIT](./LICENSE)\n\n## ALL CONTRIBUTIONS AND FEEDBACK WELCOME\n","readmeFilename":"README.md"}