Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A runtime type system for JavaScript with full Flow compatibility.

License

NotificationsYou must be signed in to change notification settings

gajus/flow-runtime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

A runtime type system for JavaScript with fullFlow compatibility.

See the website for more information.


Maintenance Status

This project is not very well maintained anymore due to its complexity and maintainers' burnout with Flow in general.

Statement from @jedwards1211

At the moment I need to keep this working in some production projects that use it for API input validation(using theoptInOnly option instead of blanket runtime validation everywhere).

However, I would like to eventually migrate those projects to either:

  • a library where I declare validators that I can extract value types from. I createdtypescript-validatorsfor this purpose in TypeScript
  • a very pared-down version ofbabel-plugin-flow-runtime that generates validators where requested from Flow type annotations,but only supports certain types and doesn't automatically inject runtime validation everywhere.

If I had the time I would even migrate my production projects to TypeScript though, so I'm not sure I'll continue to useFlow andflow-runtime heavily in the long term.

Contributing

This is alerna powered mono-repo, composed of the following projects:

Getting started

First clone the repo:

git clone https://github.com/gajus/flow-runtime.git

And bootstrap the project:

cd flow-runtimeyarnyarn bootstrapyarntest

About

A runtime type system for JavaScript with full Flow compatibility.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors25

Languages


[8]ページ先頭

©2009-2025 Movatter.jp