├── .eslintrc.js ├── .github └── workflows │ ├── codeql-analysis.yml │ └── main.yml ├── .gitignore ├── .husky ├── .gitignore ├── commit-msg └── pre-commit ├── .prettierrc ├── LICENSE ├── README.md ├── __Test__ ├── pokeAPISlice1.json ├── pokeAPISlice10.json └── pokeAPISlice151.json ├── commitlint.config.js ├── package.json ├── src ├── EasyFilter.spec.ts ├── EasyFilter.ts ├── filterCore │ ├── indexing │ │ ├── indexingConstants.ts │ │ ├── reduceIndexing.spec.ts │ │ └── reduceIndexing.ts │ ├── modeLogics │ │ ├── dateRangeMode.ts │ │ ├── notMode.ts │ │ ├── orMode.ts │ │ ├── quoteMode.ts │ │ ├── rangeMode.ts │ │ ├── tagMode.ts │ │ └── tagNullMode.ts │ ├── objectCrawlers │ │ ├── getTextCrawler.spec.ts │ │ ├── getTextCrawler.ts │ │ ├── tagCrawler.spec.ts │ │ └── tagCrawler.ts │ ├── shouldReturn.spec.ts │ └── shouldReturn.ts └── index.ts ├── tsconfig.build.json ├── tsconfig.json ├── tsconfig.nocomments.json └── yarn.lock /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Noriller/easy-filter/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.github/workflows/codeql-analysis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Noriller/easy-filter/HEAD/.github/workflows/codeql-analysis.yml -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Noriller/easy-filter/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Noriller/easy-filter/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/.gitignore: -------------------------------------------------------------------------------- 1 | _ 2 | -------------------------------------------------------------------------------- /.husky/commit-msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Noriller/easy-filter/HEAD/.husky/commit-msg -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . "$(dirname "$0")/_/husky.sh" 3 | 4 | yarn lint-staged 5 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Noriller/easy-filter/HEAD/.prettierrc -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Noriller/easy-filter/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Noriller/easy-filter/HEAD/README.md -------------------------------------------------------------------------------- /__Test__/pokeAPISlice1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Noriller/easy-filter/HEAD/__Test__/pokeAPISlice1.json -------------------------------------------------------------------------------- /__Test__/pokeAPISlice10.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Noriller/easy-filter/HEAD/__Test__/pokeAPISlice10.json -------------------------------------------------------------------------------- /__Test__/pokeAPISlice151.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Noriller/easy-filter/HEAD/__Test__/pokeAPISlice151.json -------------------------------------------------------------------------------- /commitlint.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { extends: ['@commitlint/config-conventional'] }; 2 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Noriller/easy-filter/HEAD/package.json -------------------------------------------------------------------------------- /src/EasyFilter.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Noriller/easy-filter/HEAD/src/EasyFilter.spec.ts -------------------------------------------------------------------------------- /src/EasyFilter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Noriller/easy-filter/HEAD/src/EasyFilter.ts -------------------------------------------------------------------------------- /src/filterCore/indexing/indexingConstants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Noriller/easy-filter/HEAD/src/filterCore/indexing/indexingConstants.ts -------------------------------------------------------------------------------- /src/filterCore/indexing/reduceIndexing.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Noriller/easy-filter/HEAD/src/filterCore/indexing/reduceIndexing.spec.ts -------------------------------------------------------------------------------- /src/filterCore/indexing/reduceIndexing.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Noriller/easy-filter/HEAD/src/filterCore/indexing/reduceIndexing.ts -------------------------------------------------------------------------------- /src/filterCore/modeLogics/dateRangeMode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Noriller/easy-filter/HEAD/src/filterCore/modeLogics/dateRangeMode.ts -------------------------------------------------------------------------------- /src/filterCore/modeLogics/notMode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Noriller/easy-filter/HEAD/src/filterCore/modeLogics/notMode.ts -------------------------------------------------------------------------------- /src/filterCore/modeLogics/orMode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Noriller/easy-filter/HEAD/src/filterCore/modeLogics/orMode.ts -------------------------------------------------------------------------------- /src/filterCore/modeLogics/quoteMode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Noriller/easy-filter/HEAD/src/filterCore/modeLogics/quoteMode.ts -------------------------------------------------------------------------------- /src/filterCore/modeLogics/rangeMode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Noriller/easy-filter/HEAD/src/filterCore/modeLogics/rangeMode.ts -------------------------------------------------------------------------------- /src/filterCore/modeLogics/tagMode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Noriller/easy-filter/HEAD/src/filterCore/modeLogics/tagMode.ts -------------------------------------------------------------------------------- /src/filterCore/modeLogics/tagNullMode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Noriller/easy-filter/HEAD/src/filterCore/modeLogics/tagNullMode.ts -------------------------------------------------------------------------------- /src/filterCore/objectCrawlers/getTextCrawler.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Noriller/easy-filter/HEAD/src/filterCore/objectCrawlers/getTextCrawler.spec.ts -------------------------------------------------------------------------------- /src/filterCore/objectCrawlers/getTextCrawler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Noriller/easy-filter/HEAD/src/filterCore/objectCrawlers/getTextCrawler.ts -------------------------------------------------------------------------------- /src/filterCore/objectCrawlers/tagCrawler.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Noriller/easy-filter/HEAD/src/filterCore/objectCrawlers/tagCrawler.spec.ts -------------------------------------------------------------------------------- /src/filterCore/objectCrawlers/tagCrawler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Noriller/easy-filter/HEAD/src/filterCore/objectCrawlers/tagCrawler.ts -------------------------------------------------------------------------------- /src/filterCore/shouldReturn.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Noriller/easy-filter/HEAD/src/filterCore/shouldReturn.spec.ts -------------------------------------------------------------------------------- /src/filterCore/shouldReturn.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Noriller/easy-filter/HEAD/src/filterCore/shouldReturn.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Noriller/easy-filter/HEAD/src/index.ts -------------------------------------------------------------------------------- /tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Noriller/easy-filter/HEAD/tsconfig.build.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Noriller/easy-filter/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.nocomments.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Noriller/easy-filter/HEAD/tsconfig.nocomments.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Noriller/easy-filter/HEAD/yarn.lock --------------------------------------------------------------------------------