Skip to content

Another typescript runtime utility for converting typescript types to schemas for runtime validation

License

Notifications You must be signed in to change notification settings

simonlovesyou/typescript-runtime-schema

Repository files navigation

typescript-runtime-schema

Mono repository for packages related to the runtime schema typescript transformer.

Packages

Package Status Description
@typescript-runtime-schema/lib version: 0.1.0 The main library of @typescript-runtime-schema providing the family of functionality revolving runtime type guarding/assertion of static types
@typescript-runtime-schema/compiler-utilities version: 0.1.0 A collection of Typescript compiler utilities
@typescript-runtime-schema/expect-node-to-equal-source-code version: 1.0.0 Expect a node to equal some source code
@typescript-runtime-schema/expect-transformer-to-transform-program version: 1.0.0 Expect a set of source files to be transformed to using the provided transformer
@typescript-runtime-schema/expect-transformer-to-transform-source-code version: 1.0.0 Expect a transformer to produce certain transpiled code given some source code
@typescript-runtime-schema/factory version: 1.0.0 A wrapper for the typescript factory that provide sensible currying to the API. Built specifically for the @typescript-runtime-schema, so your mileage may vary in terms of API coverage
@typescript-runtime-schema/get-arbitrary-node-name version: 1.0.0 Get an arbitrary typescript node name
@typescript-runtime-schema/is version: 0.1.0 is function to type guard against given type. To be used in conjunction with @typescript-runtime-schema/transform
@typescript-runtime-schema/javascript-template-tag version: 1.0.0 A javascript template tag for making sure the template string contains valid javascript
@typescript-runtime-schema/omit-deep version: 1.0.0 Recursively omit the specified keys from an object. Function signature inspired by ramda.
@typescript-runtime-schema/transform version: 0.1.0 Typescript transform which enriches source code with runtime schema validation
@typescript-runtime-schema/typescript-template-tag version: 0.1.0 A typescript template tag for making sure the template string contains valid typescript

License

MIT License Copyright (c) 2021 Simon Johansson

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice (including the next paragraph) shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Another typescript runtime utility for converting typescript types to schemas for runtime validation

Resources

License

Stars

Watchers

Forks

Packages

No packages published