├── .github ├── ISSUE_TEMPLATE │ ├── Bug_report.md │ ├── Documentation.md │ └── Feature_request.md ├── PULL_REQUEST_TEMPLATE.md └── workflows │ └── main.yml ├── .gitignore ├── .vscode └── settings.json ├── CHANGELOG.md ├── LICENSE ├── README.md ├── docs ├── _config.yml ├── index.md └── modules │ ├── Char.ts.md │ ├── Integer.ts.md │ ├── Negative.ts.md │ ├── NegativeInteger.ts.md │ ├── NonEmptyString.ts.md │ ├── NonNegative.ts.md │ ├── NonNegativeInteger.ts.md │ ├── NonPositive.ts.md │ ├── NonPositiveInteger.ts.md │ ├── NonZero.ts.md │ ├── NonZeroInteger.ts.md │ ├── Positive.ts.md │ ├── PositiveInteger.ts.md │ ├── index.md │ └── index.ts.md ├── jest.config.js ├── package.json ├── src ├── Char.ts ├── Integer.ts ├── Negative.ts ├── NegativeInteger.ts ├── NonEmptyString.ts ├── NonNegative.ts ├── NonNegativeInteger.ts ├── NonPositive.ts ├── NonPositiveInteger.ts ├── NonZero.ts ├── NonZeroInteger.ts ├── Positive.ts ├── PositiveInteger.ts └── index.ts ├── test ├── Char.ts ├── Integer.ts ├── Negative.ts ├── NegativeInteger.ts ├── NonEmptyString.ts ├── NonNegative.ts ├── NonNegativeInteger.ts ├── NonPositive.ts ├── NonPositiveInteger.ts ├── NonZero.ts ├── NonZeroInteger.ts ├── Positive.ts ├── PositiveInteger.ts ├── index.ts └── tsconfig.json ├── tsconfig.build-es6.json ├── tsconfig.build.json ├── tsconfig.json ├── tslint.json └── typings-checker ├── index.ts └── tsconfig.json /.github/ISSUE_TEMPLATE/Bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gcanti/newtype-ts/HEAD/.github/ISSUE_TEMPLATE/Bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/Documentation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gcanti/newtype-ts/HEAD/.github/ISSUE_TEMPLATE/Documentation.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/Feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gcanti/newtype-ts/HEAD/.github/ISSUE_TEMPLATE/Feature_request.md -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gcanti/newtype-ts/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gcanti/newtype-ts/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.log 2 | node_modules 3 | lib 4 | es6 5 | dev 6 | coverage 7 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gcanti/newtype-ts/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gcanti/newtype-ts/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gcanti/newtype-ts/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gcanti/newtype-ts/HEAD/README.md -------------------------------------------------------------------------------- /docs/_config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gcanti/newtype-ts/HEAD/docs/_config.yml -------------------------------------------------------------------------------- /docs/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gcanti/newtype-ts/HEAD/docs/index.md -------------------------------------------------------------------------------- /docs/modules/Char.ts.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gcanti/newtype-ts/HEAD/docs/modules/Char.ts.md -------------------------------------------------------------------------------- /docs/modules/Integer.ts.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gcanti/newtype-ts/HEAD/docs/modules/Integer.ts.md -------------------------------------------------------------------------------- /docs/modules/Negative.ts.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gcanti/newtype-ts/HEAD/docs/modules/Negative.ts.md -------------------------------------------------------------------------------- /docs/modules/NegativeInteger.ts.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gcanti/newtype-ts/HEAD/docs/modules/NegativeInteger.ts.md -------------------------------------------------------------------------------- /docs/modules/NonEmptyString.ts.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gcanti/newtype-ts/HEAD/docs/modules/NonEmptyString.ts.md -------------------------------------------------------------------------------- /docs/modules/NonNegative.ts.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gcanti/newtype-ts/HEAD/docs/modules/NonNegative.ts.md -------------------------------------------------------------------------------- /docs/modules/NonNegativeInteger.ts.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gcanti/newtype-ts/HEAD/docs/modules/NonNegativeInteger.ts.md -------------------------------------------------------------------------------- /docs/modules/NonPositive.ts.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gcanti/newtype-ts/HEAD/docs/modules/NonPositive.ts.md -------------------------------------------------------------------------------- /docs/modules/NonPositiveInteger.ts.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gcanti/newtype-ts/HEAD/docs/modules/NonPositiveInteger.ts.md -------------------------------------------------------------------------------- /docs/modules/NonZero.ts.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gcanti/newtype-ts/HEAD/docs/modules/NonZero.ts.md -------------------------------------------------------------------------------- /docs/modules/NonZeroInteger.ts.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gcanti/newtype-ts/HEAD/docs/modules/NonZeroInteger.ts.md -------------------------------------------------------------------------------- /docs/modules/Positive.ts.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gcanti/newtype-ts/HEAD/docs/modules/Positive.ts.md -------------------------------------------------------------------------------- /docs/modules/PositiveInteger.ts.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gcanti/newtype-ts/HEAD/docs/modules/PositiveInteger.ts.md -------------------------------------------------------------------------------- /docs/modules/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gcanti/newtype-ts/HEAD/docs/modules/index.md -------------------------------------------------------------------------------- /docs/modules/index.ts.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gcanti/newtype-ts/HEAD/docs/modules/index.ts.md -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gcanti/newtype-ts/HEAD/jest.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gcanti/newtype-ts/HEAD/package.json -------------------------------------------------------------------------------- /src/Char.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gcanti/newtype-ts/HEAD/src/Char.ts -------------------------------------------------------------------------------- /src/Integer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gcanti/newtype-ts/HEAD/src/Integer.ts -------------------------------------------------------------------------------- /src/Negative.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gcanti/newtype-ts/HEAD/src/Negative.ts -------------------------------------------------------------------------------- /src/NegativeInteger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gcanti/newtype-ts/HEAD/src/NegativeInteger.ts -------------------------------------------------------------------------------- /src/NonEmptyString.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gcanti/newtype-ts/HEAD/src/NonEmptyString.ts -------------------------------------------------------------------------------- /src/NonNegative.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gcanti/newtype-ts/HEAD/src/NonNegative.ts -------------------------------------------------------------------------------- /src/NonNegativeInteger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gcanti/newtype-ts/HEAD/src/NonNegativeInteger.ts -------------------------------------------------------------------------------- /src/NonPositive.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gcanti/newtype-ts/HEAD/src/NonPositive.ts -------------------------------------------------------------------------------- /src/NonPositiveInteger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gcanti/newtype-ts/HEAD/src/NonPositiveInteger.ts -------------------------------------------------------------------------------- /src/NonZero.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gcanti/newtype-ts/HEAD/src/NonZero.ts -------------------------------------------------------------------------------- /src/NonZeroInteger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gcanti/newtype-ts/HEAD/src/NonZeroInteger.ts -------------------------------------------------------------------------------- /src/Positive.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gcanti/newtype-ts/HEAD/src/Positive.ts -------------------------------------------------------------------------------- /src/PositiveInteger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gcanti/newtype-ts/HEAD/src/PositiveInteger.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gcanti/newtype-ts/HEAD/src/index.ts -------------------------------------------------------------------------------- /test/Char.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gcanti/newtype-ts/HEAD/test/Char.ts -------------------------------------------------------------------------------- /test/Integer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gcanti/newtype-ts/HEAD/test/Integer.ts -------------------------------------------------------------------------------- /test/Negative.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gcanti/newtype-ts/HEAD/test/Negative.ts -------------------------------------------------------------------------------- /test/NegativeInteger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gcanti/newtype-ts/HEAD/test/NegativeInteger.ts -------------------------------------------------------------------------------- /test/NonEmptyString.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gcanti/newtype-ts/HEAD/test/NonEmptyString.ts -------------------------------------------------------------------------------- /test/NonNegative.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gcanti/newtype-ts/HEAD/test/NonNegative.ts -------------------------------------------------------------------------------- /test/NonNegativeInteger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gcanti/newtype-ts/HEAD/test/NonNegativeInteger.ts -------------------------------------------------------------------------------- /test/NonPositive.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gcanti/newtype-ts/HEAD/test/NonPositive.ts -------------------------------------------------------------------------------- /test/NonPositiveInteger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gcanti/newtype-ts/HEAD/test/NonPositiveInteger.ts -------------------------------------------------------------------------------- /test/NonZero.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gcanti/newtype-ts/HEAD/test/NonZero.ts -------------------------------------------------------------------------------- /test/NonZeroInteger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gcanti/newtype-ts/HEAD/test/NonZeroInteger.ts -------------------------------------------------------------------------------- /test/Positive.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gcanti/newtype-ts/HEAD/test/Positive.ts -------------------------------------------------------------------------------- /test/PositiveInteger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gcanti/newtype-ts/HEAD/test/PositiveInteger.ts -------------------------------------------------------------------------------- /test/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gcanti/newtype-ts/HEAD/test/index.ts -------------------------------------------------------------------------------- /test/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gcanti/newtype-ts/HEAD/test/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.build-es6.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gcanti/newtype-ts/HEAD/tsconfig.build-es6.json -------------------------------------------------------------------------------- /tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gcanti/newtype-ts/HEAD/tsconfig.build.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gcanti/newtype-ts/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gcanti/newtype-ts/HEAD/tslint.json -------------------------------------------------------------------------------- /typings-checker/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gcanti/newtype-ts/HEAD/typings-checker/index.ts -------------------------------------------------------------------------------- /typings-checker/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gcanti/newtype-ts/HEAD/typings-checker/tsconfig.json --------------------------------------------------------------------------------