Mono repository for packages related to the runtime schema typescript transformer.
Package | Status | Description |
---|---|---|
@typescript-runtime-schema/lib | 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 | A collection of Typescript compiler utilities | |
@typescript-runtime-schema/expect-node-to-equal-source-code | Expect a node to equal some source code | |
@typescript-runtime-schema/expect-transformer-to-transform-program | Expect a set of source files to be transformed to using the provided transformer | |
@typescript-runtime-schema/expect-transformer-to-transform-source-code | Expect a transformer to produce certain transpiled code given some source code | |
@typescript-runtime-schema/factory | 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 | Get an arbitrary typescript node name | |
@typescript-runtime-schema/is | is function to type guard against given type. To be used in conjunction with @typescript-runtime-schema/transform |
|
@typescript-runtime-schema/javascript-template-tag | A javascript template tag for making sure the template string contains valid javascript | |
@typescript-runtime-schema/omit-deep | Recursively omit the specified keys from an object. Function signature inspired by ramda. | |
@typescript-runtime-schema/transform | Typescript transform which enriches source code with runtime schema validation | |
@typescript-runtime-schema/typescript-template-tag | A typescript template tag for making sure the template string contains valid typescript |
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.