├── .gitignore ├── .npmignore ├── .prettierignore ├── .prettierrc ├── .vscode └── settings.json ├── LICENSE ├── README.md ├── __tests__ └── sunny │ ├── basic-sync │ ├── $index.test.js │ ├── $root.test.js │ ├── $this.test.js │ ├── concat.test.js │ ├── condition.test.js │ ├── each.test.js │ ├── flatten.test.js │ ├── general.test.js │ ├── key-transform.test.js │ ├── let.test.js │ ├── lets.test.js │ ├── merge.test.js │ ├── optional.test.js │ ├── ternary.test.js │ └── unwrap.test.js │ ├── basic │ ├── $index.test.js │ ├── $root.2.test.js │ ├── $root.test.js │ ├── $this.test.js │ ├── concat.test.js │ ├── condition.test.js │ ├── each.test.js │ ├── flatten.test.js │ ├── for.test.js │ ├── general.test.js │ ├── key-transform.test.js │ ├── let.test.js │ ├── lets.test.js │ ├── merge.test.js │ ├── optional.test.js │ ├── ternary.test.js │ └── unwrap.test.js │ ├── combined-sync │ ├── each-let.test.js │ └── each-template.js │ ├── combined │ ├── each-let.test.js │ └── each-template.test.js │ └── common │ └── key-transform.common.js ├── browser.js ├── index.js ├── index.ts ├── jest.config.js ├── package.json ├── src ├── array-executors │ ├── array-executor.ts │ ├── conditional.ts │ └── index.ts ├── common.ts ├── index.ts ├── internal.ts ├── key-executors │ ├── concat.ts │ ├── each.ts │ ├── flatten.ts │ ├── for.ts │ ├── index.ts │ ├── key-executor.ts │ ├── let.ts │ ├── lets.ts │ ├── merge.ts │ ├── optional.ts │ └── unwrap.ts ├── select.ts ├── st.ts ├── transform.ts └── value-executors │ ├── include.ts │ ├── index.ts │ ├── template.ts │ ├── ternary.ts │ └── value-executor.ts ├── st.js ├── tsconfig.json └── tslint.json /.gitignore: -------------------------------------------------------------------------------- 1 | dist 2 | log* 3 | node_modules 4 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/.npmignore -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | dist 2 | *.json 3 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/.prettierrc -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/README.md -------------------------------------------------------------------------------- /__tests__/sunny/basic-sync/$index.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/__tests__/sunny/basic-sync/$index.test.js -------------------------------------------------------------------------------- /__tests__/sunny/basic-sync/$root.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/__tests__/sunny/basic-sync/$root.test.js -------------------------------------------------------------------------------- /__tests__/sunny/basic-sync/$this.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/__tests__/sunny/basic-sync/$this.test.js -------------------------------------------------------------------------------- /__tests__/sunny/basic-sync/concat.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/__tests__/sunny/basic-sync/concat.test.js -------------------------------------------------------------------------------- /__tests__/sunny/basic-sync/condition.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/__tests__/sunny/basic-sync/condition.test.js -------------------------------------------------------------------------------- /__tests__/sunny/basic-sync/each.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/__tests__/sunny/basic-sync/each.test.js -------------------------------------------------------------------------------- /__tests__/sunny/basic-sync/flatten.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/__tests__/sunny/basic-sync/flatten.test.js -------------------------------------------------------------------------------- /__tests__/sunny/basic-sync/general.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/__tests__/sunny/basic-sync/general.test.js -------------------------------------------------------------------------------- /__tests__/sunny/basic-sync/key-transform.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/__tests__/sunny/basic-sync/key-transform.test.js -------------------------------------------------------------------------------- /__tests__/sunny/basic-sync/let.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/__tests__/sunny/basic-sync/let.test.js -------------------------------------------------------------------------------- /__tests__/sunny/basic-sync/lets.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/__tests__/sunny/basic-sync/lets.test.js -------------------------------------------------------------------------------- /__tests__/sunny/basic-sync/merge.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/__tests__/sunny/basic-sync/merge.test.js -------------------------------------------------------------------------------- /__tests__/sunny/basic-sync/optional.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/__tests__/sunny/basic-sync/optional.test.js -------------------------------------------------------------------------------- /__tests__/sunny/basic-sync/ternary.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/__tests__/sunny/basic-sync/ternary.test.js -------------------------------------------------------------------------------- /__tests__/sunny/basic-sync/unwrap.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/__tests__/sunny/basic-sync/unwrap.test.js -------------------------------------------------------------------------------- /__tests__/sunny/basic/$index.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/__tests__/sunny/basic/$index.test.js -------------------------------------------------------------------------------- /__tests__/sunny/basic/$root.2.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/__tests__/sunny/basic/$root.2.test.js -------------------------------------------------------------------------------- /__tests__/sunny/basic/$root.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/__tests__/sunny/basic/$root.test.js -------------------------------------------------------------------------------- /__tests__/sunny/basic/$this.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/__tests__/sunny/basic/$this.test.js -------------------------------------------------------------------------------- /__tests__/sunny/basic/concat.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/__tests__/sunny/basic/concat.test.js -------------------------------------------------------------------------------- /__tests__/sunny/basic/condition.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/__tests__/sunny/basic/condition.test.js -------------------------------------------------------------------------------- /__tests__/sunny/basic/each.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/__tests__/sunny/basic/each.test.js -------------------------------------------------------------------------------- /__tests__/sunny/basic/flatten.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/__tests__/sunny/basic/flatten.test.js -------------------------------------------------------------------------------- /__tests__/sunny/basic/for.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/__tests__/sunny/basic/for.test.js -------------------------------------------------------------------------------- /__tests__/sunny/basic/general.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/__tests__/sunny/basic/general.test.js -------------------------------------------------------------------------------- /__tests__/sunny/basic/key-transform.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/__tests__/sunny/basic/key-transform.test.js -------------------------------------------------------------------------------- /__tests__/sunny/basic/let.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/__tests__/sunny/basic/let.test.js -------------------------------------------------------------------------------- /__tests__/sunny/basic/lets.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/__tests__/sunny/basic/lets.test.js -------------------------------------------------------------------------------- /__tests__/sunny/basic/merge.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/__tests__/sunny/basic/merge.test.js -------------------------------------------------------------------------------- /__tests__/sunny/basic/optional.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/__tests__/sunny/basic/optional.test.js -------------------------------------------------------------------------------- /__tests__/sunny/basic/ternary.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/__tests__/sunny/basic/ternary.test.js -------------------------------------------------------------------------------- /__tests__/sunny/basic/unwrap.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/__tests__/sunny/basic/unwrap.test.js -------------------------------------------------------------------------------- /__tests__/sunny/combined-sync/each-let.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/__tests__/sunny/combined-sync/each-let.test.js -------------------------------------------------------------------------------- /__tests__/sunny/combined-sync/each-template.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/__tests__/sunny/combined-sync/each-template.js -------------------------------------------------------------------------------- /__tests__/sunny/combined/each-let.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/__tests__/sunny/combined/each-let.test.js -------------------------------------------------------------------------------- /__tests__/sunny/combined/each-template.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/__tests__/sunny/combined/each-template.test.js -------------------------------------------------------------------------------- /__tests__/sunny/common/key-transform.common.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/__tests__/sunny/common/key-transform.common.js -------------------------------------------------------------------------------- /browser.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/browser.js -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/index.js -------------------------------------------------------------------------------- /index.ts: -------------------------------------------------------------------------------- 1 | export * from './dist'; 2 | -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/jest.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/package.json -------------------------------------------------------------------------------- /src/array-executors/array-executor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/src/array-executors/array-executor.ts -------------------------------------------------------------------------------- /src/array-executors/conditional.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/src/array-executors/conditional.ts -------------------------------------------------------------------------------- /src/array-executors/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/src/array-executors/index.ts -------------------------------------------------------------------------------- /src/common.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/src/common.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- 1 | export { SelectTransform } from './internal'; 2 | -------------------------------------------------------------------------------- /src/internal.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/src/internal.ts -------------------------------------------------------------------------------- /src/key-executors/concat.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/src/key-executors/concat.ts -------------------------------------------------------------------------------- /src/key-executors/each.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/src/key-executors/each.ts -------------------------------------------------------------------------------- /src/key-executors/flatten.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/src/key-executors/flatten.ts -------------------------------------------------------------------------------- /src/key-executors/for.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/src/key-executors/for.ts -------------------------------------------------------------------------------- /src/key-executors/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/src/key-executors/index.ts -------------------------------------------------------------------------------- /src/key-executors/key-executor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/src/key-executors/key-executor.ts -------------------------------------------------------------------------------- /src/key-executors/let.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/src/key-executors/let.ts -------------------------------------------------------------------------------- /src/key-executors/lets.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/src/key-executors/lets.ts -------------------------------------------------------------------------------- /src/key-executors/merge.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/src/key-executors/merge.ts -------------------------------------------------------------------------------- /src/key-executors/optional.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/src/key-executors/optional.ts -------------------------------------------------------------------------------- /src/key-executors/unwrap.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/src/key-executors/unwrap.ts -------------------------------------------------------------------------------- /src/select.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/src/select.ts -------------------------------------------------------------------------------- /src/st.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/src/st.ts -------------------------------------------------------------------------------- /src/transform.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/src/transform.ts -------------------------------------------------------------------------------- /src/value-executors/include.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/src/value-executors/include.ts -------------------------------------------------------------------------------- /src/value-executors/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/src/value-executors/index.ts -------------------------------------------------------------------------------- /src/value-executors/template.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/src/value-executors/template.ts -------------------------------------------------------------------------------- /src/value-executors/ternary.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/src/value-executors/ternary.ts -------------------------------------------------------------------------------- /src/value-executors/value-executor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/src/value-executors/value-executor.ts -------------------------------------------------------------------------------- /st.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/st.js -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JakubMifek/SelectTransform/HEAD/tslint.json --------------------------------------------------------------------------------