├── .circleci └── config.yml ├── .gitignore ├── .npmignore ├── LICENSE ├── README.md ├── doc_assets ├── missing-property.png ├── unknown-property.png ├── wrong-literal-type.png └── wrong-type-in-array.png ├── package.json ├── src ├── index.ts ├── tuple.ts └── union.ts ├── test └── index.test.ts └── tsconfig.json /.circleci/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nwtgck/ts-json-validator/HEAD/.circleci/config.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | /dist 3 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nwtgck/ts-json-validator/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nwtgck/ts-json-validator/HEAD/README.md -------------------------------------------------------------------------------- /doc_assets/missing-property.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nwtgck/ts-json-validator/HEAD/doc_assets/missing-property.png -------------------------------------------------------------------------------- /doc_assets/unknown-property.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nwtgck/ts-json-validator/HEAD/doc_assets/unknown-property.png -------------------------------------------------------------------------------- /doc_assets/wrong-literal-type.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nwtgck/ts-json-validator/HEAD/doc_assets/wrong-literal-type.png -------------------------------------------------------------------------------- /doc_assets/wrong-type-in-array.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nwtgck/ts-json-validator/HEAD/doc_assets/wrong-type-in-array.png -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nwtgck/ts-json-validator/HEAD/package.json -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nwtgck/ts-json-validator/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/tuple.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nwtgck/ts-json-validator/HEAD/src/tuple.ts -------------------------------------------------------------------------------- /src/union.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nwtgck/ts-json-validator/HEAD/src/union.ts -------------------------------------------------------------------------------- /test/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nwtgck/ts-json-validator/HEAD/test/index.test.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nwtgck/ts-json-validator/HEAD/tsconfig.json --------------------------------------------------------------------------------