├── .github └── workflows │ └── publish.yml ├── .gitignore ├── .npmignore ├── README.md ├── __tests__ ├── integration │ ├── array-of-arrays-of-numbers.ts │ └── string-with-complex-json.ts ├── unit │ ├── array-chain.ts │ ├── chain.ts │ ├── predicate-chain.ts │ ├── presets.ts │ ├── result-builders.ts │ ├── shape-chain.ts │ └── tuple-chain.ts └── utils.ts ├── docs ├── _config.yaml ├── examples │ └── index.md └── index.md ├── jest.config.js ├── package.json ├── src ├── array-chain.ts ├── chain.ts ├── index.ts ├── predicate-chain.ts ├── presets.ts ├── result-builders.ts ├── shape-chain.ts ├── tuple-chain.ts └── types.ts └── tsconfig.json /.github/workflows/publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atomAltera/treat-like/HEAD/.github/workflows/publish.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .idea 2 | node_modules 3 | dist 4 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atomAltera/treat-like/HEAD/.npmignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atomAltera/treat-like/HEAD/README.md -------------------------------------------------------------------------------- /__tests__/integration/array-of-arrays-of-numbers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atomAltera/treat-like/HEAD/__tests__/integration/array-of-arrays-of-numbers.ts -------------------------------------------------------------------------------- /__tests__/integration/string-with-complex-json.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atomAltera/treat-like/HEAD/__tests__/integration/string-with-complex-json.ts -------------------------------------------------------------------------------- /__tests__/unit/array-chain.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atomAltera/treat-like/HEAD/__tests__/unit/array-chain.ts -------------------------------------------------------------------------------- /__tests__/unit/chain.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atomAltera/treat-like/HEAD/__tests__/unit/chain.ts -------------------------------------------------------------------------------- /__tests__/unit/predicate-chain.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atomAltera/treat-like/HEAD/__tests__/unit/predicate-chain.ts -------------------------------------------------------------------------------- /__tests__/unit/presets.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atomAltera/treat-like/HEAD/__tests__/unit/presets.ts -------------------------------------------------------------------------------- /__tests__/unit/result-builders.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atomAltera/treat-like/HEAD/__tests__/unit/result-builders.ts -------------------------------------------------------------------------------- /__tests__/unit/shape-chain.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atomAltera/treat-like/HEAD/__tests__/unit/shape-chain.ts -------------------------------------------------------------------------------- /__tests__/unit/tuple-chain.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atomAltera/treat-like/HEAD/__tests__/unit/tuple-chain.ts -------------------------------------------------------------------------------- /__tests__/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atomAltera/treat-like/HEAD/__tests__/utils.ts -------------------------------------------------------------------------------- /docs/_config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atomAltera/treat-like/HEAD/docs/_config.yaml -------------------------------------------------------------------------------- /docs/examples/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atomAltera/treat-like/HEAD/docs/examples/index.md -------------------------------------------------------------------------------- /docs/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atomAltera/treat-like/HEAD/docs/index.md -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atomAltera/treat-like/HEAD/jest.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atomAltera/treat-like/HEAD/package.json -------------------------------------------------------------------------------- /src/array-chain.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atomAltera/treat-like/HEAD/src/array-chain.ts -------------------------------------------------------------------------------- /src/chain.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atomAltera/treat-like/HEAD/src/chain.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atomAltera/treat-like/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/predicate-chain.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atomAltera/treat-like/HEAD/src/predicate-chain.ts -------------------------------------------------------------------------------- /src/presets.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atomAltera/treat-like/HEAD/src/presets.ts -------------------------------------------------------------------------------- /src/result-builders.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atomAltera/treat-like/HEAD/src/result-builders.ts -------------------------------------------------------------------------------- /src/shape-chain.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atomAltera/treat-like/HEAD/src/shape-chain.ts -------------------------------------------------------------------------------- /src/tuple-chain.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atomAltera/treat-like/HEAD/src/tuple-chain.ts -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atomAltera/treat-like/HEAD/src/types.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atomAltera/treat-like/HEAD/tsconfig.json --------------------------------------------------------------------------------