typit
TypeScript icon, indicating that this package has built-in type declarations

0.6.4 • Public • Published

typit

Fully recursive runtime typechecking.

Runtime type-checking is often useful when interacting with and/or building public APIs in which data might be recieved in a malformed manner. By using a runtime typechecking system, you can ensure that the data you are recieving and attempting to access (in a JSON format) is well-formed, defined, and correctly typed, removing the need to worry or 'check-on-access' the state and type of each key-value pair you attempt to use.

Find typit on NPM.

Installation

Install from NPM with

$ npm install --save typit

License

typit is made available under the GNU General Public License v3.

Copyright (C) 2019 Trevor Sears

Find the full license here.

Package Sidebar

Install

npm i typit

Weekly Downloads

8

Version

0.6.4

License

GPL-3.0-or-later

Unpacked Size

149 kB

Total Files

69

Last publish

Collaborators

  • t99